2025-03-15 00:00:01[LOG]Starting Cron Kill Existing Process : 227382 1741977001 2025-03-15 00:01:02[LOG]Starting Cron Kill Existing Process : 227839 1741977062 2025-03-15 00:02:01[LOG]Starting Cron Kill Existing Process : 228245 1741977121 2025-03-15 00:03:01[LOG]Starting Cron Kill Existing Process : 228670 1741977181 2025-03-15 00:04:03[LOG]Starting Cron Kill Existing Process : 229027 1741977243 2025-03-15 00:05:02[LOG]Starting Cron Kill Existing Process : 229454 1741977302 2025-03-15 00:06:02[LOG]Starting Cron Kill Existing Process : 229888 1741977362 2025-03-15 00:07:02[LOG]Starting Cron Kill Existing Process : 230314 1741977422 2025-03-15 00:08:02[LOG]Starting Cron Kill Existing Process : 230741 1741977482 2025-03-15 00:09:02[LOG]Starting Cron Kill Existing Process : 231149 1741977542 2025-03-15 00:10:02[LOG]Starting Cron Kill Existing Process : 231616 1741977602 2025-03-15 00:11:01[LOG]Starting Cron Kill Existing Process : 232010 1741977661 2025-03-15 00:12:02[LOG]Starting Cron Kill Existing Process : 232436 1741977722 2025-03-15 00:13:02[LOG]Starting Cron Kill Existing Process : 232861 1741977782 2025-03-15 00:14:02[LOG]Starting Cron Kill Existing Process : 233276 1741977842 2025-03-15 00:15:01[LOG]Starting Cron Kill Existing Process : 233675 1741977901 2025-03-15 00:16:02[LOG]Starting Cron Kill Existing Process : 234112 1741977962 2025-03-15 00:17:01[LOG]Starting Cron Kill Existing Process : 234514 1741978021 2025-03-15 00:18:02[LOG]Starting Cron Kill Existing Process : 234934 1741978082 2025-03-15 00:19:01[LOG]Starting Cron Kill Existing Process : 235345 1741978141 2025-03-15 00:20:02[LOG]Starting Cron Kill Existing Process : 235772 1741978202 2025-03-15 00:21:02[LOG]Starting Cron Kill Existing Process : 236194 1741978262 2025-03-15 00:22:02[LOG]Starting Cron Kill Existing Process : 236601 1741978322 2025-03-15 00:23:02[LOG]Starting Cron Kill Existing Process : 237024 1741978382 2025-03-15 00:24:02[LOG]Starting Cron Kill Existing Process : 237433 1741978442 2025-03-15 00:25:02[LOG]Starting Cron Kill Existing Process : 237821 1741978502 2025-03-15 00:26:01[LOG]Starting Cron Kill Existing Process : 238275 1741978561 2025-03-15 00:27:02[LOG]Starting Cron Kill Existing Process : 238680 1741978622 2025-03-15 00:28:01[LOG]Starting Cron Kill Existing Process : 239103 1741978681 2025-03-15 00:29:02[LOG]Starting Cron Kill Existing Process : 239508 1741978742 2025-03-15 00:30:02[LOG]Starting Cron Kill Existing Process : 239931 1741978802 2025-03-15 00:31:01[LOG]Starting Cron Kill Existing Process : 240357 1741978861 2025-03-15 00:32:02[LOG]Starting Cron Kill Existing Process : 240776 1741978922 2025-03-15 00:33:02[LOG]Starting Cron Kill Existing Process : 241197 1741978982 2025-03-15 00:34:02[LOG]Starting Cron Kill Existing Process : 241609 1741979042 2025-03-15 00:35:01[LOG]Starting Cron Kill Existing Process : 242015 1741979101 2025-03-15 00:36:02[LOG]Starting Cron Kill Existing Process : 242438 1741979162 2025-03-15 00:37:02[LOG]Starting Cron Kill Existing Process : 242825 1741979222 2025-03-15 00:38:01[LOG]Starting Cron Kill Existing Process : 243264 1741979281 2025-03-15 00:39:02[LOG]Starting Cron Kill Existing Process : 243680 1741979342 2025-03-15 00:40:02[LOG]Starting Cron Kill Existing Process : 244128 1741979402 2025-03-15 00:41:01[LOG]Starting Cron Kill Existing Process : 244571 1741979461 2025-03-15 00:42:03[LOG]Starting Cron Kill Existing Process : 244963 1741979523 2025-03-15 00:43:01[LOG]Starting Cron Kill Existing Process : 245398 1741979581 2025-03-15 00:44:02[LOG]Starting Cron Kill Existing Process : 245772 1741979642 2025-03-15 00:45:01[LOG]Starting Cron Kill Existing Process : 246226 1741979701 2025-03-15 00:46:02[LOG]Starting Cron Kill Existing Process : 246644 1741979762 2025-03-15 00:47:02[LOG]Starting Cron Kill Existing Process : 247030 1741979822 2025-03-15 00:48:02[LOG]Starting Cron Kill Existing Process : 247476 1741979882 2025-03-15 00:49:02[LOG]Starting Cron Kill Existing Process : 247893 1741979942 2025-03-15 00:50:02[LOG]Starting Cron Kill Existing Process : 248294 1741980002 2025-03-15 00:51:02[LOG]Starting Cron Kill Existing Process : 248742 1741980062 2025-03-15 00:52:02[LOG]Starting Cron Kill Existing Process : 249147 1741980122 2025-03-15 00:53:02[LOG]Starting Cron Kill Existing Process : 249561 1741980182 2025-03-15 00:54:02[LOG]Starting Cron Kill Existing Process : 249973 1741980242 2025-03-15 00:55:02[LOG]Starting Cron Kill Existing Process : 250406 1741980302 2025-03-15 00:56:01[LOG]Starting Cron Kill Existing Process : 250779 1741980361 2025-03-15 00:57:01[LOG]Starting Cron Kill Existing Process : 251246 1741980421 2025-03-15 00:58:02[LOG]Starting Cron Kill Existing Process : 251668 1741980482 2025-03-15 00:59:02[LOG]Starting Cron Kill Existing Process : 252072 1741980542 2025-03-15 01:00:02[LOG]Starting Cron Kill Existing Process : 252486 1741980602 2025-03-15 01:01:01[LOG]Starting Cron Kill Existing Process : 252940 1741980661 2025-03-15 01:02:02[LOG]Starting Cron Kill Existing Process : 253355 1741980722 2025-03-15 01:03:01[LOG]Starting Cron Kill Existing Process : 253782 1741980781 2025-03-15 01:04:02[LOG]Starting Cron Kill Existing Process : 254190 1741980842 2025-03-15 01:05:01[LOG]Starting Cron Kill Existing Process : 254596 1741980901 2025-03-15 01:06:02[LOG]Starting Cron Kill Existing Process : 255028 1741980962 2025-03-15 01:07:02[LOG]Starting Cron Kill Existing Process : 255433 1741981022 2025-03-15 01:08:02[LOG]Starting Cron Kill Existing Process : 255856 1741981082 2025-03-15 01:09:01[LOG]Starting Cron Kill Existing Process : 256267 1741981141 2025-03-15 01:10:02[LOG]Starting Cron Kill Existing Process : 256712 1741981202 2025-03-15 01:11:01[LOG]Starting Cron Kill Existing Process : 257121 1741981261 2025-03-15 01:12:02[LOG]Starting Cron Kill Existing Process : 257554 1741981322 2025-03-15 01:13:01[LOG]Starting Cron Kill Existing Process : 257971 1741981381 2025-03-15 01:14:02[LOG]Starting Cron Kill Existing Process : 258361 1741981442 2025-03-15 01:15:02[LOG]Starting Cron Kill Existing Process : 258746 1741981502 2025-03-15 01:16:02[LOG]Starting Cron Kill Existing Process : 259216 1741981562 2025-03-15 01:17:02[LOG]Starting Cron Kill Existing Process : 259615 1741981622 2025-03-15 01:18:04[LOG]Starting Cron Kill Existing Process : 260037 1741981684 2025-03-15 01:19:01[LOG]Starting Cron Kill Existing Process : 260451 1741981741 2025-03-15 01:20:02[LOG]Starting Cron Kill Existing Process : 260867 1741981802 2025-03-15 01:21:01[LOG]Starting Cron Kill Existing Process : 261267 1741981861 2025-03-15 01:22:02[LOG]Starting Cron Kill Existing Process : 261681 1741981922 2025-03-15 01:23:01[LOG]Starting Cron Kill Existing Process : 262125 1741981981 2025-03-15 01:24:02[LOG]Starting Cron Kill Existing Process : 262538 1741982042 2025-03-15 01:25:01[LOG]Starting Cron Kill Existing Process : 262955 1741982101 2025-03-15 01:26:02[LOG]Starting Cron Kill Existing Process : 263340 1741982162 2025-03-15 01:27:02[LOG]Starting Cron Kill Existing Process : 263791 1741982222 2025-03-15 01:28:01[LOG]Starting Cron Kill Existing Process : 264208 1741982281 2025-03-15 01:29:02[LOG]Starting Cron Kill Existing Process : 264623 1741982342 2025-03-15 01:30:01[LOG]Starting Cron Kill Existing Process : 265031 1741982401 2025-03-15 01:31:02[LOG]Starting Cron Kill Existing Process : 265429 1741982462 2025-03-15 01:32:01[LOG]Starting Cron Kill Existing Process : 265874 1741982521 2025-03-15 01:33:02[LOG]Starting Cron Kill Existing Process : 266261 1741982582 2025-03-15 01:34:01[LOG]Starting Cron Kill Existing Process : 266698 1741982641 2025-03-15 01:35:02[LOG]Starting Cron Kill Existing Process : 267113 1741982702 2025-03-15 01:36:02[LOG]Starting Cron Kill Existing Process : 267539 1741982762 2025-03-15 01:37:02[LOG]Starting Cron Kill Existing Process : 267958 1741982822 2025-03-15 01:38:02[LOG]Starting Cron Kill Existing Process : 268375 1741982882 2025-03-15 01:39:02[LOG]Starting Cron Kill Existing Process : 268783 1741982942 2025-03-15 01:40:01[LOG]Starting Cron Kill Existing Process : 269220 1741983001 2025-03-15 01:41:02[LOG]Starting Cron Kill Existing Process : 269659 1741983062 2025-03-15 01:42:02[LOG]Starting Cron Kill Existing Process : 270046 1741983122 2025-03-15 01:43:02[LOG]Starting Cron Kill Existing Process : 270470 1741983182 2025-03-15 01:44:02[LOG]Starting Cron Kill Existing Process : 270900 1741983242 2025-03-15 01:45:02[LOG]Starting Cron Kill Existing Process : 271311 1741983302 2025-03-15 01:46:02[LOG]Starting Cron Kill Existing Process : 271730 1741983362 2025-03-15 01:47:01[LOG]Starting Cron Kill Existing Process : 272147 1741983421 2025-03-15 01:48:02[LOG]Starting Cron Kill Existing Process : 272564 1741983482 2025-03-15 01:49:02[LOG]Starting Cron Kill Existing Process : 272985 1741983542 2025-03-15 01:50:02[LOG]Starting Cron Kill Existing Process : 273399 1741983602 2025-03-15 01:51:02[LOG]Starting Cron Kill Existing Process : 273811 1741983662 2025-03-15 01:52:02[LOG]Starting Cron Kill Existing Process : 274225 1741983722 2025-03-15 01:53:02[LOG]Starting Cron Kill Existing Process : 274645 1741983782 2025-03-15 01:54:02[LOG]Starting Cron Kill Existing Process : 275040 1741983842 2025-03-15 01:55:01[LOG]Starting Cron Kill Existing Process : 275473 1741983901 2025-03-15 01:56:02[LOG]Starting Cron Kill Existing Process : 275894 1741983962 2025-03-15 01:57:02[LOG]Starting Cron Kill Existing Process : 276304 1741984022 2025-03-15 01:58:02[LOG]Starting Cron Kill Existing Process : 276720 1741984082 2025-03-15 01:59:02[LOG]Starting Cron Kill Existing Process : 277103 1741984142 2025-03-15 02:00:03[LOG]Starting Cron Kill Existing Process : 277535 1741984203 2025-03-15 02:01:01[LOG]Starting Cron Kill Existing Process : 277983 1741984261 2025-03-15 02:02:02[LOG]Starting Cron Kill Existing Process : 278405 1741984322 2025-03-15 02:03:01[LOG]Starting Cron Kill Existing Process : 278813 1741984381 2025-03-15 02:04:02[LOG]Starting Cron Kill Existing Process : 279251 1741984442 2025-03-15 02:05:01[LOG]Starting Cron Kill Existing Process : 279667 1741984501 2025-03-15 02:06:02[LOG]Starting Cron Kill Existing Process : 280041 1741984562 2025-03-15 02:07:02[LOG]Starting Cron Kill Existing Process : 280491 1741984622 2025-03-15 02:08:01[LOG]Starting Cron Kill Existing Process : 280857 1741984681 2025-03-15 02:09:02[LOG]Starting Cron Kill Existing Process : 281311 1741984742 2025-03-15 02:10:02[LOG]Starting Cron Kill Existing Process : 281784 1741984802 2025-03-15 02:11:02[LOG]Starting Cron Kill Existing Process : 282174 1741984862 2025-03-15 02:12:01[LOG]Starting Cron Kill Existing Process : 284703 1741984921 2025-03-15 02:13:02[LOG]Starting Cron Kill Existing Process : 285116 1741984982 2025-03-15 02:14:01[LOG]Starting Cron Kill Existing Process : 285530 1741985041 2025-03-15 02:15:02[LOG]Starting Cron Kill Existing Process : 285933 1741985102 2025-03-15 02:16:01[LOG]Starting Cron Kill Existing Process : 286367 1741985161 2025-03-15 02:17:02[LOG]Starting Cron Kill Existing Process : 286763 1741985222 2025-03-15 02:18:02[LOG]Starting Cron Kill Existing Process : 287203 1741985282 2025-03-15 02:19:01[LOG]Starting Cron Kill Existing Process : 287615 1741985341 2025-03-15 02:20:02[LOG]Starting Cron Kill Existing Process : 288036 1741985402 2025-03-15 02:21:02[LOG]Starting Cron Kill Existing Process : 288455 1741985462 2025-03-15 02:22:02[LOG]Starting Cron Kill Existing Process : 288821 1741985522 2025-03-15 02:23:02[LOG]Starting Cron Kill Existing Process : 289266 1741985582 2025-03-15 02:24:02[LOG]Starting Cron Kill Existing Process : 289688 1741985642 2025-03-15 02:25:01[LOG]Starting Cron Kill Existing Process : 290122 1741985701 2025-03-15 02:26:03[LOG]Starting Cron Kill Existing Process : 290533 1741985763 2025-03-15 02:27:02[LOG]Starting Cron Kill Existing Process : 290957 1741985822 2025-03-15 02:28:02[LOG]Starting Cron Kill Existing Process : 291375 1741985882 2025-03-15 02:29:02[LOG]Starting Cron Kill Existing Process : 291798 1741985942 2025-03-15 02:30:03[LOG]Starting Cron Kill Existing Process : 292204 1741986003 2025-03-15 02:31:02[LOG]Starting Cron Kill Existing Process : 292634 1741986062 2025-03-15 02:32:01[LOG]Starting Cron Kill Existing Process : 293048 1741986121 2025-03-15 02:33:02[LOG]Starting Cron Kill Existing Process : 293478 1741986182 2025-03-15 02:34:02[LOG]Starting Cron Kill Existing Process : 293895 1741986242 2025-03-15 02:35:03[LOG]Starting Cron Kill Existing Process : 294301 1741986303 2025-03-15 02:36:02[LOG]Starting Cron Kill Existing Process : 294704 1741986362 2025-03-15 02:37:01[LOG]Starting Cron Kill Existing Process : 295130 1741986421 2025-03-15 02:38:02[LOG]Starting Cron Kill Existing Process : 295552 1741986482 2025-03-15 02:39:02[LOG]Starting Cron Kill Existing Process : 295973 1741986542 2025-03-15 02:40:01[LOG]Starting Cron Kill Existing Process : 296416 1741986601 2025-03-15 02:41:02[LOG]Starting Cron Kill Existing Process : 296841 1741986662 2025-03-15 02:42:01[LOG]Starting Cron Kill Existing Process : 299346 1741986721 2025-03-15 02:43:02[LOG]Starting Cron Kill Existing Process : 299753 1741986782 2025-03-15 02:44:01[LOG]Starting Cron Kill Existing Process : 300165 1741986841 2025-03-15 02:45:02[LOG]Starting Cron Kill Existing Process : 300579 1741986902 2025-03-15 02:46:01[LOG]Starting Cron Kill Existing Process : 300978 1741986961 2025-03-15 02:47:02[LOG]Starting Cron Kill Existing Process : 301374 1741987022 2025-03-15 02:48:02[LOG]Starting Cron Kill Existing Process : 301833 1741987082 2025-03-15 02:49:02[LOG]Starting Cron Kill Existing Process : 302240 1741987142 2025-03-15 02:50:02[LOG]Starting Cron Kill Existing Process : 302663 1741987202 2025-03-15 02:51:02[LOG]Starting Cron Kill Existing Process : 303085 1741987262 2025-03-15 02:52:02[LOG]Starting Cron Kill Existing Process : 303499 1741987322 2025-03-15 02:53:01[LOG]Starting Cron Kill Existing Process : 303913 1741987381 2025-03-15 02:54:02[LOG]Starting Cron Kill Existing Process : 304322 1741987442 2025-03-15 02:55:01[LOG]Starting Cron Kill Existing Process : 304727 1741987501 2025-03-15 02:56:02[LOG]Starting Cron Kill Existing Process : 305159 1741987562 2025-03-15 02:57:01[LOG]Starting Cron Kill Existing Process : 305559 1741987621 2025-03-15 02:58:02[LOG]Starting Cron Kill Existing Process : 305972 1741987682 2025-03-15 02:59:02[LOG]Starting Cron Kill Existing Process : 306398 1741987742 2025-03-15 03:00:01[LOG]Starting Cron Kill Existing Process : 306796 1741987801 2025-03-15 03:01:02[LOG]Starting Cron Kill Existing Process : 307253 1741987862 2025-03-15 03:02:01[LOG]Starting Cron Kill Existing Process : 307669 1741987921 2025-03-15 03:03:02[LOG]Starting Cron Kill Existing Process : 308094 1741987982 2025-03-15 03:04:01[LOG]Starting Cron Kill Existing Process : 308501 1741988041 2025-03-15 03:05:02[LOG]Starting Cron Kill Existing Process : 308910 1741988102 2025-03-15 03:06:01[LOG]Starting Cron Kill Existing Process : 309342 1741988161 2025-03-15 03:07:02[LOG]Starting Cron Kill Existing Process : 309745 1741988222 2025-03-15 03:08:01[LOG]Starting Cron Kill Existing Process : 310167 1741988281 2025-03-15 03:09:02[LOG]Starting Cron Kill Existing Process : 310585 1741988342 2025-03-15 03:10:02[LOG]Starting Cron Kill Existing Process : 311033 1741988402 2025-03-15 03:11:02[LOG]Starting Cron Kill Existing Process : 311526 1741988462 2025-03-15 03:12:03[LOG]Starting Cron Kill Existing Process : 313948 1741988523 2025-03-15 03:13:02[LOG]Starting Cron Kill Existing Process : 314370 1741988582 2025-03-15 03:14:03[LOG]Starting Cron Kill Existing Process : 314776 1741988643 2025-03-15 03:15:01[LOG]Starting Cron Kill Existing Process : 315192 1741988701 2025-03-15 03:16:02[LOG]Starting Cron Kill Existing Process : 315606 1741988762 2025-03-15 03:17:01[LOG]Starting Cron Kill Existing Process : 316027 1741988821 2025-03-15 03:18:02[LOG]Starting Cron Kill Existing Process : 316427 1741988882 2025-03-15 03:19:02[LOG]Starting Cron Kill Existing Process : 316849 1741988942 2025-03-15 03:20:02[LOG]Starting Cron Kill Existing Process : 317269 1741989002 2025-03-15 03:21:01[LOG]Starting Cron Kill Existing Process : 317692 1741989061 2025-03-15 03:22:02[LOG]Starting Cron Kill Existing Process : 318105 1741989122 2025-03-15 03:23:01[LOG]Starting Cron Kill Existing Process : 318508 1741989181 2025-03-15 03:24:02[LOG]Starting Cron Kill Existing Process : 318932 1741989242 2025-03-15 03:25:02[LOG]Starting Cron Kill Existing Process : 319356 1741989302 2025-03-15 03:26:02[LOG]Starting Cron Kill Existing Process : 319775 1741989362 2025-03-15 03:27:02[LOG]Starting Cron Kill Existing Process : 320189 1741989422 2025-03-15 03:28:02[LOG]Starting Cron Kill Existing Process : 320615 1741989482 2025-03-15 03:29:02[LOG]Starting Cron Kill Existing Process : 321022 1741989542 2025-03-15 03:30:02[LOG]Starting Cron Kill Existing Process : 321437 1741989602 2025-03-15 03:31:02[LOG]Starting Cron Kill Existing Process : 321862 1741989662 2025-03-15 03:32:01[LOG]Starting Cron Kill Existing Process : 322279 1741989721 2025-03-15 03:33:02[LOG]Starting Cron Kill Existing Process : 322678 1741989782 2025-03-15 03:34:02[LOG]Starting Cron Kill Existing Process : 323093 1741989842 2025-03-15 03:35:02[LOG]Starting Cron Kill Existing Process : 323451 1741989902 2025-03-15 03:36:02[LOG]Starting Cron Kill Existing Process : 323904 1741989962 2025-03-15 03:37:01[LOG]Starting Cron Kill Existing Process : 324329 1741990021 2025-03-15 03:38:02[LOG]Starting Cron Kill Existing Process : 324743 1741990082 2025-03-15 03:39:01[LOG]Starting Cron Kill Existing Process : 325155 1741990141 2025-03-15 03:40:02[LOG]Starting Cron Kill Existing Process : 325600 1741990202 2025-03-15 03:41:02[LOG]Starting Cron Kill Existing Process : 326081 1741990262 2025-03-15 03:42:02[LOG]Starting Cron Kill Existing Process : 328520 1741990322 2025-03-15 03:43:01[LOG]Starting Cron Kill Existing Process : 328937 1741990381 2025-03-15 03:44:02[LOG]Starting Cron Kill Existing Process : 329346 1741990442 2025-03-15 03:45:02[LOG]Starting Cron Kill Existing Process : 329755 1741990502 2025-03-15 03:46:02[LOG]Starting Cron Kill Existing Process : 330174 1741990562 2025-03-15 03:47:01[LOG]Starting Cron Kill Existing Process : 330592 1741990621 2025-03-15 03:48:02[LOG]Starting Cron Kill Existing Process : 330986 1741990682 2025-03-15 03:49:02[LOG]Starting Cron Kill Existing Process : 331391 1741990742 2025-03-15 03:50:03[LOG]Starting Cron Kill Existing Process : 331835 1741990803 2025-03-15 03:51:02[LOG]Starting Cron Kill Existing Process : 332256 1741990862 2025-03-15 03:52:01[LOG]Starting Cron Kill Existing Process : 332668 1741990921 2025-03-15 03:53:01[LOG]Starting Cron Kill Existing Process : 333084 1741990981 2025-03-15 03:54:02[LOG]Starting Cron Kill Existing Process : 333472 1741991042 2025-03-15 03:55:02[LOG]Starting Cron Kill Existing Process : 333924 1741991102 2025-03-15 03:56:01[LOG]Starting Cron Kill Existing Process : 334342 1741991161 2025-03-15 03:57:01[LOG]Starting Cron Kill Existing Process : 334721 1741991221 2025-03-15 03:58:02[LOG]Starting Cron Kill Existing Process : 335148 1741991282 2025-03-15 03:59:02[LOG]Starting Cron Kill Existing Process : 335569 1741991342 2025-03-15 04:00:02[LOG]Starting Cron Kill Existing Process : 335996 1741991402 2025-03-15 04:01:02[LOG]Starting Cron Kill Existing Process : 336426 1741991462 2025-03-15 04:02:01[LOG]Starting Cron Kill Existing Process : 336847 1741991521 2025-03-15 04:03:02[LOG]Starting Cron Kill Existing Process : 337267 1741991582 2025-03-15 04:04:01[LOG]Starting Cron Kill Existing Process : 337676 1741991641 2025-03-15 04:05:02[LOG]Starting Cron Kill Existing Process : 338084 1741991702 2025-03-15 04:06:02[LOG]Starting Cron Kill Existing Process : 338507 1741991762 2025-03-15 04:07:02[LOG]Starting Cron Kill Existing Process : 338922 1741991822 2025-03-15 04:08:02[LOG]Starting Cron Kill Existing Process : 339329 1741991882 2025-03-15 04:09:02[LOG]Starting Cron Kill Existing Process : 339743 1741991942 2025-03-15 04:10:02[LOG]Starting Cron Kill Existing Process : 340198 1741992002 2025-03-15 04:11:02[LOG]Starting Cron Kill Existing Process : 340680 1741992062 2025-03-15 04:12:01[LOG]Starting Cron Kill Existing Process : 343113 1741992121 2025-03-15 04:13:02[LOG]Starting Cron Kill Existing Process : 343523 1741992182 2025-03-15 04:14:02[LOG]Starting Cron Kill Existing Process : 343928 1741992242 2025-03-15 04:15:02[LOG]Starting Cron Kill Existing Process : 344337 1741992302 2025-03-15 04:16:02[LOG]Starting Cron Kill Existing Process : 344766 1741992362 2025-03-15 04:17:01[LOG]Starting Cron Kill Existing Process : 345122 1741992421 2025-03-15 04:18:02[LOG]Starting Cron Kill Existing Process : 345587 1741992482 2025-03-15 04:19:02[LOG]Starting Cron Kill Existing Process : 346009 1741992542 2025-03-15 04:20:02[LOG]Starting Cron Kill Existing Process : 346437 1741992602 2025-03-15 04:21:01[LOG]Starting Cron Kill Existing Process : 346858 1741992661 2025-03-15 04:22:02[LOG]Starting Cron Kill Existing Process : 347259 1741992722 2025-03-15 04:23:02[LOG]Starting Cron Kill Existing Process : 347693 1741992782 2025-03-15 04:24:02[LOG]Starting Cron Kill Existing Process : 348099 1741992842 2025-03-15 04:25:01[LOG]Starting Cron Kill Existing Process : 348503 1741992901 2025-03-15 04:26:02[LOG]Starting Cron Kill Existing Process : 348916 1741992962 2025-03-15 04:27:01[LOG]Starting Cron Kill Existing Process : 349336 1741993021 2025-03-15 04:28:02[LOG]Starting Cron Kill Existing Process : 349755 1741993082 2025-03-15 04:29:01[LOG]Starting Cron Kill Existing Process : 350174 1741993141 2025-03-15 04:30:02[LOG]Starting Cron Kill Existing Process : 350581 1741993202 2025-03-15 04:31:03[LOG]Starting Cron Kill Existing Process : 350996 1741993263 2025-03-15 04:32:01[LOG]Starting Cron Kill Existing Process : 351425 1741993321 2025-03-15 04:33:02[LOG]Starting Cron Kill Existing Process : 351830 1741993382 2025-03-15 04:34:02[LOG]Starting Cron Kill Existing Process : 352252 1741993442 2025-03-15 04:35:02[LOG]Starting Cron Kill Existing Process : 352655 1741993502 2025-03-15 04:36:02[LOG]Starting Cron Kill Existing Process : 353094 1741993562 2025-03-15 04:37:01[LOG]Starting Cron Kill Existing Process : 353506 1741993621 2025-03-15 04:38:02[LOG]Starting Cron Kill Existing Process : 353931 1741993682 2025-03-15 04:39:02[LOG]Starting Cron Kill Existing Process : 354329 1741993742 2025-03-15 04:40:01[LOG]Starting Cron Kill Existing Process : 354785 1741993801 2025-03-15 04:41:02[LOG]Starting Cron Kill Existing Process : 355205 1741993862 2025-03-15 04:42:02[LOG]Starting Cron Kill Existing Process : 357686 1741993922 2025-03-15 04:43:02[LOG]Starting Cron Kill Existing Process : 358123 1741993982 2025-03-15 04:44:02[LOG]Starting Cron Kill Existing Process : 358529 1741994042 2025-03-15 04:45:03[LOG]Starting Cron Kill Existing Process : 358948 1741994103 2025-03-15 04:46:02[LOG]Starting Cron Kill Existing Process : 359343 1741994162 2025-03-15 04:47:02[LOG]Starting Cron Kill Existing Process : 359776 1741994222 2025-03-15 04:48:01[LOG]Starting Cron Kill Existing Process : 360180 1741994281 2025-03-15 04:49:02[LOG]Starting Cron Kill Existing Process : 360609 1741994342 2025-03-15 04:50:01[LOG]Starting Cron Kill Existing Process : 361034 1741994401 2025-03-15 04:51:02[LOG]Starting Cron Kill Existing Process : 361437 1741994462 2025-03-15 04:52:01[LOG]Starting Cron Kill Existing Process : 361860 1741994521 2025-03-15 04:53:02[LOG]Starting Cron Kill Existing Process : 362271 1741994582 2025-03-15 04:54:01[LOG]Starting Cron Kill Existing Process : 362679 1741994641 2025-03-15 04:55:03[LOG]Starting Cron Kill Existing Process : 363083 1741994703 2025-03-15 04:56:02[LOG]Starting Cron Kill Existing Process : 363522 1741994762 2025-03-15 04:57:02[LOG]Starting Cron Kill Existing Process : 363926 1741994822 2025-03-15 04:58:02[LOG]Starting Cron Kill Existing Process : 364348 1741994882 2025-03-15 04:59:02[LOG]Starting Cron Kill Existing Process : 364769 1741994942 2025-03-15 05:00:03[LOG]Starting Cron Kill Existing Process : 365167 1741995003 2025-03-15 05:01:02[LOG]Starting Cron Kill Existing Process : 365651 1741995062 2025-03-15 05:02:01[LOG]Starting Cron Kill Existing Process : 366060 1741995121 2025-03-15 05:03:02[LOG]Starting Cron Kill Existing Process : 366468 1741995182 2025-03-15 05:04:03[LOG]Starting Cron Kill Existing Process : 366886 1741995243 2025-03-15 05:05:02[LOG]Starting Cron Kill Existing Process : 367286 1741995302 2025-03-15 05:06:02[LOG]Starting Cron Kill Existing Process : 367704 1741995362 2025-03-15 05:07:02[LOG]Starting Cron Kill Existing Process : 368142 1741995422 2025-03-15 05:08:02[LOG]Starting Cron Kill Existing Process : 368533 1741995482 2025-03-15 05:09:02[LOG]Starting Cron Kill Existing Process : 368969 1741995542 2025-03-15 05:10:02[LOG]Starting Cron Kill Existing Process : 369427 1741995602 2025-03-15 05:11:02[LOG]Starting Cron Kill Existing Process : 369894 1741995662 2025-03-15 05:12:01[LOG]Starting Cron Kill Existing Process : 372346 1741995721 2025-03-15 05:13:02[LOG]Starting Cron Kill Existing Process : 372764 1741995782 2025-03-15 05:14:01[LOG]Starting Cron Kill Existing Process : 373172 1741995841 2025-03-15 05:15:02[LOG]Starting Cron Kill Existing Process : 373569 1741995902 2025-03-15 05:16:01[LOG]Starting Cron Kill Existing Process : 373992 1741995961 2025-03-15 05:17:02[LOG]Starting Cron Kill Existing Process : 374412 1741996022 2025-03-15 05:18:02[LOG]Starting Cron Kill Existing Process : 374828 1741996082 2025-03-15 05:19:01[LOG]Starting Cron Kill Existing Process : 375252 1741996141 2025-03-15 05:20:02[LOG]Starting Cron Kill Existing Process : 375661 1741996202 2025-03-15 05:21:02[LOG]Starting Cron Kill Existing Process : 376090 1741996262 2025-03-15 05:22:02[LOG]Starting Cron Kill Existing Process : 376512 1741996322 2025-03-15 05:23:01[LOG]Starting Cron Kill Existing Process : 376926 1741996382 2025-03-15 05:24:02[LOG]Starting Cron Kill Existing Process : 377330 1741996442 2025-03-15 05:25:02[LOG]Starting Cron Kill Existing Process : 377725 1741996502 2025-03-15 05:26:02[LOG]Starting Cron Kill Existing Process : 378173 1741996562 2025-03-15 05:27:02[LOG]Starting Cron Kill Existing Process : 378580 1741996622 2025-03-15 05:28:01[LOG]Starting Cron Kill Existing Process : 379002 1741996681 2025-03-15 05:29:02[LOG]Starting Cron Kill Existing Process : 379420 1741996742 2025-03-15 05:30:02[LOG]Starting Cron Kill Existing Process : 379827 1741996802 2025-03-15 05:31:03[LOG]Starting Cron Kill Existing Process : 380228 1741996863 2025-03-15 05:32:01[LOG]Starting Cron Kill Existing Process : 380653 1741996921 2025-03-15 05:33:02[LOG]Starting Cron Kill Existing Process : 381089 1741996982 2025-03-15 05:34:01[LOG]Starting Cron Kill Existing Process : 381513 1741997041 2025-03-15 05:35:02[LOG]Starting Cron Kill Existing Process : 381920 1741997102 2025-03-15 05:36:02[LOG]Starting Cron Kill Existing Process : 382349 1741997162 2025-03-15 05:37:02[LOG]Starting Cron Kill Existing Process : 382755 1741997222 2025-03-15 05:38:02[LOG]Starting Cron Kill Existing Process : 383170 1741997282 2025-03-15 05:39:02[LOG]Starting Cron Kill Existing Process : 383582 1741997342 2025-03-15 05:40:02[LOG]Starting Cron Kill Existing Process : 384010 1741997402 2025-03-15 05:41:02[LOG]Starting Cron Kill Existing Process : 384468 1741997462 2025-03-15 05:42:02[LOG]Starting Cron Kill Existing Process : 386945 1741997522 2025-03-15 05:43:01[LOG]Starting Cron Kill Existing Process : 387358 1741997581 2025-03-15 05:44:02[LOG]Starting Cron Kill Existing Process : 387787 1741997642 2025-03-15 05:45:01[LOG]Starting Cron Kill Existing Process : 388207 1741997701 2025-03-15 05:46:02[LOG]Starting Cron Kill Existing Process : 388633 1741997762 2025-03-15 05:47:02[LOG]Starting Cron Kill Existing Process : 389045 1741997822 2025-03-15 05:48:02[LOG]Starting Cron Kill Existing Process : 389477 1741997882 2025-03-15 05:49:02[LOG]Starting Cron Kill Existing Process : 389901 1741997942 2025-03-15 05:50:01[LOG]Starting Cron Kill Existing Process : 390303 1741998001 2025-03-15 05:51:02[LOG]Starting Cron Kill Existing Process : 390688 1741998062 2025-03-15 05:52:02[LOG]Starting Cron Kill Existing Process : 391142 1741998122 2025-03-15 05:53:02[LOG]Starting Cron Kill Existing Process : 391543 1741998182 2025-03-15 05:54:01[LOG]Starting Cron Kill Existing Process : 391970 1741998241 2025-03-15 05:55:02[LOG]Starting Cron Kill Existing Process : 392385 1741998302 2025-03-15 05:56:01[LOG]Starting Cron Kill Existing Process : 392787 1741998361 2025-03-15 05:57:01[LOG]Starting Cron Kill Existing Process : 393213 1741998422 2025-03-15 05:58:02[LOG]Starting Cron Kill Existing Process : 393584 1741998482 2025-03-15 05:59:02[LOG]Starting Cron Kill Existing Process : 394040 1741998542 2025-03-15 06:00:02[LOG]Starting Cron Kill Existing Process : 394451 1741998602 2025-03-15 06:01:02[LOG]Starting Cron Kill Existing Process : 394847 1741998662 2025-03-15 06:02:01[LOG]Starting Cron Kill Existing Process : 395316 1741998721 2025-03-15 06:03:02[LOG]Starting Cron Kill Existing Process : 395729 1741998782 2025-03-15 06:04:03[LOG]Starting Cron Kill Existing Process : 396138 1741998843 2025-03-15 06:05:02[LOG]Starting Cron Kill Existing Process : 396503 1741998902 2025-03-15 06:06:01[LOG]Starting Cron Kill Existing Process : 396973 1741998961 2025-03-15 06:07:02[LOG]Starting Cron Kill Existing Process : 397384 1741999022 2025-03-15 06:08:01[LOG]Starting Cron Kill Existing Process : 397807 1741999081 2025-03-15 06:09:02[LOG]Starting Cron Kill Existing Process : 398210 1741999142 2025-03-15 06:10:01[LOG]Starting Cron Kill Existing Process : 398676 1741999201 2025-03-15 06:11:02[LOG]Starting Cron Kill Existing Process : 399087 1741999262 2025-03-15 06:12:01[LOG]Starting Cron Kill Existing Process : 399488 1741999321 2025-03-15 06:13:02[LOG]Starting Cron Kill Existing Process : 399935 1741999382 2025-03-15 06:14:01[LOG]Starting Cron Kill Existing Process : 400347 1741999441 2025-03-15 06:15:02[LOG]Starting Cron Kill Existing Process : 400757 1741999502 2025-03-15 06:16:01[LOG]Starting Cron Kill Existing Process : 401182 1741999562 2025-03-15 06:17:01[LOG]Starting Cron Kill Existing Process : 401570 1741999621 2025-03-15 06:18:02[LOG]Starting Cron Kill Existing Process : 402026 1741999682 2025-03-15 06:19:02[LOG]Starting Cron Kill Existing Process : 402431 1741999742 2025-03-15 06:20:02[LOG]Starting Cron Kill Existing Process : 402861 1741999802 2025-03-15 06:21:02[LOG]Starting Cron Kill Existing Process : 403277 1741999862 2025-03-15 06:22:02[LOG]Starting Cron Kill Existing Process : 403656 1741999922 2025-03-15 06:23:03[LOG]Starting Cron Kill Existing Process : 404089 1741999983 2025-03-15 06:24:02[LOG]Starting Cron Kill Existing Process : 404507 1742000042 2025-03-15 06:25:02[LOG]Starting Cron Kill Existing Process : 404923 1742000102 2025-03-15 06:26:03[LOG]Starting Cron Kill Existing Process : 405337 1742000163 2025-03-15 06:27:02[LOG]Starting Cron Kill Existing Process : 405758 1742000222 2025-03-15 06:28:01[LOG]Starting Cron Kill Existing Process : 406168 1742000281 2025-03-15 06:29:02[LOG]Starting Cron Kill Existing Process : 406583 1742000342 2025-03-15 06:30:01[LOG]Starting Cron Kill Existing Process : 406994 1742000401 2025-03-15 06:31:02[LOG]Starting Cron Kill Existing Process : 407436 1742000462 2025-03-15 06:32:01[LOG]Starting Cron Kill Existing Process : 407855 1742000521 2025-03-15 06:33:02[LOG]Starting Cron Kill Existing Process : 408265 1742000582 2025-03-15 06:34:02[LOG]Starting Cron Kill Existing Process : 408676 1742000642 2025-03-15 06:35:02[LOG]Starting Cron Kill Existing Process : 409093 1742000702 2025-03-15 06:36:03[LOG]Starting Cron Kill Existing Process : 409514 1742000763 2025-03-15 06:37:02[LOG]Starting Cron Kill Existing Process : 409925 1742000822 2025-03-15 06:38:02[LOG]Starting Cron Kill Existing Process : 410341 1742000882 2025-03-15 06:39:02[LOG]Starting Cron Kill Existing Process : 410759 1742000942 2025-03-15 06:40:01[LOG]Starting Cron Kill Existing Process : 411650 1742001001 2025-03-15 06:41:02[LOG]Starting Cron Kill Existing Process : 412090 1742001062 2025-03-15 06:42:02[LOG]Starting Cron Kill Existing Process : 412505 1742001122 2025-03-15 06:43:02[LOG]Starting Cron Kill Existing Process : 412930 1742001182 2025-03-15 06:44:02[LOG]Starting Cron Kill Existing Process : 413349 1742001242 2025-03-15 06:45:02[LOG]Starting Cron Kill Existing Process : 413751 1742001302 2025-03-15 06:46:02[LOG]Starting Cron Kill Existing Process : 414178 1742001362 2025-03-15 06:47:02[LOG]Starting Cron Kill Existing Process : 414557 1742001422 2025-03-15 06:48:02[LOG]Starting Cron Kill Existing Process : 414988 1742001482 2025-03-15 06:49:01[LOG]Starting Cron Kill Existing Process : 415421 1742001541 2025-03-15 06:50:02[LOG]Starting Cron Kill Existing Process : 415847 1742001602 2025-03-15 06:51:02[LOG]Starting Cron Kill Existing Process : 416262 1742001662 2025-03-15 06:52:02[LOG]Starting Cron Kill Existing Process : 416664 1742001722 2025-03-15 06:53:02[LOG]Starting Cron Kill Existing Process : 417060 1742001782 2025-03-15 06:54:02[LOG]Starting Cron Kill Existing Process : 417472 1742001842 2025-03-15 06:55:02[LOG]Starting Cron Kill Existing Process : 417898 1742001902 {"compaign_id":"36045","contact_id":"2","total_duration":"23","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36045_2","uid":"u491","unique_id":"36045_2_138-u491","ivrId":200,"channelOTime":1742001891,"channelDTime":1742001903,"channelDuration":12,"cSTime":1742001895,"cETime":1742001903,"cDuration":8,"status":"answered","ivrExecuteFlow":"#1","recordingName":0,"receiver":"09962750055","server_ip":"118.185.137.196","insertTime":1742001903,"ivrData":{"#1":["Attention SOS alert from S I S Vehicle TN01BL8507-MHA at 15.03.2025 06:54:48 near Racecourse Road, Coimbatore Corp, Coimbatore North, Coimbatore, Tamil Nadu 641018, India."],"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742001892,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":"1","busy":0,"congestion":"2","other":"1"},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#1":[{"startTime":1742001895,"endTime":1742001903,"duration":8}],"#2":[]},"callType":"obd","process":0,"duration":23}}
Array
(
    [compaign_id] => 36045
    [contact_id] => 2
    [total_duration] => 23
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36045_2
            [uid] => u491
            [unique_id] => 36045_2_138-u491
            [ivrId] => 200
            [channelOTime] => 1742001891
            [channelDTime] => 1742001903
            [channelDuration] => 12
            [cSTime] => 1742001895
            [cETime] => 1742001903
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #1
            [recordingName] => 0
            [receiver] => 09962750055
            [server_ip] => 118.185.137.196
            [insertTime] => 1742001903
            [ivrData] => Array
                (
                    [#1] => Array
                        (
                            [0] => Attention SOS alert from S I S Vehicle TN01BL8507-MHA at 15.03.2025 06:54:48 near Racecourse Road, Coimbatore Corp, Coimbatore North, Coimbatore, Tamil Nadu 641018, India.
                        )

                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742001892
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 1
                    [busy] => 0
                    [congestion] => 2
                    [other] => 1
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#1] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742001895
                                    [endTime] => 1742001903
                                    [duration] => 8
                                )

                        )

                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 23
        )

)
 

 --------------------------------------------- 

 

 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36045' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168348
    [user_id] => u491
    [user_type] => user
    [compaign_id] => 36045
    [plan_type] => answered
    [no_of_pulse] => 0
    [pulse] => 30
    [pulse_rate] => 0.35
    [amount] => 0
    [type] => D
    [create_date] => 1742001890
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u491
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 14333.949999999308
    [total_voice_amount] => 15000
    [voice_amount_validity] => 1747560916
    [create_date] => 1725272962
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 890
    [user_id] => u491
    [voice_plan_id] => 55
    [pulse] => 30
    [pulse_rate] => 0.35
    [real_pulsing] => 0
    [create_date] => 1725273775
    [create_by] => r54
    [update_date] => 1726650198
    [update_by] => r54
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.35, no_of_pulse=no_of_pulse+1, pulse=30, pulse_rate=0.35 WHERE id=168348 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.35 WHERE user_id='u491' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168349
    [user_id] => r54
    [user_type] => reseller
    [compaign_id] => 36045
    [plan_type] => answered
    [no_of_pulse] => 0
    [pulse] => 30
    [pulse_rate] => 0.18
    [amount] => 0
    [type] => D
    [create_date] => 1742001890
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => r54
    [user_type] => reseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => 0.6
    [seconds_rate] => -1
    [max_allowed_hits] => -1
    [voice_amount] => 6687.459999999446
    [total_voice_amount] => 7030
    [voice_amount_validity] => 1756808964
    [create_date] => 1725272236
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 888
    [user_id] => r54
    [voice_plan_id] => 55
    [pulse] => 30
    [pulse_rate] => 0.18
    [real_pulsing] => 0
    [create_date] => 1725273046
    [create_by] => admin11
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.18, no_of_pulse=no_of_pulse+1, pulse=30, pulse_rate=0.18 WHERE id=168349 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.18 WHERE user_id='r54' LIMIT 1  

 1742001904
2025-03-15 06:56:02[LOG]Starting Cron

Kill Existing Process : 418340
1742001962
2025-03-15 06:57:02[LOG]Starting Cron

Kill Existing Process : 418747
1742002022
2025-03-15 06:58:02[LOG]Starting Cron

Kill Existing Process : 419157
1742002082
2025-03-15 06:59:02[LOG]Starting Cron

Kill Existing Process : 419572
1742002142
2025-03-15 07:00:01[LOG]Starting Cron

Kill Existing Process : 419987
1742002201
2025-03-15 07:01:02[LOG]Starting Cron

Kill Existing Process : 420442
1742002262
2025-03-15 07:02:01[LOG]Starting Cron

Kill Existing Process : 420864
1742002321
2025-03-15 07:03:02[LOG]Starting Cron

Kill Existing Process : 421279
1742002382
2025-03-15 07:04:01[LOG]Starting Cron

Kill Existing Process : 421686
1742002441
2025-03-15 07:05:02[LOG]Starting Cron

Kill Existing Process : 422075
1742002502
2025-03-15 07:06:01[LOG]Starting Cron

Kill Existing Process : 422521
1742002561
2025-03-15 07:07:02[LOG]Starting Cron

Kill Existing Process : 422936
1742002622
2025-03-15 07:08:01[LOG]Starting Cron

Kill Existing Process : 423340
1742002681
2025-03-15 07:09:02[LOG]Starting Cron

Kill Existing Process : 423756
1742002742
2025-03-15 07:10:02[LOG]Starting Cron

Kill Existing Process : 424214
1742002802
2025-03-15 07:11:02[LOG]Starting Cron

Kill Existing Process : 424640
1742002862
2025-03-15 07:12:01[LOG]Starting Cron

Kill Existing Process : 425043
1742002921
2025-03-15 07:13:01[LOG]Starting Cron

Kill Existing Process : 425450
1742002981
2025-03-15 07:14:02[LOG]Starting Cron

Kill Existing Process : 425840
1742003042
2025-03-15 07:15:02[LOG]Starting Cron

Kill Existing Process : 426275
1742003102
2025-03-15 07:16:03[LOG]Starting Cron

Kill Existing Process : 426704
1742003163
2025-03-15 07:17:01[LOG]Starting Cron

Kill Existing Process : 427113
1742003221
2025-03-15 07:18:02[LOG]Starting Cron

Kill Existing Process : 427532
1742003282
2025-03-15 07:19:01[LOG]Starting Cron

Kill Existing Process : 427960
1742003341
2025-03-15 07:20:02[LOG]Starting Cron

Kill Existing Process : 428363
1742003402
2025-03-15 07:21:01[LOG]Starting Cron

Kill Existing Process : 428793
1742003461
2025-03-15 07:22:02[LOG]Starting Cron

Kill Existing Process : 429192
1742003522
2025-03-15 07:23:02[LOG]Starting Cron

Kill Existing Process : 429618
1742003582
2025-03-15 07:24:02[LOG]Starting Cron

Kill Existing Process : 430040
1742003642
2025-03-15 07:25:02[LOG]Starting Cron

Kill Existing Process : 430454
1742003702
2025-03-15 07:26:03[LOG]Starting Cron

Kill Existing Process : 430878
1742003763
2025-03-15 07:27:01[LOG]Starting Cron

Kill Existing Process : 431282
1742003821
2025-03-15 07:28:02[LOG]Starting Cron

Kill Existing Process : 431718
1742003882
2025-03-15 07:29:02[LOG]Starting Cron

Kill Existing Process : 432146
1742003942
2025-03-15 07:30:02[LOG]Starting Cron

Kill Existing Process : 432553
1742004002
2025-03-15 07:31:02[LOG]Starting Cron

Kill Existing Process : 432977
1742004062
2025-03-15 07:32:01[LOG]Starting Cron

Kill Existing Process : 433383
1742004121
2025-03-15 07:33:02[LOG]Starting Cron

Kill Existing Process : 433818
1742004182
2025-03-15 07:34:01[LOG]Starting Cron

Kill Existing Process : 434223
1742004241
2025-03-15 07:35:03[LOG]Starting Cron

Kill Existing Process : 434633
1742004303
2025-03-15 07:36:01[LOG]Starting Cron

Kill Existing Process : 435055
1742004361
2025-03-15 07:37:02[LOG]Starting Cron

Kill Existing Process : 435469
1742004422
2025-03-15 07:38:02[LOG]Starting Cron

Kill Existing Process : 435874
1742004482
2025-03-15 07:39:02[LOG]Starting Cron

Kill Existing Process : 436305
1742004542
2025-03-15 07:40:02[LOG]Starting Cron

Kill Existing Process : 436751
1742004602
2025-03-15 07:41:02[LOG]Starting Cron

Kill Existing Process : 437193
1742004662
2025-03-15 07:42:03[LOG]Starting Cron

Kill Existing Process : 437607
1742004723
2025-03-15 07:43:02[LOG]Starting Cron

Kill Existing Process : 438037
1742004782
2025-03-15 07:44:02[LOG]Starting Cron

Kill Existing Process : 438447
1742004842
2025-03-15 07:45:03[LOG]Starting Cron

Kill Existing Process : 438860
1742004903
2025-03-15 07:46:02[LOG]Starting Cron

Kill Existing Process : 439265
1742004962
2025-03-15 07:47:01[LOG]Starting Cron

Kill Existing Process : 439718
1742005021
2025-03-15 07:48:02[LOG]Starting Cron

Kill Existing Process : 440132
1742005082
2025-03-15 07:49:01[LOG]Starting Cron

Kill Existing Process : 440545
1742005141
2025-03-15 07:50:02[LOG]Starting Cron

Kill Existing Process : 440972
1742005202
2025-03-15 07:51:02[LOG]Starting Cron

Kill Existing Process : 441370
1742005262
2025-03-15 07:52:02[LOG]Starting Cron

Kill Existing Process : 441806
1742005322
2025-03-15 07:53:02[LOG]Starting Cron

Kill Existing Process : 442214
1742005382
2025-03-15 07:54:01[LOG]Starting Cron

Kill Existing Process : 442632
1742005441
2025-03-15 07:55:02[LOG]Starting Cron

Kill Existing Process : 443040
1742005502
2025-03-15 07:56:02[LOG]Starting Cron

Kill Existing Process : 443460
1742005562
2025-03-15 07:57:02[LOG]Starting Cron

Kill Existing Process : 443886
1742005622
2025-03-15 07:58:02[LOG]Starting Cron

Kill Existing Process : 444286
1742005682
2025-03-15 07:59:02[LOG]Starting Cron

Kill Existing Process : 444700
1742005742
2025-03-15 08:00:02[LOG]Starting Cron

Kill Existing Process : 445129
1742005802
2025-03-15 08:01:03[LOG]Starting Cron

Kill Existing Process : 445580
1742005863
2025-03-15 08:02:02[LOG]Starting Cron

Kill Existing Process : 445986
1742005922
2025-03-15 08:03:02[LOG]Starting Cron

Kill Existing Process : 446409
1742005982
2025-03-15 08:04:01[LOG]Starting Cron

Kill Existing Process : 446826
1742006041
2025-03-15 08:05:02[LOG]Starting Cron

Kill Existing Process : 447235
1742006102
2025-03-15 08:06:03[LOG]Starting Cron

Kill Existing Process : 447642
1742006163
2025-03-15 08:07:02[LOG]Starting Cron

Kill Existing Process : 448039
1742006222
2025-03-15 08:08:01[LOG]Starting Cron

Kill Existing Process : 448480
1742006281
2025-03-15 08:09:02[LOG]Starting Cron

Kill Existing Process : 448896
1742006342
2025-03-15 08:10:01[LOG]Starting Cron

Kill Existing Process : 449366
1742006401
2025-03-15 08:11:02[LOG]Starting Cron

Kill Existing Process : 449785
1742006462
2025-03-15 08:12:02[LOG]Starting Cron

Kill Existing Process : 450200
1742006522
2025-03-15 08:13:02[LOG]Starting Cron

Kill Existing Process : 450619
1742006582
2025-03-15 08:14:02[LOG]Starting Cron

Kill Existing Process : 451031
1742006642
2025-03-15 08:15:02[LOG]Starting Cron

Kill Existing Process : 451445
1742006702
2025-03-15 08:16:02[LOG]Starting Cron

Kill Existing Process : 451864
1742006762
2025-03-15 08:17:02[LOG]Starting Cron

Kill Existing Process : 452263
1742006822
2025-03-15 08:18:02[LOG]Starting Cron

Kill Existing Process : 452668
1742006882
2025-03-15 08:19:02[LOG]Starting Cron

Kill Existing Process : 453110
1742006942
2025-03-15 08:20:02[LOG]Starting Cron

Kill Existing Process : 453525
1742007002
2025-03-15 08:21:01[LOG]Starting Cron

Kill Existing Process : 453943
1742007061
2025-03-15 08:22:02[LOG]Starting Cron

Kill Existing Process : 454354
1742007122
2025-03-15 08:23:02[LOG]Starting Cron

Kill Existing Process : 454766
1742007182
2025-03-15 08:24:03[LOG]Starting Cron

Kill Existing Process : 455163
1742007243
2025-03-15 08:25:02[LOG]Starting Cron

Kill Existing Process : 455573
1742007302
2025-03-15 08:26:02[LOG]Starting Cron

Kill Existing Process : 456009
1742007362
2025-03-15 08:27:02[LOG]Starting Cron

Kill Existing Process : 456445
1742007422
{"compaign_id":"36045","contact_id":"15","total_duration":"23","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36045_15","uid":"u491","unique_id":"36045_15_138-u491","ivrId":200,"channelOTime":1742007440,"channelDTime":1742007446,"channelDuration":6,"cSTime":1742007443,"cETime":1742007446,"cDuration":3,"status":"answered","ivrExecuteFlow":"#1","recordingName":0,"receiver":"09962750055","server_ip":"118.185.137.196","insertTime":1742007446,"ivrData":{"#1":["Attention SOS alert from S I S Vehicle TN01BL8571-MHA at 15.03.2025 08:27:18 near Racecourse Road, Coimbatore Corp, Coimbatore North, Coimbatore, Tamil Nadu 641018, India."],"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742007442,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":"1","busy":0,"congestion":"2","other":"1"},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#1":[{"startTime":1742007443,"endTime":1742007446,"duration":3}],"#2":[]},"callType":"obd","process":0,"duration":23}}
Array
(
    [compaign_id] => 36045
    [contact_id] => 15
    [total_duration] => 23
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36045_15
            [uid] => u491
            [unique_id] => 36045_15_138-u491
            [ivrId] => 200
            [channelOTime] => 1742007440
            [channelDTime] => 1742007446
            [channelDuration] => 6
            [cSTime] => 1742007443
            [cETime] => 1742007446
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #1
            [recordingName] => 0
            [receiver] => 09962750055
            [server_ip] => 118.185.137.196
            [insertTime] => 1742007446
            [ivrData] => Array
                (
                    [#1] => Array
                        (
                            [0] => Attention SOS alert from S I S Vehicle TN01BL8571-MHA at 15.03.2025 08:27:18 near Racecourse Road, Coimbatore Corp, Coimbatore North, Coimbatore, Tamil Nadu 641018, India.
                        )

                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742007442
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 1
                    [busy] => 0
                    [congestion] => 2
                    [other] => 1
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#1] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742007443
                                    [endTime] => 1742007446
                                    [duration] => 3
                                )

                        )

                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 23
        )

)
 

 --------------------------------------------- 

 

 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36045' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168348
    [user_id] => u491
    [user_type] => user
    [compaign_id] => 36045
    [plan_type] => answered
    [no_of_pulse] => 1
    [pulse] => 30
    [pulse_rate] => 0.35
    [amount] => 0.35
    [type] => D
    [create_date] => 1742001890
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u491
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 14333.599999999307
    [total_voice_amount] => 15000
    [voice_amount_validity] => 1747560916
    [create_date] => 1725272962
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 890
    [user_id] => u491
    [voice_plan_id] => 55
    [pulse] => 30
    [pulse_rate] => 0.35
    [real_pulsing] => 0
    [create_date] => 1725273775
    [create_by] => r54
    [update_date] => 1726650198
    [update_by] => r54
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.35, no_of_pulse=no_of_pulse+1, pulse=30, pulse_rate=0.35 WHERE id=168348 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.35 WHERE user_id='u491' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168349
    [user_id] => r54
    [user_type] => reseller
    [compaign_id] => 36045
    [plan_type] => answered
    [no_of_pulse] => 1
    [pulse] => 30
    [pulse_rate] => 0.18
    [amount] => 0.18
    [type] => D
    [create_date] => 1742001890
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => r54
    [user_type] => reseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => 0.6
    [seconds_rate] => -1
    [max_allowed_hits] => -1
    [voice_amount] => 6687.279999999446
    [total_voice_amount] => 7030
    [voice_amount_validity] => 1756808964
    [create_date] => 1725272236
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 888
    [user_id] => r54
    [voice_plan_id] => 55
    [pulse] => 30
    [pulse_rate] => 0.18
    [real_pulsing] => 0
    [create_date] => 1725273046
    [create_by] => admin11
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.18, no_of_pulse=no_of_pulse+1, pulse=30, pulse_rate=0.18 WHERE id=168349 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.18 WHERE user_id='r54' LIMIT 1  

 1742007447
2025-03-15 08:28:02[LOG]Starting Cron
2025-03-15 08:28:02[LOG]Process is already running
2025-03-15 08:29:02[LOG]Starting Cron

Kill Existing Process : 456849
1742007542
2025-03-15 08:30:03[LOG]Starting Cron

Kill Existing Process : 457666
1742007603
2025-03-15 08:31:01[LOG]Starting Cron

Kill Existing Process : 458119
1742007661
2025-03-15 08:32:02[LOG]Starting Cron

Kill Existing Process : 458535
1742007722
2025-03-15 08:33:01[LOG]Starting Cron

Kill Existing Process : 458937
1742007781
2025-03-15 08:34:02[LOG]Starting Cron

Kill Existing Process : 459365
1742007842
2025-03-15 08:35:01[LOG]Starting Cron

Kill Existing Process : 459783
1742007901
2025-03-15 08:36:02[LOG]Starting Cron

Kill Existing Process : 460198
1742007962
2025-03-15 08:37:01[LOG]Starting Cron

Kill Existing Process : 460614
1742008021
2025-03-15 08:38:02[LOG]Starting Cron

Kill Existing Process : 461031
1742008082
2025-03-15 08:39:02[LOG]Starting Cron

Kill Existing Process : 461454
1742008142
2025-03-15 08:40:02[LOG]Starting Cron

Kill Existing Process : 461871
1742008202
2025-03-15 08:41:01[LOG]Starting Cron

Kill Existing Process : 462293
1742008261
2025-03-15 08:42:02[LOG]Starting Cron

Kill Existing Process : 462700
1742008322
2025-03-15 08:43:01[LOG]Starting Cron

Kill Existing Process : 463142
1742008381
2025-03-15 08:44:02[LOG]Starting Cron

Kill Existing Process : 463556
1742008442
2025-03-15 08:45:01[LOG]Starting Cron

Kill Existing Process : 463978
1742008501
2025-03-15 08:46:02[LOG]Starting Cron

Kill Existing Process : 464383
1742008562
2025-03-15 08:47:02[LOG]Starting Cron

Kill Existing Process : 464797
1742008622
2025-03-15 08:48:02[LOG]Starting Cron

Kill Existing Process : 465233
1742008682
2025-03-15 08:49:02[LOG]Starting Cron

Kill Existing Process : 465645
1742008742
2025-03-15 08:50:01[LOG]Starting Cron

Kill Existing Process : 466013
1742008801
2025-03-15 08:51:02[LOG]Starting Cron

Kill Existing Process : 466469
1742008862
2025-03-15 08:52:01[LOG]Starting Cron

Kill Existing Process : 466885
1742008921
2025-03-15 08:53:02[LOG]Starting Cron

Kill Existing Process : 467299
1742008982
2025-03-15 08:54:02[LOG]Starting Cron

Kill Existing Process : 467718
1742009042
2025-03-15 08:55:03[LOG]Starting Cron

Kill Existing Process : 468131
1742009103
2025-03-15 08:56:02[LOG]Starting Cron

Kill Existing Process : 468540
1742009162
2025-03-15 08:57:02[LOG]Starting Cron

Kill Existing Process : 468966
1742009222
2025-03-15 08:58:02[LOG]Starting Cron

Kill Existing Process : 469379
1742009282
2025-03-15 08:59:02[LOG]Starting Cron

Kill Existing Process : 469779
1742009342
2025-03-15 09:00:01[LOG]Starting Cron

Kill Existing Process : 470210
1742009401
2025-03-15 09:01:02[LOG]Starting Cron

Kill Existing Process : 470600
1742009462
2025-03-15 09:02:02[LOG]Starting Cron

Kill Existing Process : 471074
1742009522
2025-03-15 09:03:01[LOG]Starting Cron

Kill Existing Process : 471480
1742009581
2025-03-15 09:04:02[LOG]Starting Cron

Kill Existing Process : 471885
1742009642
2025-03-15 09:05:02[LOG]Starting Cron

Kill Existing Process : 472286
1742009702
2025-03-15 09:06:02[LOG]Starting Cron

Kill Existing Process : 472732
1742009762
2025-03-15 09:07:02[LOG]Starting Cron

Kill Existing Process : 473131
1742009822
2025-03-15 09:08:02[LOG]Starting Cron

Kill Existing Process : 473554
1742009882
2025-03-15 09:09:02[LOG]Starting Cron

Kill Existing Process : 473945
1742009942
2025-03-15 09:10:02[LOG]Starting Cron

Kill Existing Process : 474433
1742010002
2025-03-15 09:11:02[LOG]Starting Cron

Kill Existing Process : 474901
1742010062
2025-03-15 09:12:03[LOG]Starting Cron

Kill Existing Process : 475294
1742010123
2025-03-15 09:13:02[LOG]Starting Cron

Kill Existing Process : 475709
1742010182
2025-03-15 09:14:02[LOG]Starting Cron

Kill Existing Process : 476140
1742010242
2025-03-15 09:15:01[LOG]Starting Cron

Kill Existing Process : 476546
1742010301
2025-03-15 09:16:02[LOG]Starting Cron

Kill Existing Process : 476973
1742010362
2025-03-15 09:17:02[LOG]Starting Cron

Kill Existing Process : 477387
1742010422
2025-03-15 09:18:02[LOG]Starting Cron

Kill Existing Process : 477807
1742010482
2025-03-15 09:19:02[LOG]Starting Cron

Kill Existing Process : 478227
1742010542
2025-03-15 09:20:02[LOG]Starting Cron

Kill Existing Process : 478657
1742010602
2025-03-15 09:21:02[LOG]Starting Cron

Kill Existing Process : 479082
1742010662
2025-03-15 09:22:01[LOG]Starting Cron

Kill Existing Process : 479518
1742010721
2025-03-15 09:23:02[LOG]Starting Cron

Kill Existing Process : 479932
1742010782
2025-03-15 09:24:01[LOG]Starting Cron

Kill Existing Process : 480325
1742010841
2025-03-15 09:25:02[LOG]Starting Cron

Kill Existing Process : 480755
1742010902
2025-03-15 09:26:01[LOG]Starting Cron

Kill Existing Process : 481181
1742010961
2025-03-15 09:27:02[LOG]Starting Cron

Kill Existing Process : 481576
1742011022
2025-03-15 09:28:01[LOG]Starting Cron

Kill Existing Process : 482013
1742011081
2025-03-15 09:29:02[LOG]Starting Cron

Kill Existing Process : 482419
1742011142
2025-03-15 09:30:01[LOG]Starting Cron

Kill Existing Process : 482822
1742011201
2025-03-15 09:31:02[LOG]Starting Cron

Kill Existing Process : 483254
1742011262
2025-03-15 09:32:01[LOG]Starting Cron

Kill Existing Process : 483635
1742011321
2025-03-15 09:33:02[LOG]Starting Cron

Kill Existing Process : 484081
1742011382
2025-03-15 09:34:02[LOG]Starting Cron

Kill Existing Process : 484509
1742011442
2025-03-15 09:35:01[LOG]Starting Cron

Kill Existing Process : 484907
1742011501
2025-03-15 09:36:02[LOG]Starting Cron

Kill Existing Process : 485333
1742011562
2025-03-15 09:37:01[LOG]Starting Cron

Kill Existing Process : 485760
1742011621
2025-03-15 09:38:02[LOG]Starting Cron

Kill Existing Process : 486172
1742011682
2025-03-15 09:39:02[LOG]Starting Cron

Kill Existing Process : 486581
1742011742
2025-03-15 09:40:02[LOG]Starting Cron

Kill Existing Process : 487050
1742011802
2025-03-15 09:41:03[LOG]Starting Cron

Kill Existing Process : 487465
1742011863
2025-03-15 09:42:02[LOG]Starting Cron

Kill Existing Process : 487879
1742011922
2025-03-15 09:43:02[LOG]Starting Cron

Kill Existing Process : 488310
1742011982
2025-03-15 09:44:02[LOG]Starting Cron

Kill Existing Process : 488730
1742012042
2025-03-15 09:45:03[LOG]Starting Cron

Kill Existing Process : 489149
1742012103
2025-03-15 09:46:02[LOG]Starting Cron

Kill Existing Process : 489570
1742012162
2025-03-15 09:47:01[LOG]Starting Cron

Kill Existing Process : 489981
1742012221
2025-03-15 09:48:02[LOG]Starting Cron

Kill Existing Process : 490404
1742012282
2025-03-15 09:49:01[LOG]Starting Cron

Kill Existing Process : 490766
1742012341
2025-03-15 09:50:02[LOG]Starting Cron

Kill Existing Process : 491232
1742012402
2025-03-15 09:51:02[LOG]Starting Cron

Kill Existing Process : 491659
1742012462
2025-03-15 09:52:02[LOG]Starting Cron

Kill Existing Process : 492082
1742012522
2025-03-15 09:53:01[LOG]Starting Cron

Kill Existing Process : 492491
1742012581
2025-03-15 09:54:02[LOG]Starting Cron

Kill Existing Process : 492909
1742012642
2025-03-15 09:55:01[LOG]Starting Cron

Kill Existing Process : 493319
1742012701
2025-03-15 09:56:02[LOG]Starting Cron

Kill Existing Process : 493736
1742012762
2025-03-15 09:57:01[LOG]Starting Cron

Kill Existing Process : 494153
1742012821
2025-03-15 09:58:02[LOG]Starting Cron

Kill Existing Process : 494564
1742012882
2025-03-15 09:59:02[LOG]Starting Cron

Kill Existing Process : 494952
1742012942
2025-03-15 10:00:02[LOG]Starting Cron

Kill Existing Process : 495370
1742013002
2025-03-15 10:01:01[LOG]Starting Cron

Kill Existing Process : 495816
1742013061
2025-03-15 10:02:02[LOG]Starting Cron

Kill Existing Process : 496245
1742013122
2025-03-15 10:03:01[LOG]Starting Cron

Kill Existing Process : 496657
1742013181
2025-03-15 10:04:02[LOG]Starting Cron

Kill Existing Process : 497067
1742013242
2025-03-15 10:05:02[LOG]Starting Cron

Kill Existing Process : 497507
1742013302
2025-03-15 10:06:03[LOG]Starting Cron

Kill Existing Process : 497914
1742013363
2025-03-15 10:07:02[LOG]Starting Cron

Kill Existing Process : 498343
1742013422
2025-03-15 10:08:02[LOG]Starting Cron

Kill Existing Process : 498741
1742013482
2025-03-15 10:09:02[LOG]Starting Cron

Kill Existing Process : 499162
1742013542
2025-03-15 10:10:02[LOG]Starting Cron

Kill Existing Process : 499616
1742013602
2025-03-15 10:11:02[LOG]Starting Cron

Kill Existing Process : 500040
1742013662
2025-03-15 10:12:02[LOG]Starting Cron

Kill Existing Process : 500441
1742013722
2025-03-15 10:13:01[LOG]Starting Cron

Kill Existing Process : 500880
1742013781
2025-03-15 10:14:02[LOG]Starting Cron

Kill Existing Process : 501293
1742013842
2025-03-15 10:15:03[LOG]Starting Cron

Kill Existing Process : 501705
1742013903
2025-03-15 10:16:02[LOG]Starting Cron

Kill Existing Process : 502128
1742013962
2025-03-15 10:17:02[LOG]Starting Cron

Kill Existing Process : 502534
1742014022
2025-03-15 10:18:02[LOG]Starting Cron

Kill Existing Process : 502949
1742014082
2025-03-15 10:19:02[LOG]Starting Cron

Kill Existing Process : 503376
1742014142
2025-03-15 10:20:01[LOG]Starting Cron

Kill Existing Process : 503776
1742014201
2025-03-15 10:21:02[LOG]Starting Cron

Kill Existing Process : 504204
1742014262
2025-03-15 10:22:01[LOG]Starting Cron

Kill Existing Process : 504621
1742014321
2025-03-15 10:23:02[LOG]Starting Cron

Kill Existing Process : 505034
1742014382
2025-03-15 10:24:01[LOG]Starting Cron

Kill Existing Process : 505441
1742014441
2025-03-15 10:25:02[LOG]Starting Cron

Kill Existing Process : 505869
1742014502
2025-03-15 10:26:02[LOG]Starting Cron

Kill Existing Process : 506284
1742014562
2025-03-15 10:27:02[LOG]Starting Cron

Kill Existing Process : 506705
1742014622
2025-03-15 10:28:02[LOG]Starting Cron

Kill Existing Process : 507106
1742014682
2025-03-15 10:29:01[LOG]Starting Cron

Kill Existing Process : 507512
1742014741
2025-03-15 10:30:02[LOG]Starting Cron

Kill Existing Process : 507920
1742014802
2025-03-15 10:31:02[LOG]Starting Cron

Kill Existing Process : 508362
1742014862
2025-03-15 10:32:03[LOG]Starting Cron

Kill Existing Process : 508789
1742014923
2025-03-15 10:33:02[LOG]Starting Cron

Kill Existing Process : 509202
1742014982
2025-03-15 10:34:01[LOG]Starting Cron

Kill Existing Process : 509610
1742015041
2025-03-15 10:35:02[LOG]Starting Cron

Kill Existing Process : 510015
1742015102
2025-03-15 10:36:01[LOG]Starting Cron

Kill Existing Process : 510448
1742015161
2025-03-15 10:37:02[LOG]Starting Cron

Kill Existing Process : 510863
1742015222
2025-03-15 10:38:02[LOG]Starting Cron

Kill Existing Process : 511268
1742015282
2025-03-15 10:39:02[LOG]Starting Cron

Kill Existing Process : 511685
1742015342
2025-03-15 10:40:02[LOG]Starting Cron

Kill Existing Process : 512162
1742015402
2025-03-15 10:41:02[LOG]Starting Cron

Kill Existing Process : 512582
1742015462
2025-03-15 10:42:02[LOG]Starting Cron

Kill Existing Process : 512993
1742015522
2025-03-15 10:43:02[LOG]Starting Cron

Kill Existing Process : 513396
1742015582
2025-03-15 10:44:02[LOG]Starting Cron

Kill Existing Process : 513810
1742015642
2025-03-15 10:45:02[LOG]Starting Cron

Kill Existing Process : 514256
1742015702
2025-03-15 10:46:02[LOG]Starting Cron

Kill Existing Process : 514668
1742015762
2025-03-15 10:47:01[LOG]Starting Cron

Kill Existing Process : 515081
1742015821
2025-03-15 10:48:02[LOG]Starting Cron

Kill Existing Process : 515493
1742015882
2025-03-15 10:49:02[LOG]Starting Cron

Kill Existing Process : 515902
1742015942
2025-03-15 10:50:03[LOG]Starting Cron

Kill Existing Process : 516316
1742016003
2025-03-15 10:51:02[LOG]Starting Cron

Kill Existing Process : 516712
1742016062
2025-03-15 10:52:02[LOG]Starting Cron

Kill Existing Process : 517159
1742016122
2025-03-15 10:53:02[LOG]Starting Cron

Kill Existing Process : 517563
1742016182
2025-03-15 10:54:02[LOG]Starting Cron

Kill Existing Process : 517973
1742016242
2025-03-15 10:55:02[LOG]Starting Cron

Kill Existing Process : 518367
1742016302
2025-03-15 10:56:02[LOG]Starting Cron

Kill Existing Process : 518804
1742016362
2025-03-15 10:57:02[LOG]Starting Cron

Kill Existing Process : 519250
1742016422
2025-03-15 10:58:03[LOG]Starting Cron

Kill Existing Process : 519625
1742016483
2025-03-15 10:59:02[LOG]Starting Cron

Kill Existing Process : 520087
1742016542
2025-03-15 11:00:02[LOG]Starting Cron

Kill Existing Process : 520446
1742016602
2025-03-15 11:01:02[LOG]Starting Cron

Kill Existing Process : 520938
1742016662
2025-03-15 11:02:02[LOG]Starting Cron

Kill Existing Process : 521352
1742016722
2025-03-15 11:03:02[LOG]Starting Cron

Kill Existing Process : 521772
1742016782
2025-03-15 11:04:02[LOG]Starting Cron

Kill Existing Process : 522186
1742016842
2025-03-15 11:05:02[LOG]Starting Cron

Kill Existing Process : 522601
1742016902
2025-03-15 11:06:01[LOG]Starting Cron

Kill Existing Process : 522999
1742016961
2025-03-15 11:07:02[LOG]Starting Cron

Kill Existing Process : 523389
1742017022
2025-03-15 11:08:02[LOG]Starting Cron

Kill Existing Process : 523848
1742017082
2025-03-15 11:09:02[LOG]Starting Cron

Kill Existing Process : 524263
1742017142
2025-03-15 11:10:02[LOG]Starting Cron

Kill Existing Process : 524722
1742017202
2025-03-15 11:11:02[LOG]Starting Cron

Kill Existing Process : 525107
1742017262
2025-03-15 11:12:02[LOG]Starting Cron

Kill Existing Process : 525554
1742017322
2025-03-15 11:13:02[LOG]Starting Cron

Kill Existing Process : 525968
1742017382
2025-03-15 11:14:01[LOG]Starting Cron

Kill Existing Process : 526388
1742017441
2025-03-15 11:15:02[LOG]Starting Cron

Kill Existing Process : 526786
1742017502
2025-03-15 11:16:02[LOG]Starting Cron

Kill Existing Process : 527210
1742017562
2025-03-15 11:17:02[LOG]Starting Cron

Kill Existing Process : 527605
1742017622
2025-03-15 11:18:02[LOG]Starting Cron

Kill Existing Process : 528038
1742017682
2025-03-15 11:19:01[LOG]Starting Cron

Kill Existing Process : 528458
1742017741
2025-03-15 11:20:02[LOG]Starting Cron

Kill Existing Process : 528857
1742017802
2025-03-15 11:21:02[LOG]Starting Cron

Kill Existing Process : 529266
1742017862
2025-03-15 11:22:02[LOG]Starting Cron

Kill Existing Process : 529706
1742017922
2025-03-15 11:23:02[LOG]Starting Cron

Kill Existing Process : 530120
1742017982
2025-03-15 11:24:02[LOG]Starting Cron

Kill Existing Process : 530542
1742018042
2025-03-15 11:25:01[LOG]Starting Cron

Kill Existing Process : 530955
1742018101
2025-03-15 11:26:02[LOG]Starting Cron

Kill Existing Process : 531384
1742018162
2025-03-15 11:27:01[LOG]Starting Cron

Kill Existing Process : 531799
1742018221
2025-03-15 11:28:02[LOG]Starting Cron

Kill Existing Process : 532221
1742018282
2025-03-15 11:29:02[LOG]Starting Cron

Kill Existing Process : 532615
1742018342
2025-03-15 11:30:02[LOG]Starting Cron

Kill Existing Process : 533039
1742018402
2025-03-15 11:31:02[LOG]Starting Cron

Kill Existing Process : 533450
1742018462
2025-03-15 11:32:02[LOG]Starting Cron

Kill Existing Process : 533896
1742018522
2025-03-15 11:33:02[LOG]Starting Cron

Kill Existing Process : 534315
1742018582
2025-03-15 11:34:02[LOG]Starting Cron

Kill Existing Process : 534713
1742018642
2025-03-15 11:35:02[LOG]Starting Cron

Kill Existing Process : 535134
1742018702
2025-03-15 11:36:03[LOG]Starting Cron

Kill Existing Process : 535548
1742018763
2025-03-15 11:37:02[LOG]Starting Cron

Kill Existing Process : 535962
1742018822
2025-03-15 11:38:01[LOG]Starting Cron

Kill Existing Process : 536380
1742018881
2025-03-15 11:39:03[LOG]Starting Cron

Kill Existing Process : 536791
1742018943
2025-03-15 11:40:02[LOG]Starting Cron

Kill Existing Process : 537230
1742019002
2025-03-15 11:41:02[LOG]Starting Cron

Kill Existing Process : 537666
1742019062
2025-03-15 11:42:01[LOG]Starting Cron

Kill Existing Process : 538073
1742019121
2025-03-15 11:43:02[LOG]Starting Cron

Kill Existing Process : 538486
1742019182
2025-03-15 11:44:01[LOG]Starting Cron

Kill Existing Process : 538882
1742019241
2025-03-15 11:45:02[LOG]Starting Cron

Kill Existing Process : 539302
1742019302
2025-03-15 11:46:02[LOG]Starting Cron

Kill Existing Process : 539724
1742019362
2025-03-15 11:47:01[LOG]Starting Cron

Kill Existing Process : 540127
1742019421
2025-03-15 11:48:02[LOG]Starting Cron

Kill Existing Process : 540551
1742019482
2025-03-15 11:49:01[LOG]Starting Cron

Kill Existing Process : 540977
1742019541
2025-03-15 11:50:02[LOG]Starting Cron

Kill Existing Process : 541373
1742019602
2025-03-15 11:51:03[LOG]Starting Cron

Kill Existing Process : 541809
1742019663
2025-03-15 11:52:01[LOG]Starting Cron

Kill Existing Process : 542225
1742019721
2025-03-15 11:53:01[LOG]Starting Cron

Kill Existing Process : 542641
1742019781
2025-03-15 11:54:02[LOG]Starting Cron

Kill Existing Process : 543042
1742019842
2025-03-15 11:55:02[LOG]Starting Cron

Kill Existing Process : 543511
1742019902
2025-03-15 11:56:02[LOG]Starting Cron

Kill Existing Process : 543919
1742019962
2025-03-15 11:57:01[LOG]Starting Cron

Kill Existing Process : 544331
1742020021
2025-03-15 11:58:02[LOG]Starting Cron

Kill Existing Process : 544730
1742020082
2025-03-15 11:59:03[LOG]Starting Cron

Kill Existing Process : 545166
1742020143
2025-03-15 12:00:01[LOG]Starting Cron

Kill Existing Process : 545601
1742020201
2025-03-15 12:01:02[LOG]Starting Cron

Kill Existing Process : 546035
1742020262
2025-03-15 12:02:01[LOG]Starting Cron

Kill Existing Process : 546452
1742020321
2025-03-15 12:03:01[LOG]Starting Cron

Kill Existing Process : 546866
1742020381
2025-03-15 12:04:02[LOG]Starting Cron

Kill Existing Process : 547284
1742020442
2025-03-15 12:05:01[LOG]Starting Cron

Kill Existing Process : 547663
1742020501
2025-03-15 12:06:02[LOG]Starting Cron

Kill Existing Process : 548113
1742020562
2025-03-15 12:07:01[LOG]Starting Cron

Kill Existing Process : 548531
1742020621
2025-03-15 12:08:02[LOG]Starting Cron

Kill Existing Process : 548935
1742020682
2025-03-15 12:09:02[LOG]Starting Cron

Kill Existing Process : 549334
1742020742
2025-03-15 12:10:02[LOG]Starting Cron

Kill Existing Process : 549829
1742020802
2025-03-15 12:11:02[LOG]Starting Cron

Kill Existing Process : 550251
1742020862
2025-03-15 12:12:02[LOG]Starting Cron

Kill Existing Process : 550651
1742020922
2025-03-15 12:13:02[LOG]Starting Cron

Kill Existing Process : 551066
1742020982
2025-03-15 12:14:01[LOG]Starting Cron

Kill Existing Process : 551469
1742021041
2025-03-15 12:15:02[LOG]Starting Cron

Kill Existing Process : 551909
1742021102
2025-03-15 12:16:02[LOG]Starting Cron

Kill Existing Process : 552339
1742021162
2025-03-15 12:17:01[LOG]Starting Cron

Kill Existing Process : 552735
1742021221
2025-03-15 12:18:02[LOG]Starting Cron

Kill Existing Process : 553164
1742021282
2025-03-15 12:19:01[LOG]Starting Cron

Kill Existing Process : 553572
1742021341
2025-03-15 12:20:02[LOG]Starting Cron

Kill Existing Process : 553987
1742021402
2025-03-15 12:21:02[LOG]Starting Cron

Kill Existing Process : 554401
1742021462
2025-03-15 12:22:03[LOG]Starting Cron

Kill Existing Process : 554823
1742021523
2025-03-15 12:23:02[LOG]Starting Cron

Kill Existing Process : 555253
1742021582
2025-03-15 12:24:02[LOG]Starting Cron

Kill Existing Process : 555668
1742021642
2025-03-15 12:25:02[LOG]Starting Cron

Kill Existing Process : 556078
1742021702
2025-03-15 12:26:02[LOG]Starting Cron

Kill Existing Process : 556508
1742021762
2025-03-15 12:27:02[LOG]Starting Cron

Kill Existing Process : 556877
1742021822
2025-03-15 12:28:02[LOG]Starting Cron

Kill Existing Process : 557324
1742021882
2025-03-15 12:29:01[LOG]Starting Cron

Kill Existing Process : 557749
1742021941
2025-03-15 12:30:02[LOG]Starting Cron

Kill Existing Process : 558112
1742022002
2025-03-15 12:31:02[LOG]Starting Cron

Kill Existing Process : 558566
1742022062
2025-03-15 12:32:01[LOG]Starting Cron

Kill Existing Process : 559008
1742022121
2025-03-15 12:33:02[LOG]Starting Cron

Kill Existing Process : 559414
1742022182
2025-03-15 12:34:02[LOG]Starting Cron

Kill Existing Process : 559824
1742022242
2025-03-15 12:35:02[LOG]Starting Cron

Kill Existing Process : 560233
1742022302
2025-03-15 12:36:02[LOG]Starting Cron

Kill Existing Process : 560660
1742022362
2025-03-15 12:37:02[LOG]Starting Cron

Kill Existing Process : 561071
1742022422
2025-03-15 12:38:02[LOG]Starting Cron

Kill Existing Process : 561495
1742022482
2025-03-15 12:39:03[LOG]Starting Cron

Kill Existing Process : 561906
1742022543
2025-03-15 12:40:01[LOG]Starting Cron

Kill Existing Process : 562374
1742022601
2025-03-15 12:41:02[LOG]Starting Cron

Kill Existing Process : 562782
1742022662
2025-03-15 12:42:01[LOG]Starting Cron

Kill Existing Process : 563195
1742022721
2025-03-15 12:43:02[LOG]Starting Cron

Kill Existing Process : 563621
1742022782
2025-03-15 12:44:02[LOG]Starting Cron

Kill Existing Process : 564021
1742022842
2025-03-15 12:45:02[LOG]Starting Cron

Kill Existing Process : 564442
1742022902
2025-03-15 12:46:02[LOG]Starting Cron

Kill Existing Process : 564857
1742022962
2025-03-15 12:47:02[LOG]Starting Cron

Kill Existing Process : 565272
1742023022
2025-03-15 12:48:02[LOG]Starting Cron

Kill Existing Process : 565690
1742023082
2025-03-15 12:49:02[LOG]Starting Cron

Kill Existing Process : 566111
1742023142
2025-03-15 12:50:01[LOG]Starting Cron

Kill Existing Process : 566513
1742023201
2025-03-15 12:51:02[LOG]Starting Cron

Kill Existing Process : 566944
1742023262
2025-03-15 12:52:01[LOG]Starting Cron

Kill Existing Process : 567304
1742023321
2025-03-15 12:53:02[LOG]Starting Cron

Kill Existing Process : 567756
1742023382
2025-03-15 12:54:01[LOG]Starting Cron

Kill Existing Process : 568148
1742023441
2025-03-15 12:55:02[LOG]Starting Cron

Kill Existing Process : 568586
1742023502
2025-03-15 12:56:02[LOG]Starting Cron

Kill Existing Process : 569012
1742023562
2025-03-15 12:57:02[LOG]Starting Cron

Kill Existing Process : 569429
1742023622
2025-03-15 12:58:02[LOG]Starting Cron

Kill Existing Process : 569836
1742023682
2025-03-15 12:59:02[LOG]Starting Cron

Kill Existing Process : 570244
1742023742
2025-03-15 13:00:01[LOG]Starting Cron

Kill Existing Process : 570670
1742023801
2025-03-15 13:01:02[LOG]Starting Cron

Kill Existing Process : 571105
1742023862
2025-03-15 13:02:02[LOG]Starting Cron

Kill Existing Process : 571527
1742023922
2025-03-15 13:03:01[LOG]Starting Cron

Kill Existing Process : 571920
1742023981
2025-03-15 13:04:02[LOG]Starting Cron

Kill Existing Process : 572351
1742024042
2025-03-15 13:05:01[LOG]Starting Cron

Kill Existing Process : 572757
1742024101
2025-03-15 13:06:02[LOG]Starting Cron

Kill Existing Process : 573130
1742024162
2025-03-15 13:07:02[LOG]Starting Cron

Kill Existing Process : 573570
1742024222
2025-03-15 13:08:02[LOG]Starting Cron

Kill Existing Process : 573965
1742024282
2025-03-15 13:09:02[LOG]Starting Cron

Kill Existing Process : 574414
1742024342
2025-03-15 13:10:02[LOG]Starting Cron

Kill Existing Process : 574872
1742024402
2025-03-15 13:11:02[LOG]Starting Cron

Kill Existing Process : 575295
1742024462
2025-03-15 13:12:02[LOG]Starting Cron

Kill Existing Process : 575696
1742024522
2025-03-15 13:13:02[LOG]Starting Cron

Kill Existing Process : 576078
1742024582
2025-03-15 13:14:02[LOG]Starting Cron

Kill Existing Process : 576528
1742024642
2025-03-15 13:15:02[LOG]Starting Cron

Kill Existing Process : 576899
1742024702
2025-03-15 13:16:02[LOG]Starting Cron

Kill Existing Process : 577360
1742024762
2025-03-15 13:17:02[LOG]Starting Cron

Kill Existing Process : 577775
1742024822
2025-03-15 13:18:02[LOG]Starting Cron

Kill Existing Process : 578189
1742024882
2025-03-15 13:19:01[LOG]Starting Cron

Kill Existing Process : 578584
1742024941
2025-03-15 13:20:02[LOG]Starting Cron

Kill Existing Process : 579013
1742025002
2025-03-15 13:21:01[LOG]Starting Cron

Kill Existing Process : 579433
1742025061
2025-03-15 13:22:02[LOG]Starting Cron

Kill Existing Process : 579847
1742025122
2025-03-15 13:23:01[LOG]Starting Cron

Kill Existing Process : 580263
1742025181
2025-03-15 13:24:02[LOG]Starting Cron

Kill Existing Process : 580669
1742025242
2025-03-15 13:25:01[LOG]Starting Cron

Kill Existing Process : 581086
1742025301
2025-03-15 13:26:02[LOG]Starting Cron

Kill Existing Process : 581500
1742025362
2025-03-15 13:27:01[LOG]Starting Cron

Kill Existing Process : 581907
1742025421
2025-03-15 13:28:02[LOG]Starting Cron

Kill Existing Process : 582348
1742025482
2025-03-15 13:29:01[LOG]Starting Cron

Kill Existing Process : 582747
1742025541
2025-03-15 13:30:03[LOG]Starting Cron

Kill Existing Process : 583165
1742025603
2025-03-15 13:31:02[LOG]Starting Cron

Kill Existing Process : 583591
1742025662
2025-03-15 13:32:01[LOG]Starting Cron

Kill Existing Process : 584006
1742025721
2025-03-15 13:33:02[LOG]Starting Cron

Kill Existing Process : 584377
1742025782
2025-03-15 13:34:01[LOG]Starting Cron

Kill Existing Process : 584834
1742025841
2025-03-15 13:35:02[LOG]Starting Cron

Kill Existing Process : 585236
1742025902
2025-03-15 13:36:02[LOG]Starting Cron

Kill Existing Process : 585666
1742025962
2025-03-15 13:37:02[LOG]Starting Cron

Kill Existing Process : 586079
1742026022
2025-03-15 13:38:02[LOG]Starting Cron

Kill Existing Process : 586488
1742026082
2025-03-15 13:39:02[LOG]Starting Cron

Kill Existing Process : 586905
1742026142
2025-03-15 13:40:02[LOG]Starting Cron

Kill Existing Process : 587318
1742026202
2025-03-15 13:41:02[LOG]Starting Cron

Kill Existing Process : 587730
1742026262
2025-03-15 13:42:02[LOG]Starting Cron

Kill Existing Process : 588188
1742026322
2025-03-15 13:43:01[LOG]Starting Cron

Kill Existing Process : 588580
1742026381
2025-03-15 13:44:02[LOG]Starting Cron

Kill Existing Process : 589013
1742026442
2025-03-15 13:45:02[LOG]Starting Cron

Kill Existing Process : 589434
1742026502
2025-03-15 13:46:02[LOG]Starting Cron

Kill Existing Process : 589842
1742026562
2025-03-15 13:47:02[LOG]Starting Cron

Kill Existing Process : 590275
1742026622
2025-03-15 13:48:02[LOG]Starting Cron

Kill Existing Process : 590684
1742026682
2025-03-15 13:49:01[LOG]Starting Cron

Kill Existing Process : 591082
1742026741
2025-03-15 13:50:03[LOG]Starting Cron

Kill Existing Process : 591504
1742026803
2025-03-15 13:51:01[LOG]Starting Cron

Kill Existing Process : 591926
1742026861
2025-03-15 13:52:02[LOG]Starting Cron

Kill Existing Process : 592342
1742026922
2025-03-15 13:53:01[LOG]Starting Cron

Kill Existing Process : 592760
1742026981
2025-03-15 13:54:02[LOG]Starting Cron

Kill Existing Process : 593165
1742027042
2025-03-15 13:55:02[LOG]Starting Cron

Kill Existing Process : 593598
1742027102
2025-03-15 13:56:02[LOG]Starting Cron

Kill Existing Process : 594018
1742027162
2025-03-15 13:57:02[LOG]Starting Cron

Kill Existing Process : 594434
1742027222
2025-03-15 13:58:02[LOG]Starting Cron

Kill Existing Process : 594842
1742027282
2025-03-15 13:59:02[LOG]Starting Cron

Kill Existing Process : 595252
1742027342
2025-03-15 14:00:02[LOG]Starting Cron

Kill Existing Process : 595658
1742027402
2025-03-15 14:01:02[LOG]Starting Cron

Kill Existing Process : 596101
1742027462
2025-03-15 14:02:01[LOG]Starting Cron

Kill Existing Process : 596514
1742027521
2025-03-15 14:03:02[LOG]Starting Cron

Kill Existing Process : 596935
1742027582
2025-03-15 14:04:02[LOG]Starting Cron

Kill Existing Process : 597338
1742027642
2025-03-15 14:05:02[LOG]Starting Cron

Kill Existing Process : 597753
1742027702
2025-03-15 14:06:02[LOG]Starting Cron

Kill Existing Process : 598150
1742027762
2025-03-15 14:07:02[LOG]Starting Cron

Kill Existing Process : 598558
1742027822
2025-03-15 14:08:01[LOG]Starting Cron

Kill Existing Process : 599011
1742027881
2025-03-15 14:09:02[LOG]Starting Cron

Kill Existing Process : 599425
1742027942
2025-03-15 14:10:02[LOG]Starting Cron

Kill Existing Process : 599896
1742028002
2025-03-15 14:11:02[LOG]Starting Cron

Kill Existing Process : 600305
1742028062
2025-03-15 14:12:02[LOG]Starting Cron

Kill Existing Process : 600717
1742028122
2025-03-15 14:13:03[LOG]Starting Cron

Kill Existing Process : 601135
1742028183
2025-03-15 14:14:02[LOG]Starting Cron

Kill Existing Process : 601533
1742028242
2025-03-15 14:15:02[LOG]Starting Cron

Kill Existing Process : 601950
1742028302
2025-03-15 14:16:03[LOG]Starting Cron

Kill Existing Process : 602367
1742028363
2025-03-15 14:17:02[LOG]Starting Cron

Kill Existing Process : 602780
1742028422
2025-03-15 14:18:02[LOG]Starting Cron

Kill Existing Process : 603197
1742028482
2025-03-15 14:19:02[LOG]Starting Cron

Kill Existing Process : 603593
1742028542
2025-03-15 14:20:01[LOG]Starting Cron

Kill Existing Process : 604018
1742028601
2025-03-15 14:21:02[LOG]Starting Cron

Kill Existing Process : 604449
1742028662
2025-03-15 14:22:02[LOG]Starting Cron

Kill Existing Process : 604835
1742028722
2025-03-15 14:23:02[LOG]Starting Cron

Kill Existing Process : 605271
1742028782
2025-03-15 14:24:02[LOG]Starting Cron

Kill Existing Process : 605701
1742028842
2025-03-15 14:25:02[LOG]Starting Cron

Kill Existing Process : 606088
1742028902
2025-03-15 14:26:02[LOG]Starting Cron

Kill Existing Process : 606531
1742028962
2025-03-15 14:27:02[LOG]Starting Cron

Kill Existing Process : 606941
1742029022
2025-03-15 14:28:02[LOG]Starting Cron

Kill Existing Process : 607367
1742029082
2025-03-15 14:29:01[LOG]Starting Cron

Kill Existing Process : 607775
1742029141
2025-03-15 14:30:02[LOG]Starting Cron

Kill Existing Process : 608187
1742029202
2025-03-15 14:31:02[LOG]Starting Cron

Kill Existing Process : 608614
1742029262
2025-03-15 14:32:01[LOG]Starting Cron

Kill Existing Process : 609026
1742029321
2025-03-15 14:33:03[LOG]Starting Cron

Kill Existing Process : 609440
1742029383
2025-03-15 14:34:01[LOG]Starting Cron

Kill Existing Process : 609863
1742029441
2025-03-15 14:35:02[LOG]Starting Cron

Kill Existing Process : 610263
1742029502
2025-03-15 14:36:02[LOG]Starting Cron

Kill Existing Process : 610698
1742029562
2025-03-15 14:37:02[LOG]Starting Cron

Kill Existing Process : 611107
1742029622
2025-03-15 14:38:02[LOG]Starting Cron

Kill Existing Process : 611528
1742029682
2025-03-15 14:39:01[LOG]Starting Cron

Kill Existing Process : 611931
1742029741
2025-03-15 14:40:02[LOG]Starting Cron

Kill Existing Process : 612390
1742029802
2025-03-15 14:41:02[LOG]Starting Cron

Kill Existing Process : 612793
1742029862
2025-03-15 14:42:02[LOG]Starting Cron

Kill Existing Process : 613216
1742029922
2025-03-15 14:43:02[LOG]Starting Cron

Kill Existing Process : 613640
1742029982
2025-03-15 14:44:03[LOG]Starting Cron

Kill Existing Process : 614051
1742030043
2025-03-15 14:45:01[LOG]Starting Cron

Kill Existing Process : 614451
1742030101
2025-03-15 14:46:03[LOG]Starting Cron

Kill Existing Process : 614875
1742030163
2025-03-15 14:47:01[LOG]Starting Cron

Kill Existing Process : 615261
1742030221
2025-03-15 14:48:02[LOG]Starting Cron

Kill Existing Process : 615710
1742030282
2025-03-15 14:49:02[LOG]Starting Cron

Kill Existing Process : 616113
1742030342
2025-03-15 14:50:02[LOG]Starting Cron

Kill Existing Process : 616537
1742030402
2025-03-15 14:51:01[LOG]Starting Cron

Kill Existing Process : 616949
1742030461
2025-03-15 14:52:02[LOG]Starting Cron

Kill Existing Process : 617364
1742030522
2025-03-15 14:53:01[LOG]Starting Cron

Kill Existing Process : 617779
1742030581
2025-03-15 14:54:02[LOG]Starting Cron

Kill Existing Process : 618190
1742030642
2025-03-15 14:55:02[LOG]Starting Cron

Kill Existing Process : 618598
1742030702
2025-03-15 14:56:03[LOG]Starting Cron

Kill Existing Process : 619044
1742030763
2025-03-15 14:57:02[LOG]Starting Cron

Kill Existing Process : 619454
1742030822
2025-03-15 14:58:01[LOG]Starting Cron

Kill Existing Process : 619865
1742030881
2025-03-15 14:59:02[LOG]Starting Cron

Kill Existing Process : 620266
1742030942
2025-03-15 15:00:02[LOG]Starting Cron

Kill Existing Process : 620687
1742031002
2025-03-15 15:01:02[LOG]Starting Cron

Kill Existing Process : 621138
1742031062
2025-03-15 15:02:02[LOG]Starting Cron

Kill Existing Process : 621538
1742031122
2025-03-15 15:03:01[LOG]Starting Cron

Kill Existing Process : 621979
1742031181
2025-03-15 15:04:02[LOG]Starting Cron

Kill Existing Process : 622389
1742031242
2025-03-15 15:05:02[LOG]Starting Cron

Kill Existing Process : 622800
1742031302
2025-03-15 15:06:02[LOG]Starting Cron

Kill Existing Process : 623218
1742031362
2025-03-15 15:07:02[LOG]Starting Cron

Kill Existing Process : 623633
1742031422
2025-03-15 15:08:01[LOG]Starting Cron

Kill Existing Process : 624049
1742031481
2025-03-15 15:09:02[LOG]Starting Cron

Kill Existing Process : 624460
1742031542
2025-03-15 15:10:02[LOG]Starting Cron

Kill Existing Process : 624921
1742031602
2025-03-15 15:11:02[LOG]Starting Cron

Kill Existing Process : 625335
1742031662
2025-03-15 15:12:02[LOG]Starting Cron

Kill Existing Process : 625748
1742031722
2025-03-15 15:13:01[LOG]Starting Cron

Kill Existing Process : 626180
1742031781
2025-03-15 15:14:02[LOG]Starting Cron

Kill Existing Process : 626591
1742031842
2025-03-15 15:15:01[LOG]Starting Cron

Kill Existing Process : 626962
1742031901
2025-03-15 15:16:02[LOG]Starting Cron

Kill Existing Process : 627418
1742031962
2025-03-15 15:17:02[LOG]Starting Cron

Kill Existing Process : 627834
1742032022
2025-03-15 15:18:02[LOG]Starting Cron

Kill Existing Process : 628224
1742032082
2025-03-15 15:19:01[LOG]Starting Cron

Kill Existing Process : 628690
1742032141
2025-03-15 15:20:02[LOG]Starting Cron

Kill Existing Process : 629107
1742032202
2025-03-15 15:21:01[LOG]Starting Cron

Kill Existing Process : 629523
1742032261
2025-03-15 15:22:02[LOG]Starting Cron

Kill Existing Process : 629917
1742032322
2025-03-15 15:23:01[LOG]Starting Cron

Kill Existing Process : 630339
1742032381
2025-03-15 15:24:03[LOG]Starting Cron

Kill Existing Process : 630766
1742032443
2025-03-15 15:25:02[LOG]Starting Cron

Kill Existing Process : 631141
1742032502
2025-03-15 15:26:02[LOG]Starting Cron

Kill Existing Process : 631601
1742032562
2025-03-15 15:27:02[LOG]Starting Cron

Kill Existing Process : 632018
1742032622
2025-03-15 15:28:02[LOG]Starting Cron

Kill Existing Process : 632428
1742032682
2025-03-15 15:29:01[LOG]Starting Cron

Kill Existing Process : 632858
1742032741
2025-03-15 15:30:02[LOG]Starting Cron

Kill Existing Process : 633250
1742032802
2025-03-15 15:31:02[LOG]Starting Cron

Kill Existing Process : 633684
1742032862
2025-03-15 15:32:01[LOG]Starting Cron

Kill Existing Process : 634116
1742032921
2025-03-15 15:33:02[LOG]Starting Cron

Kill Existing Process : 634528
1742032982
2025-03-15 15:34:01[LOG]Starting Cron

Kill Existing Process : 634946
1742033041
2025-03-15 15:35:02[LOG]Starting Cron

Kill Existing Process : 635353
1742033102
2025-03-15 15:36:02[LOG]Starting Cron

Kill Existing Process : 635749
1742033162
2025-03-15 15:37:02[LOG]Starting Cron

Kill Existing Process : 636176
1742033222
2025-03-15 15:38:01[LOG]Starting Cron

Kill Existing Process : 636611
1742033281
2025-03-15 15:39:02[LOG]Starting Cron

Kill Existing Process : 637021
1742033342
2025-03-15 15:40:01[LOG]Starting Cron

Kill Existing Process : 637473
1742033401
2025-03-15 15:41:02[LOG]Starting Cron

Kill Existing Process : 637898
1742033462
2025-03-15 15:42:01[LOG]Starting Cron

Kill Existing Process : 638312
1742033521
2025-03-15 15:43:02[LOG]Starting Cron

Kill Existing Process : 638732
1742033582
2025-03-15 15:44:01[LOG]Starting Cron

Kill Existing Process : 639145
1742033641
2025-03-15 15:45:02[LOG]Starting Cron

Kill Existing Process : 639560
1742033702
2025-03-15 15:46:02[LOG]Starting Cron

Kill Existing Process : 639957
1742033762
2025-03-15 15:47:01[LOG]Starting Cron

Kill Existing Process : 640411
1742033821
2025-03-15 15:48:02[LOG]Starting Cron

Kill Existing Process : 640823
1742033882
2025-03-15 15:49:01[LOG]Starting Cron

Kill Existing Process : 641249
1742033941
2025-03-15 15:50:02[LOG]Starting Cron

Kill Existing Process : 641649
1742034002
2025-03-15 15:51:01[LOG]Starting Cron

Kill Existing Process : 642078
1742034061
2025-03-15 15:52:02[LOG]Starting Cron

Kill Existing Process : 642487
1742034122
2025-03-15 15:53:02[LOG]Starting Cron

Kill Existing Process : 642901
1742034182
2025-03-15 15:54:02[LOG]Starting Cron

Kill Existing Process : 643311
1742034242
2025-03-15 15:55:02[LOG]Starting Cron

Kill Existing Process : 643710
1742034302
2025-03-15 15:56:02[LOG]Starting Cron

Kill Existing Process : 644148
1742034362
2025-03-15 15:57:02[LOG]Starting Cron

Kill Existing Process : 644565
1742034422
2025-03-15 15:58:02[LOG]Starting Cron

Kill Existing Process : 644974
1742034482
2025-03-15 15:59:01[LOG]Starting Cron

Kill Existing Process : 645386
1742034541
2025-03-15 16:00:03[LOG]Starting Cron

Kill Existing Process : 645794
1742034603
2025-03-15 16:01:02[LOG]Starting Cron

Kill Existing Process : 646205
1742034662
2025-03-15 16:02:01[LOG]Starting Cron

Kill Existing Process : 646654
1742034721
2025-03-15 16:03:02[LOG]Starting Cron

Kill Existing Process : 647066
1742034782
2025-03-15 16:04:01[LOG]Starting Cron

Kill Existing Process : 647472
1742034841
2025-03-15 16:05:02[LOG]Starting Cron

Kill Existing Process : 647877
1742034902
2025-03-15 16:06:02[LOG]Starting Cron

Kill Existing Process : 648306
1742034962
2025-03-15 16:07:02[LOG]Starting Cron

Kill Existing Process : 648724
1742035022
2025-03-15 16:08:01[LOG]Starting Cron

Kill Existing Process : 649126
1742035081
2025-03-15 16:09:02[LOG]Starting Cron

Kill Existing Process : 649537
1742035142
2025-03-15 16:10:03[LOG]Starting Cron

Kill Existing Process : 649976
1742035203
2025-03-15 16:11:02[LOG]Starting Cron

Kill Existing Process : 650371
1742035262
2025-03-15 16:12:01[LOG]Starting Cron

Kill Existing Process : 650838
1742035321
2025-03-15 16:13:02[LOG]Starting Cron

Kill Existing Process : 651248
1742035382
2025-03-15 16:14:01[LOG]Starting Cron

Kill Existing Process : 651657
1742035441
2025-03-15 16:15:02[LOG]Starting Cron

Kill Existing Process : 652064
1742035502
2025-03-15 16:16:02[LOG]Starting Cron

Kill Existing Process : 652485
1742035562
2025-03-15 16:17:02[LOG]Starting Cron

Kill Existing Process : 652891
1742035622
2025-03-15 16:18:03[LOG]Starting Cron

Kill Existing Process : 653308
1742035683
2025-03-15 16:19:01[LOG]Starting Cron

Kill Existing Process : 653706
1742035741
{"compaign_id":"36045","contact_id":"121","total_duration":"23","answer_duration":34,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36045_121","uid":"u491","unique_id":"36045_121_138-u491","ivrId":200,"channelOTime":1742035713,"channelDTime":1742035761,"channelDuration":48,"cSTime":1742035727,"cETime":1742035761,"cDuration":34,"status":"answered","ivrExecuteFlow":"#1","recordingName":0,"receiver":"07388017773","server_ip":"118.185.137.196","insertTime":1742035761,"ivrData":{"#1":["Attention SOS alert from S I S Vehicle MH12SX8386-MHA at 15.03.2025 16:18:30 near Tasagaon - Sangli Road, Sangli Miraj Kupwad, Miraj, Sangli, Maharashtra 416406, India."],"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742035715,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":"1","busy":0,"congestion":"2","other":"1"},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#1":[{"startTime":1742035727,"endTime":1742035751,"duration":24}],"#2":[{"startTime":1742035727,"endTime":1742035761,"duration":34}]},"callType":"obd","process":0,"duration":23}}
Array
(
    [compaign_id] => 36045
    [contact_id] => 121
    [total_duration] => 23
    [answer_duration] => 34
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36045_121
            [uid] => u491
            [unique_id] => 36045_121_138-u491
            [ivrId] => 200
            [channelOTime] => 1742035713
            [channelDTime] => 1742035761
            [channelDuration] => 48
            [cSTime] => 1742035727
            [cETime] => 1742035761
            [cDuration] => 34
            [status] => answered
            [ivrExecuteFlow] => #1
            [recordingName] => 0
            [receiver] => 07388017773
            [server_ip] => 118.185.137.196
            [insertTime] => 1742035761
            [ivrData] => Array
                (
                    [#1] => Array
                        (
                            [0] => Attention SOS alert from S I S Vehicle MH12SX8386-MHA at 15.03.2025 16:18:30 near Tasagaon - Sangli Road, Sangli Miraj Kupwad, Miraj, Sangli, Maharashtra 416406, India.
                        )

                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742035715
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 1
                    [busy] => 0
                    [congestion] => 2
                    [other] => 1
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#1] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742035727
                                    [endTime] => 1742035751
                                    [duration] => 24
                                )

                        )

                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742035727
                                    [endTime] => 1742035761
                                    [duration] => 34
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 23
        )

)
 

 --------------------------------------------- 

 

 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36045' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168348
    [user_id] => u491
    [user_type] => user
    [compaign_id] => 36045
    [plan_type] => answered
    [no_of_pulse] => 2
    [pulse] => 30
    [pulse_rate] => 0.35
    [amount] => 0.7
    [type] => D
    [create_date] => 1742001890
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u491
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 14333.249999999307
    [total_voice_amount] => 15000
    [voice_amount_validity] => 1747560916
    [create_date] => 1725272962
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 890
    [user_id] => u491
    [voice_plan_id] => 55
    [pulse] => 30
    [pulse_rate] => 0.35
    [real_pulsing] => 0
    [create_date] => 1725273775
    [create_by] => r54
    [update_date] => 1726650198
    [update_by] => r54
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.35, no_of_pulse=no_of_pulse+1, pulse=30, pulse_rate=0.35 WHERE id=168348 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.35 WHERE user_id='u491' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168349
    [user_id] => r54
    [user_type] => reseller
    [compaign_id] => 36045
    [plan_type] => answered
    [no_of_pulse] => 2
    [pulse] => 30
    [pulse_rate] => 0.18
    [amount] => 0.36
    [type] => D
    [create_date] => 1742001890
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => r54
    [user_type] => reseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => 0.6
    [seconds_rate] => -1
    [max_allowed_hits] => -1
    [voice_amount] => 6687.099999999446
    [total_voice_amount] => 7030
    [voice_amount_validity] => 1756808964
    [create_date] => 1725272236
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 888
    [user_id] => r54
    [voice_plan_id] => 55
    [pulse] => 30
    [pulse_rate] => 0.18
    [real_pulsing] => 0
    [create_date] => 1725273046
    [create_by] => admin11
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.18, no_of_pulse=no_of_pulse+1, pulse=30, pulse_rate=0.18 WHERE id=168349 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.18 WHERE user_id='r54' LIMIT 1  

 1742035763
2025-03-15 16:20:02[LOG]Starting Cron
2025-03-15 16:20:02[LOG]Process is already running
2025-03-15 16:21:01[LOG]Starting Cron

Kill Existing Process : 654103
1742035861
2025-03-15 16:22:02[LOG]Starting Cron

Kill Existing Process : 654958
1742035922
2025-03-15 16:23:02[LOG]Starting Cron

Kill Existing Process : 655372
1742035982
2025-03-15 16:24:03[LOG]Starting Cron

Kill Existing Process : 655784
1742036043
2025-03-15 16:25:02[LOG]Starting Cron

Kill Existing Process : 656200
1742036102
2025-03-15 16:26:01[LOG]Starting Cron

Kill Existing Process : 656599
1742036161
2025-03-15 16:27:02[LOG]Starting Cron

Kill Existing Process : 657020
1742036222
2025-03-15 16:28:02[LOG]Starting Cron

Kill Existing Process : 657449
1742036282
2025-03-15 16:29:01[LOG]Starting Cron

Kill Existing Process : 657867
1742036341
2025-03-15 16:30:03[LOG]Starting Cron

Kill Existing Process : 658280
1742036403
2025-03-15 16:31:02[LOG]Starting Cron

Kill Existing Process : 658717
1742036462
2025-03-15 16:32:02[LOG]Starting Cron

Kill Existing Process : 659127
1742036522
2025-03-15 16:33:02[LOG]Starting Cron

Kill Existing Process : 659560
1742036582
2025-03-15 16:34:01[LOG]Starting Cron

Kill Existing Process : 659964
1742036641
2025-03-15 16:35:02[LOG]Starting Cron

Kill Existing Process : 660347
1742036702
2025-03-15 16:36:02[LOG]Starting Cron

Kill Existing Process : 660770
1742036762
2025-03-15 16:37:02[LOG]Starting Cron

Kill Existing Process : 661209
1742036822
2025-03-15 16:38:01[LOG]Starting Cron

Kill Existing Process : 661630
1742036881
2025-03-15 16:39:02[LOG]Starting Cron

Kill Existing Process : 662032
1742036942
2025-03-15 16:40:02[LOG]Starting Cron

Kill Existing Process : 662498
1742037002
2025-03-15 16:41:03[LOG]Starting Cron

Kill Existing Process : 662916
1742037063
2025-03-15 16:42:02[LOG]Starting Cron

Kill Existing Process : 663302
1742037122
2025-03-15 16:43:02[LOG]Starting Cron

Kill Existing Process : 663713
1742037182
2025-03-15 16:44:02[LOG]Starting Cron

Kill Existing Process : 664160
1742037242
2025-03-15 16:45:02[LOG]Starting Cron

Kill Existing Process : 664551
1742037302
2025-03-15 16:46:02[LOG]Starting Cron

Kill Existing Process : 664991
1742037362
2025-03-15 16:47:02[LOG]Starting Cron

Kill Existing Process : 665393
1742037422
2025-03-15 16:48:02[LOG]Starting Cron

Kill Existing Process : 665803
1742037482
2025-03-15 16:49:01[LOG]Starting Cron

Kill Existing Process : 666222
1742037541
2025-03-15 16:50:02[LOG]Starting Cron

Kill Existing Process : 666647
1742037602
2025-03-15 16:51:02[LOG]Starting Cron

Kill Existing Process : 667069
1742037662
2025-03-15 16:52:01[LOG]Starting Cron

Kill Existing Process : 667472
1742037721
2025-03-15 16:53:03[LOG]Starting Cron

Kill Existing Process : 667892
1742037783
2025-03-15 16:54:02[LOG]Starting Cron

Kill Existing Process : 668285
1742037842
2025-03-15 16:55:03[LOG]Starting Cron

Kill Existing Process : 668725
1742037903
2025-03-15 16:56:01[LOG]Starting Cron

Kill Existing Process : 669147
1742037961
2025-03-15 16:57:02[LOG]Starting Cron

Kill Existing Process : 669552
1742038022
2025-03-15 16:58:02[LOG]Starting Cron

Kill Existing Process : 669979
1742038082
2025-03-15 16:59:02[LOG]Starting Cron

Kill Existing Process : 670386
1742038142
2025-03-15 17:00:02[LOG]Starting Cron

Kill Existing Process : 670791
1742038202
2025-03-15 17:01:02[LOG]Starting Cron

Kill Existing Process : 671239
1742038262
2025-03-15 17:02:03[LOG]Starting Cron

Kill Existing Process : 671674
1742038323
2025-03-15 17:03:02[LOG]Starting Cron

Kill Existing Process : 672083
1742038382
2025-03-15 17:04:02[LOG]Starting Cron

Kill Existing Process : 672494
1742038442
2025-03-15 17:05:02[LOG]Starting Cron

Kill Existing Process : 672911
1742038502
2025-03-15 17:06:02[LOG]Starting Cron

Kill Existing Process : 673320
1742038562
2025-03-15 17:07:02[LOG]Starting Cron

Kill Existing Process : 673695
1742038622
2025-03-15 17:08:01[LOG]Starting Cron

Kill Existing Process : 674150
1742038681
2025-03-15 17:09:02[LOG]Starting Cron

Kill Existing Process : 674558
1742038742
2025-03-15 17:10:01[LOG]Starting Cron

Kill Existing Process : 674996
1742038801
2025-03-15 17:11:02[LOG]Starting Cron

Kill Existing Process : 675435
1742038862
2025-03-15 17:12:01[LOG]Starting Cron

Kill Existing Process : 675848
1742038921
2025-03-15 17:13:02[LOG]Starting Cron

Kill Existing Process : 676278
1742038982
2025-03-15 17:14:01[LOG]Starting Cron

Kill Existing Process : 676703
1742039041
2025-03-15 17:15:02[LOG]Starting Cron

Kill Existing Process : 677098
1742039102
2025-03-15 17:16:02[LOG]Starting Cron

Kill Existing Process : 677502
1742039162
2025-03-15 17:17:01[LOG]Starting Cron

Kill Existing Process : 677956
1742039221
2025-03-15 17:18:02[LOG]Starting Cron

Kill Existing Process : 678372
1742039282
2025-03-15 17:19:01[LOG]Starting Cron

Kill Existing Process : 678797
1742039341
2025-03-15 17:20:02[LOG]Starting Cron

Kill Existing Process : 679210
1742039402
2025-03-15 17:21:01[LOG]Starting Cron

Kill Existing Process : 679626
1742039461
2025-03-15 17:22:02[LOG]Starting Cron

Kill Existing Process : 680038
1742039522
2025-03-15 17:23:02[LOG]Starting Cron

Kill Existing Process : 680444
1742039582
2025-03-15 17:24:02[LOG]Starting Cron

Kill Existing Process : 680873
1742039642
2025-03-15 17:25:01[LOG]Starting Cron

Kill Existing Process : 681290
1742039701
2025-03-15 17:26:02[LOG]Starting Cron

Kill Existing Process : 681703
1742039762
2025-03-15 17:27:01[LOG]Starting Cron

Kill Existing Process : 682112
1742039821
2025-03-15 17:28:03[LOG]Starting Cron

Kill Existing Process : 682532
1742039883
2025-03-15 17:29:01[LOG]Starting Cron

Kill Existing Process : 682935
1742039941
2025-03-15 17:30:02[LOG]Starting Cron

Kill Existing Process : 683365
1742040002
2025-03-15 17:31:02[LOG]Starting Cron

Kill Existing Process : 683803
1742040062
2025-03-15 17:32:01[LOG]Starting Cron

Kill Existing Process : 684232
1742040121
2025-03-15 17:33:02[LOG]Starting Cron

Kill Existing Process : 684648
1742040182
2025-03-15 17:34:01[LOG]Starting Cron

Kill Existing Process : 685069
1742040241
2025-03-15 17:35:02[LOG]Starting Cron

Kill Existing Process : 685473
1742040302
2025-03-15 17:36:02[LOG]Starting Cron

Kill Existing Process : 685842
1742040362
2025-03-15 17:37:02[LOG]Starting Cron

Kill Existing Process : 686310
1742040422
2025-03-15 17:38:02[LOG]Starting Cron

Kill Existing Process : 686734
1742040482
2025-03-15 17:39:01[LOG]Starting Cron

Kill Existing Process : 687138
1742040541
2025-03-15 17:40:02[LOG]Starting Cron

Kill Existing Process : 687601
1742040602
2025-03-15 17:41:02[LOG]Starting Cron

Kill Existing Process : 688013
1742040662
2025-03-15 17:42:02[LOG]Starting Cron

Kill Existing Process : 688412
1742040722
2025-03-15 17:43:02[LOG]Starting Cron

Kill Existing Process : 688858
1742040782
2025-03-15 17:44:02[LOG]Starting Cron

Kill Existing Process : 689267
1742040842
2025-03-15 17:45:02[LOG]Starting Cron

Kill Existing Process : 689675
1742040902
2025-03-15 17:46:01[LOG]Starting Cron

Kill Existing Process : 690096
1742040961
2025-03-15 17:47:02[LOG]Starting Cron

Kill Existing Process : 690510
1742041022
2025-03-15 17:48:01[LOG]Starting Cron

Kill Existing Process : 690929
1742041081
2025-03-15 17:49:02[LOG]Starting Cron

Kill Existing Process : 691330
1742041142
2025-03-15 17:50:02[LOG]Starting Cron

Kill Existing Process : 691747
1742041202
2025-03-15 17:51:02[LOG]Starting Cron

Kill Existing Process : 692181
1742041262
2025-03-15 17:52:01[LOG]Starting Cron

Kill Existing Process : 692590
1742041321
2025-03-15 17:53:02[LOG]Starting Cron

Kill Existing Process : 693003
1742041382
2025-03-15 17:54:01[LOG]Starting Cron

Kill Existing Process : 693421
1742041441
2025-03-15 17:55:02[LOG]Starting Cron

Kill Existing Process : 693836
1742041502
2025-03-15 17:56:01[LOG]Starting Cron

Kill Existing Process : 694234
1742041561
2025-03-15 17:57:02[LOG]Starting Cron

Kill Existing Process : 694676
1742041622
2025-03-15 17:58:01[LOG]Starting Cron

Kill Existing Process : 695070
1742041681
2025-03-15 17:59:02[LOG]Starting Cron

Kill Existing Process : 695501
1742041742
2025-03-15 18:00:02[LOG]Starting Cron

Kill Existing Process : 695902
1742041802
2025-03-15 18:01:02[LOG]Starting Cron

Kill Existing Process : 696350
1742041862
2025-03-15 18:02:02[LOG]Starting Cron

Kill Existing Process : 696755
1742041922
{"compaign_id":"36075","contact_id":"2","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2","uid":"u595","unique_id":"36075_2_138-u595","ivrId":"3158","channelOTime":1742041924,"channelDTime":1742041953,"channelDuration":29,"cSTime":1742041932,"cETime":1742041953,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09376498182","server_ip":"118.185.137.196","insertTime":1742041953,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742041925,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742041932,"endTime":1742041948,"duration":16}],"#3":[{"startTime":1742041948,"endTime":1742041953,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2
            [uid] => u595
            [unique_id] => 36075_2_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742041924
            [channelDTime] => 1742041953
            [channelDuration] => 29
            [cSTime] => 1742041932
            [cETime] => 1742041953
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09376498182
            [server_ip] => 118.185.137.196
            [insertTime] => 1742041953
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742041925
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742041932
                                    [endTime] => 1742041948
                                    [duration] => 16
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742041948
                                    [endTime] => 1742041953
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 0
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95.76000000000009
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 0
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96933.33000001388
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742041955
{"compaign_id":"36075","contact_id":"1","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1","uid":"u595","unique_id":"36075_1_138-u595","ivrId":"3158","channelOTime":1742041924,"channelDTime":1742041959,"channelDuration":35,"cSTime":1742041937,"cETime":1742041959,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09172699346","server_ip":"118.185.137.196","insertTime":1742041959,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742041926,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742041937,"endTime":1742041953,"duration":16}],"#3":[{"startTime":1742041953,"endTime":1742041959,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1
            [uid] => u595
            [unique_id] => 36075_1_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742041924
            [channelDTime] => 1742041959
            [channelDuration] => 35
            [cSTime] => 1742041937
            [cETime] => 1742041959
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09172699346
            [server_ip] => 118.185.137.196
            [insertTime] => 1742041959
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742041926
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742041937
                                    [endTime] => 1742041953
                                    [duration] => 16
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742041953
                                    [endTime] => 1742041959
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.16
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95.6000000000001
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.16
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96933.17000001388
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742041960
2025-03-15 18:03:01[LOG]Starting Cron
2025-03-15 18:03:01[LOG]Process is already running
2025-03-15 18:04:02[LOG]Starting Cron

Kill Existing Process : 697168
1742042042
2025-03-15 18:05:02[LOG]Starting Cron

Kill Existing Process : 698004
1742042102
2025-03-15 18:06:02[LOG]Starting Cron

Kill Existing Process : 698415
1742042162
2025-03-15 18:07:03[LOG]Starting Cron

Kill Existing Process : 698804
1742042223
2025-03-15 18:08:02[LOG]Starting Cron

Kill Existing Process : 699255
1742042282
2025-03-15 18:09:02[LOG]Starting Cron

Kill Existing Process : 699663
1742042342
2025-03-15 18:10:02[LOG]Starting Cron

Kill Existing Process : 700100
1742042402
2025-03-15 18:11:01[LOG]Starting Cron

Kill Existing Process : 700529
1742042461
2025-03-15 18:12:02[LOG]Starting Cron

Kill Existing Process : 700961
1742042522
2025-03-15 18:13:01[LOG]Starting Cron

Kill Existing Process : 701384
1742042581
2025-03-15 18:14:02[LOG]Starting Cron

Kill Existing Process : 701797
1742042642
2025-03-15 18:15:01[LOG]Starting Cron

Kill Existing Process : 702187
1742042701
2025-03-15 18:16:02[LOG]Starting Cron

Kill Existing Process : 702646
1742042762
2025-03-15 18:17:02[LOG]Starting Cron

Kill Existing Process : 703059
1742042822
2025-03-15 18:18:02[LOG]Starting Cron

Kill Existing Process : 703482
1742042882
{"compaign_id":"36075","contact_id":"4","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4","uid":"u595","unique_id":"36075_4_138-u595","ivrId":"3158","channelOTime":1742042871,"channelDTime":1742042896,"channelDuration":25,"cSTime":1742042875,"cETime":1742042896,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09376498182","server_ip":"118.185.137.196","insertTime":1742042896,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742042872,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742042875,"endTime":1742042890,"duration":15}],"#3":[{"startTime":1742042890,"endTime":1742042896,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4
            [uid] => u595
            [unique_id] => 36075_4_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742042871
            [channelDTime] => 1742042896
            [channelDuration] => 25
            [cSTime] => 1742042875
            [cETime] => 1742042896
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09376498182
            [server_ip] => 118.185.137.196
            [insertTime] => 1742042896
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742042872
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742042875
                                    [endTime] => 1742042890
                                    [duration] => 15
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742042890
                                    [endTime] => 1742042896
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 4
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.32
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95.4400000000001
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 4
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.32
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96932.57000001387
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742042897
{"compaign_id":"36075","contact_id":"3","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3","uid":"u595","unique_id":"36075_3_138-u595","ivrId":"3158","channelOTime":1742042871,"channelDTime":1742042899,"channelDuration":28,"cSTime":1742042879,"cETime":1742042899,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09172699346","server_ip":"118.185.137.196","insertTime":1742042899,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742042874,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742042879,"endTime":1742042894,"duration":15}],"#3":[{"startTime":1742042894,"endTime":1742042899,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3
            [uid] => u595
            [unique_id] => 36075_3_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742042871
            [channelDTime] => 1742042899
            [channelDuration] => 28
            [cSTime] => 1742042879
            [cETime] => 1742042899
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09172699346
            [server_ip] => 118.185.137.196
            [insertTime] => 1742042899
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742042874
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742042879
                                    [endTime] => 1742042894
                                    [duration] => 15
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742042894
                                    [endTime] => 1742042899
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 6
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.48
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95.2800000000001
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 6
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.48
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96932.41000001387
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742042901
2025-03-15 18:19:02[LOG]Starting Cron
2025-03-15 18:19:02[LOG]Process is already running
2025-03-15 18:20:02[LOG]Starting Cron

Kill Existing Process : 703901
1742043002
2025-03-15 18:21:01[LOG]Starting Cron

Kill Existing Process : 704707
1742043061
2025-03-15 18:22:02[LOG]Starting Cron

Kill Existing Process : 705134
1742043122
2025-03-15 18:23:02[LOG]Starting Cron

Kill Existing Process : 705557
1742043182
2025-03-15 18:24:01[LOG]Starting Cron

Kill Existing Process : 705961
1742043241
2025-03-15 18:25:02[LOG]Starting Cron

Kill Existing Process : 706378
1742043302
2025-03-15 18:26:02[LOG]Starting Cron

Kill Existing Process : 706805
1742043362
2025-03-15 18:27:03[LOG]Starting Cron

Kill Existing Process : 707218
1742043423
2025-03-15 18:28:02[LOG]Starting Cron

Kill Existing Process : 707616
1742043482
2025-03-15 18:29:03[LOG]Starting Cron

Kill Existing Process : 708048
1742043543
2025-03-15 18:30:02[LOG]Starting Cron

Kill Existing Process : 708464
1742043602
{"compaign_id":"36075","contact_id":"7","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7","uid":"u595","unique_id":"36075_7_138-u595","ivrId":"3158","channelOTime":1742043589,"channelDTime":1742043604,"channelDuration":15,"cSTime":1742043598,"cETime":1742043604,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09429982882","server_ip":"118.185.137.196","insertTime":1742043604,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742043593,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7
            [uid] => u595
            [unique_id] => 36075_7_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742043589
            [channelDTime] => 1742043604
            [channelDuration] => 15
            [cSTime] => 1742043598
            [cETime] => 1742043604
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09429982882
            [server_ip] => 118.185.137.196
            [insertTime] => 1742043604
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742043593
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 8
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.64
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95.1200000000001
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 8
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.64
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96932.25000001387
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742043606
{"compaign_id":"36075","contact_id":"5","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5","uid":"u595","unique_id":"36075_5_138-u595","ivrId":"3158","channelOTime":1742043589,"channelDTime":1742043612,"channelDuration":23,"cSTime":1742043592,"cETime":1742043612,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09376498182","server_ip":"118.185.137.196","insertTime":1742043612,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742043590,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742043592,"endTime":1742043606,"duration":14}],"#3":[{"startTime":1742043606,"endTime":1742043612,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5
            [uid] => u595
            [unique_id] => 36075_5_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742043589
            [channelDTime] => 1742043612
            [channelDuration] => 23
            [cSTime] => 1742043592
            [cETime] => 1742043612
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09376498182
            [server_ip] => 118.185.137.196
            [insertTime] => 1742043612
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742043590
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742043592
                                    [endTime] => 1742043606
                                    [duration] => 14
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742043606
                                    [endTime] => 1742043612
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 9
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.72
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95.0400000000001
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 9
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.72
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96932.17000001387
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742043614
{"compaign_id":"36075","contact_id":"8","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8","uid":"u595","unique_id":"36075_8_138-u595","ivrId":"3158","channelOTime":1742043589,"channelDTime":1742043614,"channelDuration":25,"cSTime":1742043593,"cETime":1742043614,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08849583687","server_ip":"118.185.137.196","insertTime":1742043614,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742043591,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742043593,"endTime":1742043609,"duration":16}],"#3":[{"startTime":1742043609,"endTime":1742043614,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8
            [uid] => u595
            [unique_id] => 36075_8_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742043589
            [channelDTime] => 1742043614
            [channelDuration] => 25
            [cSTime] => 1742043593
            [cETime] => 1742043614
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08849583687
            [server_ip] => 118.185.137.196
            [insertTime] => 1742043614
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742043591
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742043593
                                    [endTime] => 1742043609
                                    [duration] => 16
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742043609
                                    [endTime] => 1742043614
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 11
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.88
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94.88000000000011
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 11
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 0.88
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96932.01000001386
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742043616
{"compaign_id":"36075","contact_id":"6","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6","uid":"u595","unique_id":"36075_6_138-u595","ivrId":"3158","channelOTime":1742043589,"channelDTime":1742043619,"channelDuration":30,"cSTime":1742043598,"cETime":1742043619,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09081754474","server_ip":"118.185.137.196","insertTime":1742043619,"ivrData":{"#2":["2"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742043590,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742043598,"endTime":1742043619,"duration":21}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6
            [uid] => u595
            [unique_id] => 36075_6_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742043589
            [channelDTime] => 1742043619
            [channelDuration] => 30
            [cSTime] => 1742043598
            [cETime] => 1742043619
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09081754474
            [server_ip] => 118.185.137.196
            [insertTime] => 1742043619
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 2
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742043590
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742043598
                                    [endTime] => 1742043619
                                    [duration] => 21
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 13
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.04
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94.72000000000011
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 13
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.04
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96931.85000001386
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742043621
2025-03-15 18:31:01[LOG]Starting Cron
2025-03-15 18:31:01[LOG]Process is already running
2025-03-15 18:32:02[LOG]Starting Cron

Kill Existing Process : 708895
1742043722
2025-03-15 18:33:02[LOG]Starting Cron

Kill Existing Process : 709731
1742043782
2025-03-15 18:34:01[LOG]Starting Cron

Kill Existing Process : 710140
1742043841
2025-03-15 18:35:02[LOG]Starting Cron

Kill Existing Process : 710501
1742043902
2025-03-15 18:36:01[LOG]Starting Cron

Kill Existing Process : 710977
1742043961
2025-03-15 18:37:02[LOG]Starting Cron

Kill Existing Process : 711390
1742044022
2025-03-15 18:38:01[LOG]Starting Cron

Kill Existing Process : 711817
1742044081
2025-03-15 18:39:02[LOG]Starting Cron

Kill Existing Process : 712220
1742044142
2025-03-15 18:40:01[LOG]Starting Cron

Kill Existing Process : 712673
1742044201
2025-03-15 18:41:02[LOG]Starting Cron

Kill Existing Process : 713093
1742044262
2025-03-15 18:42:01[LOG]Starting Cron

Kill Existing Process : 713495
1742044321
2025-03-15 18:43:02[LOG]Starting Cron

Kill Existing Process : 713929
1742044382
2025-03-15 18:44:02[LOG]Starting Cron

Kill Existing Process : 714343
1742044442
2025-03-15 18:45:02[LOG]Starting Cron

Kill Existing Process : 714752
1742044502
2025-03-15 18:46:01[LOG]Starting Cron

Kill Existing Process : 715181
1742044561
2025-03-15 18:47:02[LOG]Starting Cron

Kill Existing Process : 715601
1742044622
2025-03-15 18:48:01[LOG]Starting Cron

Kill Existing Process : 716001
1742044681
2025-03-15 18:49:02[LOG]Starting Cron

Kill Existing Process : 716432
1742044742
2025-03-15 18:50:01[LOG]Starting Cron

Kill Existing Process : 716835
1742044801
2025-03-15 18:51:02[LOG]Starting Cron

Kill Existing Process : 717256
1742044862
2025-03-15 18:52:01[LOG]Starting Cron

Kill Existing Process : 717674
1742044921
2025-03-15 18:53:02[LOG]Starting Cron

Kill Existing Process : 718081
1742044982
2025-03-15 18:54:02[LOG]Starting Cron

Kill Existing Process : 718507
1742045042
2025-03-15 18:55:02[LOG]Starting Cron

Kill Existing Process : 718924
1742045102
2025-03-15 18:56:02[LOG]Starting Cron

Kill Existing Process : 719313
1742045162
2025-03-15 18:57:01[LOG]Starting Cron

Kill Existing Process : 719762
1742045221
{"compaign_id":"36075","contact_id":"22","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_22","uid":"u595","unique_id":"36075_22_138-u595","ivrId":"3158","channelOTime":1742045250,"channelDTime":1742045273,"channelDuration":23,"cSTime":1742045269,"cETime":1742045273,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08549892819","server_ip":"118.185.137.196","insertTime":1742045273,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045253,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 22
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_22
            [uid] => u595
            [unique_id] => 36075_22_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045250
            [channelDTime] => 1742045273
            [channelDuration] => 23
            [cSTime] => 1742045269
            [cETime] => 1742045273
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08549892819
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045273
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045253
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 15
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.2
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94.56000000000012
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 15
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.2
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96658.89000001385
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045274
{"compaign_id":"36075","contact_id":"20","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_20","uid":"u595","unique_id":"36075_20_138-u595","ivrId":"3158","channelOTime":1742045250,"channelDTime":1742045275,"channelDuration":25,"cSTime":1742045263,"cETime":1742045275,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09891751880","server_ip":"118.185.137.196","insertTime":1742045275,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045254,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 20
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_20
            [uid] => u595
            [unique_id] => 36075_20_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045250
            [channelDTime] => 1742045275
            [channelDuration] => 25
            [cSTime] => 1742045263
            [cETime] => 1742045275
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09891751880
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045275
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045254
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 16
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.28
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94.48000000000012
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 16
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.28
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96658.81000001385
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045277
{"compaign_id":"36075","contact_id":"15","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_15","uid":"u595","unique_id":"36075_15_138-u595","ivrId":"3158","channelOTime":1742045249,"channelDTime":1742045275,"channelDuration":26,"cSTime":1742045256,"cETime":1742045275,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09114332821","server_ip":"118.185.137.196","insertTime":1742045275,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045251,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 15
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_15
            [uid] => u595
            [unique_id] => 36075_15_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045249
            [channelDTime] => 1742045275
            [channelDuration] => 26
            [cSTime] => 1742045256
            [cETime] => 1742045275
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09114332821
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045275
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045251
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 17
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.36
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94.40000000000012
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 17
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.36
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96658.73000001385
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045277
{"compaign_id":"36075","contact_id":"21","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_21","uid":"u595","unique_id":"36075_21_138-u595","ivrId":"3158","channelOTime":1742045250,"channelDTime":1742045277,"channelDuration":27,"cSTime":1742045273,"cETime":1742045277,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09598893879","server_ip":"118.185.137.196","insertTime":1742045277,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045256,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 21
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_21
            [uid] => u595
            [unique_id] => 36075_21_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045250
            [channelDTime] => 1742045277
            [channelDuration] => 27
            [cSTime] => 1742045273
            [cETime] => 1742045277
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09598893879
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045277
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045256
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 19
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.52
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94.24000000000012
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 19
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.52
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96658.57000001385
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045278
2025-03-15 18:58:02[LOG]Starting Cron
2025-03-15 18:58:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"27","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_27","uid":"u595","unique_id":"36075_27_138-u595","ivrId":"3158","channelOTime":1742045251,"channelDTime":1742045290,"channelDuration":39,"cSTime":1742045267,"cETime":1742045290,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07078897104","server_ip":"118.185.137.196","insertTime":1742045290,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045253,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045267,"endTime":1742045290,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 27
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_27
            [uid] => u595
            [unique_id] => 36075_27_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045251
            [channelDTime] => 1742045290
            [channelDuration] => 39
            [cSTime] => 1742045267
            [cETime] => 1742045290
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07078897104
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045290
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045253
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045267
                                    [endTime] => 1742045290
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 20
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.6
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94.16000000000012
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 20
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.6
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96658.49000001384
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045292
{"compaign_id":"36075","contact_id":"38","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_38","uid":"u595","unique_id":"36075_38_138-u595","ivrId":"3158","channelOTime":1742045273,"channelDTime":1742045293,"channelDuration":20,"cSTime":1742045284,"cETime":1742045293,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08298999186","server_ip":"118.185.137.196","insertTime":1742045293,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045275,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 38
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_38
            [uid] => u595
            [unique_id] => 36075_38_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045273
            [channelDTime] => 1742045293
            [channelDuration] => 20
            [cSTime] => 1742045284
            [cETime] => 1742045293
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08298999186
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045293
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045275
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 22
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.76
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94.00000000000013
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 22
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.76
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96658.33000001384
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045295
{"compaign_id":"36075","contact_id":"10","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_10","uid":"u595","unique_id":"36075_10_138-u595","ivrId":"3158","channelOTime":1742045248,"channelDTime":1742045298,"channelDuration":50,"cSTime":1742045273,"cETime":1742045298,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09500040334","server_ip":"118.185.137.196","insertTime":1742045298,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045252,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045273,"endTime":1742045292,"duration":19}],"#3":[{"startTime":1742045292,"endTime":1742045298,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 10
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_10
            [uid] => u595
            [unique_id] => 36075_10_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045248
            [channelDTime] => 1742045298
            [channelDuration] => 50
            [cSTime] => 1742045273
            [cETime] => 1742045298
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09500040334
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045298
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045252
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045273
                                    [endTime] => 1742045292
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045292
                                    [endTime] => 1742045298
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 23
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.84
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 93.92000000000013
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 23
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 1.84
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96658.25000001384
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045300
{"compaign_id":"36075","contact_id":"32","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_32","uid":"u595","unique_id":"36075_32_138-u595","ivrId":"3158","channelOTime":1742045272,"channelDTime":1742045299,"channelDuration":27,"cSTime":1742045283,"cETime":1742045299,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09119747634","server_ip":"118.185.137.196","insertTime":1742045299,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045274,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 32
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_32
            [uid] => u595
            [unique_id] => 36075_32_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045272
            [channelDTime] => 1742045299
            [channelDuration] => 27
            [cSTime] => 1742045283
            [cETime] => 1742045299
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09119747634
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045299
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045274
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 25
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 93.76000000000013
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 25
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96658.09000001384
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045301
{"compaign_id":"36075","contact_id":"57","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_57","uid":"u595","unique_id":"36075_57_138-u595","ivrId":"3158","channelOTime":1742045277,"channelDTime":1742045300,"channelDuration":23,"cSTime":1742045295,"cETime":1742045300,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09205913325","server_ip":"118.185.137.196","insertTime":1742045300,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 57
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_57
            [uid] => u595
            [unique_id] => 36075_57_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045277
            [channelDTime] => 1742045300
            [channelDuration] => 23
            [cSTime] => 1742045295
            [cETime] => 1742045300
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09205913325
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045300
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 27
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.16
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 93.60000000000014
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 27
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.16
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96657.93000001383
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045302
{"compaign_id":"36075","contact_id":"47","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_47","uid":"u595","unique_id":"36075_47_138-u595","ivrId":"3158","channelOTime":1742045275,"channelDTime":1742045302,"channelDuration":27,"cSTime":1742045290,"cETime":1742045302,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07795466441","server_ip":"118.185.137.196","insertTime":1742045302,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045277,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 47
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_47
            [uid] => u595
            [unique_id] => 36075_47_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045275
            [channelDTime] => 1742045302
            [channelDuration] => 27
            [cSTime] => 1742045290
            [cETime] => 1742045302
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07795466441
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045302
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045277
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 28
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.24
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 93.52000000000014
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 28
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.24
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96657.85000001383
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045304
{"compaign_id":"36075","contact_id":"65","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_65","uid":"u595","unique_id":"36075_65_138-u595","ivrId":"3158","channelOTime":1742045279,"channelDTime":1742045308,"channelDuration":29,"cSTime":1742045302,"cETime":1742045308,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08001330831","server_ip":"118.185.137.196","insertTime":1742045308,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045281,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 65
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_65
            [uid] => u595
            [unique_id] => 36075_65_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045279
            [channelDTime] => 1742045308
            [channelDuration] => 29
            [cSTime] => 1742045302
            [cETime] => 1742045308
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08001330831
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045308
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045281
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 29
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.3200000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 93.44000000000014
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 29
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.3200000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96657.77000001383
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045310
{"compaign_id":"36075","contact_id":"45","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_45","uid":"u595","unique_id":"36075_45_138-u595","ivrId":"3158","channelOTime":1742045275,"channelDTime":1742045310,"channelDuration":35,"cSTime":1742045287,"cETime":1742045310,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09582382371","server_ip":"118.185.137.196","insertTime":1742045310,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045277,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045287,"endTime":1742045310,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 45
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_45
            [uid] => u595
            [unique_id] => 36075_45_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045275
            [channelDTime] => 1742045310
            [channelDuration] => 35
            [cSTime] => 1742045287
            [cETime] => 1742045310
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09582382371
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045310
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045277
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045287
                                    [endTime] => 1742045310
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 30
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.4000000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 93.36000000000014
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 30
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.4000000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96657.69000001383
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045312
{"compaign_id":"36075","contact_id":"51","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_51","uid":"u595","unique_id":"36075_51_138-u595","ivrId":"3158","channelOTime":1742045276,"channelDTime":1742045317,"channelDuration":41,"cSTime":1742045293,"cETime":1742045317,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08660111484","server_ip":"118.185.137.196","insertTime":1742045317,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045293,"endTime":1742045317,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 51
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_51
            [uid] => u595
            [unique_id] => 36075_51_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045276
            [channelDTime] => 1742045317
            [channelDuration] => 41
            [cSTime] => 1742045293
            [cETime] => 1742045317
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08660111484
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045317
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045293
                                    [endTime] => 1742045317
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 32
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.5600000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 93.20000000000014
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 32
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.5600000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96657.53000001382
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045318
{"compaign_id":"36075","contact_id":"64","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_64","uid":"u595","unique_id":"36075_64_138-u595","ivrId":"3158","channelOTime":1742045278,"channelDTime":1742045325,"channelDuration":47,"cSTime":1742045301,"cETime":1742045325,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09705278185","server_ip":"118.185.137.196","insertTime":1742045325,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045281,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045301,"endTime":1742045325,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 64
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_64
            [uid] => u595
            [unique_id] => 36075_64_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045278
            [channelDTime] => 1742045325
            [channelDuration] => 47
            [cSTime] => 1742045301
            [cETime] => 1742045325
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09705278185
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045325
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045281
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045301
                                    [endTime] => 1742045325
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 34
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.7200000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 93.04000000000015
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 34
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.7200000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96657.37000001382
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045326
2025-03-15 18:59:02[LOG]Starting Cron
2025-03-15 18:59:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"84","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_84","uid":"u595","unique_id":"36075_84_138-u595","ivrId":"3158","channelOTime":1742045381,"channelDTime":1742045389,"channelDuration":8,"cSTime":1742045388,"cETime":1742045389,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08511834787","server_ip":"118.185.137.196","insertTime":1742045389,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045383,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 84
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_84
            [uid] => u595
            [unique_id] => 36075_84_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045381
            [channelDTime] => 1742045389
            [channelDuration] => 8
            [cSTime] => 1742045388
            [cETime] => 1742045389
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08511834787
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045389
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045383
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 36
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.880000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.88000000000015
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 36
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.880000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96657.21000001382
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045391
{"compaign_id":"36075","contact_id":"96","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_96","uid":"u595","unique_id":"36075_96_138-u595","ivrId":"3158","channelOTime":1742045383,"channelDTime":1742045394,"channelDuration":11,"cSTime":1742045390,"cETime":1742045394,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09596596744","server_ip":"118.185.137.196","insertTime":1742045394,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045387,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 96
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_96
            [uid] => u595
            [unique_id] => 36075_96_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045383
            [channelDTime] => 1742045394
            [channelDuration] => 11
            [cSTime] => 1742045390
            [cETime] => 1742045394
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09596596744
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045394
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045387
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 37
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.960000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.80000000000015
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 37
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 2.960000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96657.13000001381
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045396
{"compaign_id":"36075","contact_id":"87","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_87","uid":"u595","unique_id":"36075_87_138-u595","ivrId":"3158","channelOTime":1742045382,"channelDTime":1742045395,"channelDuration":13,"cSTime":1742045387,"cETime":1742045395,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09102983478","server_ip":"118.185.137.196","insertTime":1742045395,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045383,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 87
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_87
            [uid] => u595
            [unique_id] => 36075_87_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045382
            [channelDTime] => 1742045395
            [channelDuration] => 13
            [cSTime] => 1742045387
            [cETime] => 1742045395
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09102983478
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045395
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045383
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 38
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.040000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.72000000000016
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 38
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.040000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96657.05000001381
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045397
{"compaign_id":"36075","contact_id":"95","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_95","uid":"u595","unique_id":"36075_95_138-u595","ivrId":"3158","channelOTime":1742045383,"channelDTime":1742045398,"channelDuration":15,"cSTime":1742045394,"cETime":1742045398,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09110669289","server_ip":"118.185.137.196","insertTime":1742045398,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045386,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 95
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_95
            [uid] => u595
            [unique_id] => 36075_95_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045383
            [channelDTime] => 1742045398
            [channelDuration] => 15
            [cSTime] => 1742045394
            [cETime] => 1742045398
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09110669289
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045398
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045386
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 39
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.120000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.64000000000016
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 39
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.120000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.97000001381
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045399
{"compaign_id":"36075","contact_id":"93","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_93","uid":"u595","unique_id":"36075_93_138-u595","ivrId":"3158","channelOTime":1742045383,"channelDTime":1742045398,"channelDuration":15,"cSTime":1742045390,"cETime":1742045398,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08825376223","server_ip":"118.185.137.196","insertTime":1742045398,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045385,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 93
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_93
            [uid] => u595
            [unique_id] => 36075_93_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045383
            [channelDTime] => 1742045398
            [channelDuration] => 15
            [cSTime] => 1742045390
            [cETime] => 1742045398
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08825376223
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045398
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045385
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 40
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.200000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.56000000000016
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 40
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.200000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.89000001381
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045400
{"compaign_id":"36075","contact_id":"81","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_81","uid":"u595","unique_id":"36075_81_138-u595","ivrId":"3158","channelOTime":1742045380,"channelDTime":1742045400,"channelDuration":20,"cSTime":1742045390,"cETime":1742045400,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07207770180","server_ip":"118.185.137.196","insertTime":1742045400,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045382,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 81
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_81
            [uid] => u595
            [unique_id] => 36075_81_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045380
            [channelDTime] => 1742045400
            [channelDuration] => 20
            [cSTime] => 1742045390
            [cETime] => 1742045400
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07207770180
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045400
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045382
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 41
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.280000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.48000000000016
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 41
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.280000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.81000001381
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045402
2025-03-15 19:00:02[LOG]Starting Cron
2025-03-15 19:00:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"122","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_122","uid":"u595","unique_id":"36075_122_138-u595","ivrId":"3158","channelOTime":1742045389,"channelDTime":1742045401,"channelDuration":12,"cSTime":1742045399,"cETime":1742045401,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09643765018","server_ip":"118.185.137.196","insertTime":1742045401,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045390,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 122
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_122
            [uid] => u595
            [unique_id] => 36075_122_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045389
            [channelDTime] => 1742045401
            [channelDuration] => 12
            [cSTime] => 1742045399
            [cETime] => 1742045401
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09643765018
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045401
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045390
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 42
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.360000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.40000000000016
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 42
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.360000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.7300000138
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045403
{"compaign_id":"36075","contact_id":"83","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_83","uid":"u595","unique_id":"36075_83_138-u595","ivrId":"3158","channelOTime":1742045381,"channelDTime":1742045403,"channelDuration":22,"cSTime":1742045395,"cETime":1742045403,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06351839345","server_ip":"118.185.137.196","insertTime":1742045403,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045383,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 83
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_83
            [uid] => u595
            [unique_id] => 36075_83_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045381
            [channelDTime] => 1742045403
            [channelDuration] => 22
            [cSTime] => 1742045395
            [cETime] => 1742045403
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06351839345
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045403
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045383
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 43
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.4400000000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.32000000000016
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 43
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.4400000000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.6500000138
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045404
{"compaign_id":"36075","contact_id":"126","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_126","uid":"u595","unique_id":"36075_126_138-u595","ivrId":"3158","channelOTime":1742045389,"channelDTime":1742045404,"channelDuration":15,"cSTime":1742045399,"cETime":1742045404,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09409701214","server_ip":"118.185.137.196","insertTime":1742045404,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045391,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 126
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_126
            [uid] => u595
            [unique_id] => 36075_126_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045389
            [channelDTime] => 1742045404
            [channelDuration] => 15
            [cSTime] => 1742045399
            [cETime] => 1742045404
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09409701214
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045404
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045391
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 44
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.5200000000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.24000000000017
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 44
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.5200000000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.5700000138
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045406
{"compaign_id":"36075","contact_id":"112","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_112","uid":"u595","unique_id":"36075_112_138-u595","ivrId":"3158","channelOTime":1742045387,"channelDTime":1742045405,"channelDuration":18,"cSTime":1742045398,"cETime":1742045405,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07337546612","server_ip":"118.185.137.196","insertTime":1742045405,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045389,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 112
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_112
            [uid] => u595
            [unique_id] => 36075_112_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045387
            [channelDTime] => 1742045405
            [channelDuration] => 18
            [cSTime] => 1742045398
            [cETime] => 1742045405
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07337546612
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045405
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045389
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 45
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.6000000000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.16000000000017
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 45
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.6000000000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.4900000138
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045407
{"compaign_id":"36075","contact_id":"117","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_117","uid":"u595","unique_id":"36075_117_138-u595","ivrId":"3158","channelOTime":1742045388,"channelDTime":1742045407,"channelDuration":19,"cSTime":1742045403,"cETime":1742045407,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06281420536","server_ip":"118.185.137.196","insertTime":1742045407,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045391,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 117
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_117
            [uid] => u595
            [unique_id] => 36075_117_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045388
            [channelDTime] => 1742045407
            [channelDuration] => 19
            [cSTime] => 1742045403
            [cETime] => 1742045407
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06281420536
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045407
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045391
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 46
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.6800000000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.08000000000017
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 46
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.6800000000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.4100000138
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045409
{"compaign_id":"36075","contact_id":"82","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_82","uid":"u595","unique_id":"36075_82_138-u595","ivrId":"3158","channelOTime":1742045381,"channelDTime":1742045409,"channelDuration":28,"cSTime":1742045391,"cETime":1742045409,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07764859822","server_ip":"118.185.137.196","insertTime":1742045409,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045383,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 82
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_82
            [uid] => u595
            [unique_id] => 36075_82_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045381
            [channelDTime] => 1742045409
            [channelDuration] => 28
            [cSTime] => 1742045391
            [cETime] => 1742045409
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07764859822
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045409
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045383
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 47
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.7600000000000016
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 92.00000000000017
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 47
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.7600000000000016
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.3300000138
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045410
{"compaign_id":"36075","contact_id":"108","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_108","uid":"u595","unique_id":"36075_108_138-u595","ivrId":"3158","channelOTime":1742045386,"channelDTime":1742045410,"channelDuration":24,"cSTime":1742045398,"cETime":1742045410,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06364367618","server_ip":"118.185.137.196","insertTime":1742045410,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045389,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 108
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_108
            [uid] => u595
            [unique_id] => 36075_108_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045386
            [channelDTime] => 1742045410
            [channelDuration] => 24
            [cSTime] => 1742045398
            [cETime] => 1742045410
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06364367618
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045410
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045389
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 49
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.9200000000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 91.84000000000017
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 49
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 3.9200000000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.1700000138
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045411
{"compaign_id":"36075","contact_id":"107","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_107","uid":"u595","unique_id":"36075_107_138-u595","ivrId":"3158","channelOTime":1742045386,"channelDTime":1742045410,"channelDuration":24,"cSTime":1742045400,"cETime":1742045410,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09927171712","server_ip":"118.185.137.196","insertTime":1742045410,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045387,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 107
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_107
            [uid] => u595
            [unique_id] => 36075_107_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045386
            [channelDTime] => 1742045410
            [channelDuration] => 24
            [cSTime] => 1742045400
            [cETime] => 1742045410
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09927171712
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045410
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045387
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 50
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.000000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 91.76000000000018
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 50
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.000000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.09000001379
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045411
{"compaign_id":"36075","contact_id":"111","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_111","uid":"u595","unique_id":"36075_111_138-u595","ivrId":"3158","channelOTime":1742045386,"channelDTime":1742045412,"channelDuration":26,"cSTime":1742045396,"cETime":1742045412,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07709049898","server_ip":"118.185.137.196","insertTime":1742045412,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045389,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 111
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_111
            [uid] => u595
            [unique_id] => 36075_111_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045386
            [channelDTime] => 1742045412
            [channelDuration] => 26
            [cSTime] => 1742045396
            [cETime] => 1742045412
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07709049898
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045412
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045389
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 51
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.080000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 91.68000000000018
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 51
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.080000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96656.01000001379
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045413
{"compaign_id":"36075","contact_id":"118","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_118","uid":"u595","unique_id":"36075_118_138-u595","ivrId":"3158","channelOTime":1742045388,"channelDTime":1742045412,"channelDuration":24,"cSTime":1742045399,"cETime":1742045412,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09995996571","server_ip":"118.185.137.196","insertTime":1742045412,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045390,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 118
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_118
            [uid] => u595
            [unique_id] => 36075_118_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045388
            [channelDTime] => 1742045412
            [channelDuration] => 24
            [cSTime] => 1742045399
            [cETime] => 1742045412
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09995996571
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045412
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045390
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 53
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.240000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 91.52000000000018
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 53
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.240000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96655.85000001379
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045414
{"compaign_id":"36075","contact_id":"128","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_128","uid":"u595","unique_id":"36075_128_138-u595","ivrId":"3158","channelOTime":1742045390,"channelDTime":1742045412,"channelDuration":22,"cSTime":1742045408,"cETime":1742045412,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09920609530","server_ip":"118.185.137.196","insertTime":1742045412,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045392,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 128
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_128
            [uid] => u595
            [unique_id] => 36075_128_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045390
            [channelDTime] => 1742045412
            [channelDuration] => 22
            [cSTime] => 1742045408
            [cETime] => 1742045412
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09920609530
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045412
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045392
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 54
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.320000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 91.44000000000018
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 54
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.320000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96655.77000001378
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045414
{"compaign_id":"36075","contact_id":"92","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_92","uid":"u595","unique_id":"36075_92_138-u595","ivrId":"3158","channelOTime":1742045383,"channelDTime":1742045413,"channelDuration":30,"cSTime":1742045397,"cETime":1742045413,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08435302002","server_ip":"118.185.137.196","insertTime":1742045413,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045385,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 92
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_92
            [uid] => u595
            [unique_id] => 36075_92_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045383
            [channelDTime] => 1742045413
            [channelDuration] => 30
            [cSTime] => 1742045397
            [cETime] => 1742045413
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08435302002
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045413
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045385
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 55
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.400000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 91.36000000000018
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 55
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.400000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96655.69000001378
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045415
{"compaign_id":"36075","contact_id":"130","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_130","uid":"u595","unique_id":"36075_130_138-u595","ivrId":"3158","channelOTime":1742045403,"channelDTime":1742045414,"channelDuration":11,"cSTime":1742045411,"cETime":1742045414,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07694914910","server_ip":"118.185.137.196","insertTime":1742045414,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045405,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 130
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_130
            [uid] => u595
            [unique_id] => 36075_130_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045403
            [channelDTime] => 1742045414
            [channelDuration] => 11
            [cSTime] => 1742045411
            [cETime] => 1742045414
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07694914910
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045414
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045405
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 57
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.560000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 91.20000000000019
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 57
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.560000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96655.53000001378
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045416
{"compaign_id":"36075","contact_id":"94","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_94","uid":"u595","unique_id":"36075_94_138-u595","ivrId":"3158","channelOTime":1742045383,"channelDTime":1742045416,"channelDuration":33,"cSTime":1742045393,"cETime":1742045416,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06306655006","server_ip":"118.185.137.196","insertTime":1742045416,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045385,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045393,"endTime":1742045416,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 94
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_94
            [uid] => u595
            [unique_id] => 36075_94_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045383
            [channelDTime] => 1742045416
            [channelDuration] => 33
            [cSTime] => 1742045393
            [cETime] => 1742045416
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06306655006
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045416
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045385
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045393
                                    [endTime] => 1742045416
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 58
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.640000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 91.12000000000019
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 58
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.640000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96655.45000001378
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045418
{"compaign_id":"36075","contact_id":"150","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_150","uid":"u595","unique_id":"36075_150_138-u595","ivrId":"3158","channelOTime":1742045407,"channelDTime":1742045423,"channelDuration":16,"cSTime":1742045418,"cETime":1742045423,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09594605557","server_ip":"118.185.137.196","insertTime":1742045423,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045409,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 150
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_150
            [uid] => u595
            [unique_id] => 36075_150_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045407
            [channelDTime] => 1742045423
            [channelDuration] => 16
            [cSTime] => 1742045418
            [cETime] => 1742045423
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09594605557
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045423
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045409
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 60
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.8000000000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 90.96000000000019
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 60
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.8000000000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96655.29000001377
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045424
{"compaign_id":"36075","contact_id":"114","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_114","uid":"u595","unique_id":"36075_114_138-u595","ivrId":"3158","channelOTime":1742045387,"channelDTime":1742045425,"channelDuration":38,"cSTime":1742045411,"cETime":1742045425,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07646091689","server_ip":"118.185.137.196","insertTime":1742045425,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045390,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 114
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_114
            [uid] => u595
            [unique_id] => 36075_114_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045387
            [channelDTime] => 1742045425
            [channelDuration] => 38
            [cSTime] => 1742045411
            [cETime] => 1742045425
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07646091689
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045425
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045390
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 61
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.880000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 90.8800000000002
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 61
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.880000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96655.21000001377
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045426
{"compaign_id":"36075","contact_id":"144","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_144","uid":"u595","unique_id":"36075_144_138-u595","ivrId":"3158","channelOTime":1742045406,"channelDTime":1742045425,"channelDuration":19,"cSTime":1742045413,"cETime":1742045425,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09702048765","server_ip":"118.185.137.196","insertTime":1742045425,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045408,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 144
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_144
            [uid] => u595
            [unique_id] => 36075_144_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045406
            [channelDTime] => 1742045425
            [channelDuration] => 19
            [cSTime] => 1742045413
            [cETime] => 1742045425
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09702048765
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045425
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045408
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 62
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.960000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 90.8000000000002
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 62
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 4.960000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96655.13000001377
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045427
{"compaign_id":"36075","contact_id":"153","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_153","uid":"u595","unique_id":"36075_153_138-u595","ivrId":"3158","channelOTime":1742045408,"channelDTime":1742045426,"channelDuration":18,"cSTime":1742045415,"cETime":1742045426,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09735758623","server_ip":"118.185.137.196","insertTime":1742045426,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045410,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 153
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_153
            [uid] => u595
            [unique_id] => 36075_153_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045408
            [channelDTime] => 1742045426
            [channelDuration] => 18
            [cSTime] => 1742045415
            [cETime] => 1742045426
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09735758623
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045426
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045410
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 63
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.040000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 90.7200000000002
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 63
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.040000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96655.05000001377
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045427
{"compaign_id":"36075","contact_id":"103","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_103","uid":"u595","unique_id":"36075_103_138-u595","ivrId":"3158","channelOTime":1742045385,"channelDTime":1742045426,"channelDuration":41,"cSTime":1742045403,"cETime":1742045426,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09306575561","server_ip":"118.185.137.196","insertTime":1742045426,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045386,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045403,"endTime":1742045426,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 103
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_103
            [uid] => u595
            [unique_id] => 36075_103_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045385
            [channelDTime] => 1742045426
            [channelDuration] => 41
            [cSTime] => 1742045403
            [cETime] => 1742045426
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09306575561
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045426
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045386
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045403
                                    [endTime] => 1742045426
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 64
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.120000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 90.6400000000002
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 64
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.120000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96654.97000001377
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045428
{"compaign_id":"36075","contact_id":"173","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_173","uid":"u595","unique_id":"36075_173_138-u595","ivrId":"3158","channelOTime":1742045412,"channelDTime":1742045426,"channelDuration":14,"cSTime":1742045422,"cETime":1742045426,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08298162408","server_ip":"118.185.137.196","insertTime":1742045426,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045414,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 173
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_173
            [uid] => u595
            [unique_id] => 36075_173_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045412
            [channelDTime] => 1742045426
            [channelDuration] => 14
            [cSTime] => 1742045422
            [cETime] => 1742045426
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08298162408
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045426
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045414
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 66
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.280000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 90.4800000000002
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 66
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.280000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96654.81000001376
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045428
{"compaign_id":"36075","contact_id":"100","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_100","uid":"u595","unique_id":"36075_100_138-u595","ivrId":"3158","channelOTime":1742045384,"channelDTime":1742045426,"channelDuration":42,"cSTime":1742045403,"cETime":1742045426,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08860623617","server_ip":"118.185.137.196","insertTime":1742045426,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045386,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045403,"endTime":1742045426,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 100
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_100
            [uid] => u595
            [unique_id] => 36075_100_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045384
            [channelDTime] => 1742045426
            [channelDuration] => 42
            [cSTime] => 1742045403
            [cETime] => 1742045426
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08860623617
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045426
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045386
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045403
                                    [endTime] => 1742045426
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 67
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.360000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 90.4000000000002
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 67
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.360000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96654.73000001376
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045428
{"compaign_id":"36075","contact_id":"102","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_102","uid":"u595","unique_id":"36075_102_138-u595","ivrId":"3158","channelOTime":1742045385,"channelDTime":1742045427,"channelDuration":42,"cSTime":1742045403,"cETime":1742045427,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09900369697","server_ip":"118.185.137.196","insertTime":1742045427,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045387,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045403,"endTime":1742045427,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 102
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_102
            [uid] => u595
            [unique_id] => 36075_102_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045385
            [channelDTime] => 1742045427
            [channelDuration] => 42
            [cSTime] => 1742045403
            [cETime] => 1742045427
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09900369697
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045427
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045387
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045403
                                    [endTime] => 1742045427
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 69
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.520000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 90.24000000000021
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 69
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.520000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96654.57000001376
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045428
{"compaign_id":"36075","contact_id":"105","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_105","uid":"u595","unique_id":"36075_105_138-u595","ivrId":"3158","channelOTime":1742045385,"channelDTime":1742045427,"channelDuration":42,"cSTime":1742045411,"cETime":1742045427,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07702692767","server_ip":"118.185.137.196","insertTime":1742045427,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045387,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 105
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_105
            [uid] => u595
            [unique_id] => 36075_105_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045385
            [channelDTime] => 1742045427
            [channelDuration] => 42
            [cSTime] => 1742045411
            [cETime] => 1742045427
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07702692767
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045427
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045387
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 71
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.680000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 90.08000000000021
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 71
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.680000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96654.41000001376
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045429
{"compaign_id":"36075","contact_id":"162","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_162","uid":"u595","unique_id":"36075_162_138-u595","ivrId":"3158","channelOTime":1742045410,"channelDTime":1742045428,"channelDuration":18,"cSTime":1742045425,"cETime":1742045428,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08910837431","server_ip":"118.185.137.196","insertTime":1742045428,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045411,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 162
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_162
            [uid] => u595
            [unique_id] => 36075_162_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045410
            [channelDTime] => 1742045428
            [channelDuration] => 18
            [cSTime] => 1742045425
            [cETime] => 1742045428
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08910837431
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045428
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045411
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 73
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.840000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 89.92000000000021
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 73
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.840000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96654.25000001375
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045430
{"compaign_id":"36075","contact_id":"86","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_86","uid":"u595","unique_id":"36075_86_138-u595","ivrId":"3158","channelOTime":1742045381,"channelDTime":1742045428,"channelDuration":47,"cSTime":1742045412,"cETime":1742045428,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09690030939","server_ip":"118.185.137.196","insertTime":1742045428,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045383,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 86
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_86
            [uid] => u595
            [unique_id] => 36075_86_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045381
            [channelDTime] => 1742045428
            [channelDuration] => 47
            [cSTime] => 1742045412
            [cETime] => 1742045428
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09690030939
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045428
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045383
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 74
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.9200000000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 89.84000000000022
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 74
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 5.9200000000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96654.17000001375
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045430
{"compaign_id":"36075","contact_id":"166","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_166","uid":"u595","unique_id":"36075_166_138-u595","ivrId":"3158","channelOTime":1742045410,"channelDTime":1742045431,"channelDuration":21,"cSTime":1742045428,"cETime":1742045431,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06289716588","server_ip":"118.185.137.196","insertTime":1742045431,"ivrData":{"#2":["A"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045414,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045428,"endTime":1742045431,"duration":3}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 166
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_166
            [uid] => u595
            [unique_id] => 36075_166_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045410
            [channelDTime] => 1742045431
            [channelDuration] => 21
            [cSTime] => 1742045428
            [cETime] => 1742045431
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06289716588
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045431
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => A
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045414
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045428
                                    [endTime] => 1742045431
                                    [duration] => 3
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 76
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.080000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 89.68000000000022
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 76
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.080000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96654.01000001375
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045433
{"compaign_id":"36075","contact_id":"196","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_196","uid":"u595","unique_id":"36075_196_138-u595","ivrId":"3158","channelOTime":1742045418,"channelDTime":1742045433,"channelDuration":15,"cSTime":1742045431,"cETime":1742045433,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09871367176","server_ip":"118.185.137.196","insertTime":1742045433,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045420,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 196
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_196
            [uid] => u595
            [unique_id] => 36075_196_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045418
            [channelDTime] => 1742045433
            [channelDuration] => 15
            [cSTime] => 1742045431
            [cETime] => 1742045433
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09871367176
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045433
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045420
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 77
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.160000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 89.60000000000022
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 77
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.160000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.93000001374
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045434
{"compaign_id":"36075","contact_id":"213","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_213","uid":"u595","unique_id":"36075_213_138-u595","ivrId":"3158","channelOTime":1742045422,"channelDTime":1742045435,"channelDuration":13,"cSTime":1742045432,"cETime":1742045435,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06281388242","server_ip":"118.185.137.196","insertTime":1742045435,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045424,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 213
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_213
            [uid] => u595
            [unique_id] => 36075_213_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045422
            [channelDTime] => 1742045435
            [channelDuration] => 13
            [cSTime] => 1742045432
            [cETime] => 1742045435
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06281388242
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045435
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045424
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 78
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.240000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 89.52000000000022
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 78
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.240000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.85000001374
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045436
{"compaign_id":"36075","contact_id":"185","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_185","uid":"u595","unique_id":"36075_185_138-u595","ivrId":"3158","channelOTime":1742045416,"channelDTime":1742045436,"channelDuration":20,"cSTime":1742045426,"cETime":1742045436,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07070538541","server_ip":"118.185.137.196","insertTime":1742045436,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045418,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 185
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_185
            [uid] => u595
            [unique_id] => 36075_185_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045416
            [channelDTime] => 1742045436
            [channelDuration] => 20
            [cSTime] => 1742045426
            [cETime] => 1742045436
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07070538541
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045436
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045418
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 79
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.320000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 89.44000000000023
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 79
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.320000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.77000001374
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045438
{"compaign_id":"36075","contact_id":"180","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_180","uid":"u595","unique_id":"36075_180_138-u595","ivrId":"3158","channelOTime":1742045415,"channelDTime":1742045437,"channelDuration":22,"cSTime":1742045427,"cETime":1742045437,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07894027586","server_ip":"118.185.137.196","insertTime":1742045437,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045417,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 180
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_180
            [uid] => u595
            [unique_id] => 36075_180_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045415
            [channelDTime] => 1742045437
            [channelDuration] => 22
            [cSTime] => 1742045427
            [cETime] => 1742045437
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07894027586
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045437
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045417
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 80
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.400000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 89.36000000000023
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 80
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.400000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.69000001374
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045438
{"compaign_id":"36075","contact_id":"227","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_227","uid":"u595","unique_id":"36075_227_138-u595","ivrId":"3158","channelOTime":1742045425,"channelDTime":1742045437,"channelDuration":12,"cSTime":1742045431,"cETime":1742045437,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07353025531","server_ip":"118.185.137.196","insertTime":1742045437,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045427,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 227
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_227
            [uid] => u595
            [unique_id] => 36075_227_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045425
            [channelDTime] => 1742045437
            [channelDuration] => 12
            [cSTime] => 1742045431
            [cETime] => 1742045437
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07353025531
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045437
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045427
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 81
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.480000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 89.28000000000023
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 81
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.480000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.61000001374
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045438
{"compaign_id":"36075","contact_id":"143","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_143","uid":"u595","unique_id":"36075_143_138-u595","ivrId":"3158","channelOTime":1742045406,"channelDTime":1742045437,"channelDuration":31,"cSTime":1742045427,"cETime":1742045437,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08368714363","server_ip":"118.185.137.196","insertTime":1742045437,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045410,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 143
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_143
            [uid] => u595
            [unique_id] => 36075_143_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045406
            [channelDTime] => 1742045437
            [channelDuration] => 31
            [cSTime] => 1742045427
            [cETime] => 1742045437
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08368714363
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045437
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045410
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 82
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.560000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 89.20000000000023
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 82
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.560000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.53000001374
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045439
{"compaign_id":"36075","contact_id":"224","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_224","uid":"u595","unique_id":"36075_224_138-u595","ivrId":"3158","channelOTime":1742045424,"channelDTime":1742045438,"channelDuration":14,"cSTime":1742045434,"cETime":1742045438,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07518648219","server_ip":"118.185.137.196","insertTime":1742045438,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045426,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 224
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_224
            [uid] => u595
            [unique_id] => 36075_224_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045424
            [channelDTime] => 1742045438
            [channelDuration] => 14
            [cSTime] => 1742045434
            [cETime] => 1742045438
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07518648219
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045438
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045426
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 83
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.640000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 89.12000000000023
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 83
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.640000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.45000001373
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045439
{"compaign_id":"36075","contact_id":"137","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_137","uid":"u595","unique_id":"36075_137_138-u595","ivrId":"3158","channelOTime":1742045405,"channelDTime":1742045439,"channelDuration":34,"cSTime":1742045431,"cETime":1742045439,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07688815089","server_ip":"118.185.137.196","insertTime":1742045439,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045407,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 137
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_137
            [uid] => u595
            [unique_id] => 36075_137_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045405
            [channelDTime] => 1742045439
            [channelDuration] => 34
            [cSTime] => 1742045431
            [cETime] => 1742045439
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07688815089
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045439
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045407
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 84
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.720000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 89.04000000000023
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 84
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.720000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.37000001373
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045441
{"compaign_id":"36075","contact_id":"164","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_164","uid":"u595","unique_id":"36075_164_138-u595","ivrId":"3158","channelOTime":1742045410,"channelDTime":1742045442,"channelDuration":32,"cSTime":1742045428,"cETime":1742045442,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07401250544","server_ip":"118.185.137.196","insertTime":1742045442,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045413,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 164
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_164
            [uid] => u595
            [unique_id] => 36075_164_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045410
            [channelDTime] => 1742045442
            [channelDuration] => 32
            [cSTime] => 1742045428
            [cETime] => 1742045442
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07401250544
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045442
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045413
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 85
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.800000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 88.96000000000024
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 85
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.800000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.29000001373
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045443
{"compaign_id":"36075","contact_id":"212","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_212","uid":"u595","unique_id":"36075_212_138-u595","ivrId":"3158","channelOTime":1742045422,"channelDTime":1742045442,"channelDuration":20,"cSTime":1742045437,"cETime":1742045442,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09883658910","server_ip":"118.185.137.196","insertTime":1742045442,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045424,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 212
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_212
            [uid] => u595
            [unique_id] => 36075_212_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045422
            [channelDTime] => 1742045442
            [channelDuration] => 20
            [cSTime] => 1742045437
            [cETime] => 1742045442
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09883658910
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045442
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045424
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 86
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.880000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 88.88000000000024
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 86
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.880000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.21000001373
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045443
{"compaign_id":"36075","contact_id":"228","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_228","uid":"u595","unique_id":"36075_228_138-u595","ivrId":"3158","channelOTime":1742045425,"channelDTime":1742045443,"channelDuration":18,"cSTime":1742045439,"cETime":1742045443,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07538874461","server_ip":"118.185.137.196","insertTime":1742045443,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045427,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 228
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_228
            [uid] => u595
            [unique_id] => 36075_228_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045425
            [channelDTime] => 1742045443
            [channelDuration] => 18
            [cSTime] => 1742045439
            [cETime] => 1742045443
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07538874461
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045443
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045427
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 87
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.960000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 88.80000000000024
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 87
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 6.960000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.13000001373
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045445
{"compaign_id":"36075","contact_id":"189","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_189","uid":"u595","unique_id":"36075_189_138-u595","ivrId":"3158","channelOTime":1742045417,"channelDTime":1742045444,"channelDuration":27,"cSTime":1742045426,"cETime":1742045444,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09735557303","server_ip":"118.185.137.196","insertTime":1742045444,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045419,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 189
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_189
            [uid] => u595
            [unique_id] => 36075_189_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045417
            [channelDTime] => 1742045444
            [channelDuration] => 27
            [cSTime] => 1742045426
            [cETime] => 1742045444
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09735557303
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045444
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045419
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 88
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.0400000000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 88.72000000000024
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 88
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.0400000000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96653.05000001373
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045446
{"compaign_id":"36075","contact_id":"182","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_182","uid":"u595","unique_id":"36075_182_138-u595","ivrId":"3158","channelOTime":1742045416,"channelDTime":1742045446,"channelDuration":30,"cSTime":1742045423,"cETime":1742045446,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09361737749","server_ip":"118.185.137.196","insertTime":1742045446,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045417,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045423,"endTime":1742045446,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 182
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_182
            [uid] => u595
            [unique_id] => 36075_182_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045416
            [channelDTime] => 1742045446
            [channelDuration] => 30
            [cSTime] => 1742045423
            [cETime] => 1742045446
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09361737749
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045446
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045417
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045423
                                    [endTime] => 1742045446
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 90
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.200000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 88.56000000000024
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 90
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.200000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96652.89000001372
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045448
{"compaign_id":"36075","contact_id":"258","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_258","uid":"u595","unique_id":"36075_258_138-u595","ivrId":"3158","channelOTime":1742045438,"channelDTime":1742045446,"channelDuration":8,"cSTime":1742045444,"cETime":1742045446,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08928453554","server_ip":"118.185.137.196","insertTime":1742045446,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045440,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 258
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_258
            [uid] => u595
            [unique_id] => 36075_258_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045438
            [channelDTime] => 1742045446
            [channelDuration] => 8
            [cSTime] => 1742045444
            [cETime] => 1742045446
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08928453554
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045446
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045440
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 92
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.360000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 88.40000000000025
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 92
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.360000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96652.73000001372
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045448
{"compaign_id":"36075","contact_id":"186","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_186","uid":"u595","unique_id":"36075_186_138-u595","ivrId":"3158","channelOTime":1742045416,"channelDTime":1742045447,"channelDuration":31,"cSTime":1742045423,"cETime":1742045447,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08171395544","server_ip":"118.185.137.196","insertTime":1742045447,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045419,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045423,"endTime":1742045447,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 186
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_186
            [uid] => u595
            [unique_id] => 36075_186_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045416
            [channelDTime] => 1742045447
            [channelDuration] => 31
            [cSTime] => 1742045423
            [cETime] => 1742045447
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08171395544
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045447
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045419
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045423
                                    [endTime] => 1742045447
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 93
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.440000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 88.32000000000025
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 93
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.440000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96652.65000001372
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045448
{"compaign_id":"36075","contact_id":"253","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_253","uid":"u595","unique_id":"36075_253_138-u595","ivrId":"3158","channelOTime":1742045437,"channelDTime":1742045448,"channelDuration":11,"cSTime":1742045446,"cETime":1742045448,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09701741861","server_ip":"118.185.137.196","insertTime":1742045448,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045439,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 253
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_253
            [uid] => u595
            [unique_id] => 36075_253_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045437
            [channelDTime] => 1742045448
            [channelDuration] => 11
            [cSTime] => 1742045446
            [cETime] => 1742045448
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09701741861
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045448
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045439
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 95
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.600000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 88.16000000000025
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 95
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.600000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96652.49000001371
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045449
{"compaign_id":"36075","contact_id":"278","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_278","uid":"u595","unique_id":"36075_278_138-u595","ivrId":"3158","channelOTime":1742045442,"channelDTime":1742045449,"channelDuration":7,"cSTime":1742045446,"cETime":1742045449,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09384481126","server_ip":"118.185.137.196","insertTime":1742045449,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 278
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_278
            [uid] => u595
            [unique_id] => 36075_278_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045442
            [channelDTime] => 1742045449
            [channelDuration] => 7
            [cSTime] => 1742045446
            [cETime] => 1742045449
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09384481126
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045449
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 96
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.680000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 88.08000000000025
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 96
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.680000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96652.41000001371
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045450
{"compaign_id":"36075","contact_id":"223","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_223","uid":"u595","unique_id":"36075_223_138-u595","ivrId":"3158","channelOTime":1742045424,"channelDTime":1742045450,"channelDuration":26,"cSTime":1742045432,"cETime":1742045450,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08637833301","server_ip":"118.185.137.196","insertTime":1742045450,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045426,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 223
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_223
            [uid] => u595
            [unique_id] => 36075_223_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045424
            [channelDTime] => 1742045450
            [channelDuration] => 26
            [cSTime] => 1742045432
            [cETime] => 1742045450
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08637833301
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045450
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045426
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 97
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.760000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 88.00000000000026
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 97
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.760000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96652.33000001371
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045452
{"compaign_id":"36075","contact_id":"221","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_221","uid":"u595","unique_id":"36075_221_138-u595","ivrId":"3158","channelOTime":1742045423,"channelDTime":1742045451,"channelDuration":28,"cSTime":1742045448,"cETime":1742045451,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09567671817","server_ip":"118.185.137.196","insertTime":1742045451,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045432,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 221
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_221
            [uid] => u595
            [unique_id] => 36075_221_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045423
            [channelDTime] => 1742045451
            [channelDuration] => 28
            [cSTime] => 1742045448
            [cETime] => 1742045451
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09567671817
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045451
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045432
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 99
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.920000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 87.84000000000026
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 99
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 7.920000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96652.1700000137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045453
{"compaign_id":"36075","contact_id":"248","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_248","uid":"u595","unique_id":"36075_248_138-u595","ivrId":"3158","channelOTime":1742045436,"channelDTime":1742045452,"channelDuration":16,"cSTime":1742045444,"cETime":1742045452,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09800058408","server_ip":"118.185.137.196","insertTime":1742045452,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045438,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 248
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_248
            [uid] => u595
            [unique_id] => 36075_248_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045436
            [channelDTime] => 1742045452
            [channelDuration] => 16
            [cSTime] => 1742045444
            [cETime] => 1742045452
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09800058408
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045452
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045438
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 100
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.000000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 87.76000000000026
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 100
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.000000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96652.0900000137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045454
{"compaign_id":"36075","contact_id":"263","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_263","uid":"u595","unique_id":"36075_263_138-u595","ivrId":"3158","channelOTime":1742045439,"channelDTime":1742045453,"channelDuration":14,"cSTime":1742045446,"cETime":1742045453,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07095186640","server_ip":"118.185.137.196","insertTime":1742045453,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045441,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 263
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_263
            [uid] => u595
            [unique_id] => 36075_263_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045439
            [channelDTime] => 1742045453
            [channelDuration] => 14
            [cSTime] => 1742045446
            [cETime] => 1742045453
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07095186640
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045453
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045441
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 101
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.080000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 87.68000000000026
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 101
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.080000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96652.0100000137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045454
{"compaign_id":"36075","contact_id":"273","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_273","uid":"u595","unique_id":"36075_273_138-u595","ivrId":"3158","channelOTime":1742045441,"channelDTime":1742045453,"channelDuration":12,"cSTime":1742045450,"cETime":1742045453,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09644785466","server_ip":"118.185.137.196","insertTime":1742045453,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045445,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 273
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_273
            [uid] => u595
            [unique_id] => 36075_273_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045441
            [channelDTime] => 1742045453
            [channelDuration] => 12
            [cSTime] => 1742045450
            [cETime] => 1742045453
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09644785466
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045453
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045445
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 102
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.160000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 87.60000000000026
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 102
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.160000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.9300000137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045454
{"compaign_id":"36075","contact_id":"236","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_236","uid":"u595","unique_id":"36075_236_138-u595","ivrId":"3158","channelOTime":1742045434,"channelDTime":1742045453,"channelDuration":19,"cSTime":1742045451,"cETime":1742045453,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09952737453","server_ip":"118.185.137.196","insertTime":1742045453,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045439,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 236
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_236
            [uid] => u595
            [unique_id] => 36075_236_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045434
            [channelDTime] => 1742045453
            [channelDuration] => 19
            [cSTime] => 1742045451
            [cETime] => 1742045453
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09952737453
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045453
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045439
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 103
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.240000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 87.52000000000027
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 103
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.240000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.8500000137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045455
{"compaign_id":"36075","contact_id":"251","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_251","uid":"u595","unique_id":"36075_251_138-u595","ivrId":"3158","channelOTime":1742045437,"channelDTime":1742045454,"channelDuration":17,"cSTime":1742045447,"cETime":1742045454,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09016964193","server_ip":"118.185.137.196","insertTime":1742045454,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045439,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 251
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_251
            [uid] => u595
            [unique_id] => 36075_251_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045437
            [channelDTime] => 1742045454
            [channelDuration] => 17
            [cSTime] => 1742045447
            [cETime] => 1742045454
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09016964193
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045454
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045439
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 104
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.320000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 87.44000000000027
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 104
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.320000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.7700000137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045455
{"compaign_id":"36075","contact_id":"242","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_242","uid":"u595","unique_id":"36075_242_138-u595","ivrId":"3158","channelOTime":1742045435,"channelDTime":1742045455,"channelDuration":20,"cSTime":1742045448,"cETime":1742045455,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08930441311","server_ip":"118.185.137.196","insertTime":1742045455,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045437,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 242
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_242
            [uid] => u595
            [unique_id] => 36075_242_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045435
            [channelDTime] => 1742045455
            [channelDuration] => 20
            [cSTime] => 1742045448
            [cETime] => 1742045455
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08930441311
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045455
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045437
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 105
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.400000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 87.36000000000027
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 105
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.400000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.6900000137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045456
{"compaign_id":"36075","contact_id":"271","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_271","uid":"u595","unique_id":"36075_271_138-u595","ivrId":"3158","channelOTime":1742045441,"channelDTime":1742045456,"channelDuration":15,"cSTime":1742045452,"cETime":1742045456,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09955132297","server_ip":"118.185.137.196","insertTime":1742045456,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045444,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 271
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_271
            [uid] => u595
            [unique_id] => 36075_271_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045441
            [channelDTime] => 1742045456
            [channelDuration] => 15
            [cSTime] => 1742045452
            [cETime] => 1742045456
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09955132297
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045456
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045444
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 106
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.480000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 87.28000000000027
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 106
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.480000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.6100000137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045457
{"compaign_id":"36075","contact_id":"243","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_243","uid":"u595","unique_id":"36075_243_138-u595","ivrId":"3158","channelOTime":1742045435,"channelDTime":1742045456,"channelDuration":21,"cSTime":1742045449,"cETime":1742045456,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08688697795","server_ip":"118.185.137.196","insertTime":1742045456,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045439,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 243
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_243
            [uid] => u595
            [unique_id] => 36075_243_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045435
            [channelDTime] => 1742045456
            [channelDuration] => 21
            [cSTime] => 1742045449
            [cETime] => 1742045456
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08688697795
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045456
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045439
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 107
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.560000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 87.20000000000027
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 107
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.560000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.53000001369
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045458
{"compaign_id":"36075","contact_id":"255","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_255","uid":"u595","unique_id":"36075_255_138-u595","ivrId":"3158","channelOTime":1742045438,"channelDTime":1742045457,"channelDuration":19,"cSTime":1742045448,"cETime":1742045457,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08179398873","server_ip":"118.185.137.196","insertTime":1742045457,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045440,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 255
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_255
            [uid] => u595
            [unique_id] => 36075_255_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045438
            [channelDTime] => 1742045457
            [channelDuration] => 19
            [cSTime] => 1742045448
            [cETime] => 1742045457
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08179398873
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045457
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045440
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 108
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.640000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 87.12000000000027
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 108
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.640000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.45000001369
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045458
{"compaign_id":"36075","contact_id":"262","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_262","uid":"u595","unique_id":"36075_262_138-u595","ivrId":"3158","channelOTime":1742045439,"channelDTime":1742045459,"channelDuration":20,"cSTime":1742045446,"cETime":1742045459,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09889636365","server_ip":"118.185.137.196","insertTime":1742045459,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045444,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 262
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_262
            [uid] => u595
            [unique_id] => 36075_262_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045439
            [channelDTime] => 1742045459
            [channelDuration] => 20
            [cSTime] => 1742045446
            [cETime] => 1742045459
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09889636365
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045459
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045444
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 109
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.720000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 87.04000000000028
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 109
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.720000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.37000001369
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045461
2025-03-15 19:01:02[LOG]Starting Cron
2025-03-15 19:01:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"291","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_291","uid":"u595","unique_id":"36075_291_138-u595","ivrId":"3158","channelOTime":1742045452,"channelDTime":1742045461,"channelDuration":9,"cSTime":1742045458,"cETime":1742045461,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08875574037","server_ip":"118.185.137.196","insertTime":1742045461,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045453,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 291
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_291
            [uid] => u595
            [unique_id] => 36075_291_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045452
            [channelDTime] => 1742045461
            [channelDuration] => 9
            [cSTime] => 1742045458
            [cETime] => 1742045461
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08875574037
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045461
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045453
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 110
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.800000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 86.96000000000028
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 110
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.800000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.29000001369
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045463
{"compaign_id":"36075","contact_id":"234","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_234","uid":"u595","unique_id":"36075_234_138-u595","ivrId":"3158","channelOTime":1742045433,"channelDTime":1742045463,"channelDuration":30,"cSTime":1742045453,"cETime":1742045463,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06395270575","server_ip":"118.185.137.196","insertTime":1742045463,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045437,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 234
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_234
            [uid] => u595
            [unique_id] => 36075_234_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045433
            [channelDTime] => 1742045463
            [channelDuration] => 30
            [cSTime] => 1742045453
            [cETime] => 1742045463
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06395270575
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045463
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045437
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 111
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.880000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 86.88000000000028
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 111
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.880000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.21000001369
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045465
{"compaign_id":"36075","contact_id":"272","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_272","uid":"u595","unique_id":"36075_272_138-u595","ivrId":"3158","channelOTime":1742045441,"channelDTime":1742045463,"channelDuration":22,"cSTime":1742045458,"cETime":1742045463,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09921189389","server_ip":"118.185.137.196","insertTime":1742045463,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045443,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 272
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_272
            [uid] => u595
            [unique_id] => 36075_272_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045441
            [channelDTime] => 1742045463
            [channelDuration] => 22
            [cSTime] => 1742045458
            [cETime] => 1742045463
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09921189389
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045463
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045443
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 112
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.960000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 86.80000000000028
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 112
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 8.960000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.13000001368
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045465
{"compaign_id":"36075","contact_id":"303","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_303","uid":"u595","unique_id":"36075_303_138-u595","ivrId":"3158","channelOTime":1742045454,"channelDTime":1742045464,"channelDuration":10,"cSTime":1742045459,"cETime":1742045464,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08877240388","server_ip":"118.185.137.196","insertTime":1742045464,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045455,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 303
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_303
            [uid] => u595
            [unique_id] => 36075_303_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045454
            [channelDTime] => 1742045464
            [channelDuration] => 10
            [cSTime] => 1742045459
            [cETime] => 1742045464
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08877240388
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045464
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045455
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 113
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.040000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 86.72000000000028
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 113
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.040000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96651.05000001368
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045466
{"compaign_id":"36075","contact_id":"214","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_214","uid":"u595","unique_id":"36075_214_138-u595","ivrId":"3158","channelOTime":1742045422,"channelDTime":1742045466,"channelDuration":44,"cSTime":1742045442,"cETime":1742045466,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07258873300","server_ip":"118.185.137.196","insertTime":1742045466,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045425,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045442,"endTime":1742045460,"duration":18}],"#3":[{"startTime":1742045460,"endTime":1742045466,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 214
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_214
            [uid] => u595
            [unique_id] => 36075_214_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045422
            [channelDTime] => 1742045466
            [channelDuration] => 44
            [cSTime] => 1742045442
            [cETime] => 1742045466
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07258873300
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045466
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045425
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045442
                                    [endTime] => 1742045460
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045460
                                    [endTime] => 1742045466
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 114
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.120000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 86.64000000000028
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 114
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.120000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96650.97000001368
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045468
{"compaign_id":"36075","contact_id":"241","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_241","uid":"u595","unique_id":"36075_241_138-u595","ivrId":"3158","channelOTime":1742045435,"channelDTime":1742045466,"channelDuration":31,"cSTime":1742045443,"cETime":1742045466,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07828130877","server_ip":"118.185.137.196","insertTime":1742045466,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045437,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045443,"endTime":1742045466,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 241
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_241
            [uid] => u595
            [unique_id] => 36075_241_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045435
            [channelDTime] => 1742045466
            [channelDuration] => 31
            [cSTime] => 1742045443
            [cETime] => 1742045466
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07828130877
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045466
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045437
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045443
                                    [endTime] => 1742045466
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 116
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.280000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 86.48000000000029
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 116
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.280000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96650.81000001368
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045468
{"compaign_id":"36075","contact_id":"294","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_294","uid":"u595","unique_id":"36075_294_138-u595","ivrId":"3158","channelOTime":1742045452,"channelDTime":1742045467,"channelDuration":15,"cSTime":1742045465,"cETime":1742045467,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08651389760","server_ip":"118.185.137.196","insertTime":1742045467,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045454,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 294
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_294
            [uid] => u595
            [unique_id] => 36075_294_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045452
            [channelDTime] => 1742045467
            [channelDuration] => 15
            [cSTime] => 1742045465
            [cETime] => 1742045467
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08651389760
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045467
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045454
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 118
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.440000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 86.32000000000029
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 118
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.440000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96650.65000001367
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045469
{"compaign_id":"36075","contact_id":"266","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_266","uid":"u595","unique_id":"36075_266_138-u595","ivrId":"3158","channelOTime":1742045440,"channelDTime":1742045469,"channelDuration":29,"cSTime":1742045459,"cETime":1742045469,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09450010068","server_ip":"118.185.137.196","insertTime":1742045469,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045442,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 266
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_266
            [uid] => u595
            [unique_id] => 36075_266_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045440
            [channelDTime] => 1742045469
            [channelDuration] => 29
            [cSTime] => 1742045459
            [cETime] => 1742045469
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09450010068
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045469
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045442
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 119
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.520000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 86.2400000000003
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 119
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.520000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96650.57000001367
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045470
{"compaign_id":"36075","contact_id":"327","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_327","uid":"u595","unique_id":"36075_327_138-u595","ivrId":"3158","channelOTime":1742045459,"channelDTime":1742045470,"channelDuration":11,"cSTime":1742045465,"cETime":1742045470,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07622817145","server_ip":"118.185.137.196","insertTime":1742045470,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 327
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_327
            [uid] => u595
            [unique_id] => 36075_327_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045459
            [channelDTime] => 1742045470
            [channelDuration] => 11
            [cSTime] => 1742045465
            [cETime] => 1742045470
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07622817145
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045470
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 120
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.600000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 86.1600000000003
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 120
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.600000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96493.63000001367
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045472
{"compaign_id":"36075","contact_id":"323","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_323","uid":"u595","unique_id":"36075_323_138-u595","ivrId":"3158","channelOTime":1742045458,"channelDTime":1742045472,"channelDuration":14,"cSTime":1742045469,"cETime":1742045472,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08348204565","server_ip":"118.185.137.196","insertTime":1742045472,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045462,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 323
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_323
            [uid] => u595
            [unique_id] => 36075_323_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045458
            [channelDTime] => 1742045472
            [channelDuration] => 14
            [cSTime] => 1742045469
            [cETime] => 1742045472
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08348204565
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045472
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045462
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 121
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.680000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 86.0800000000003
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 121
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.680000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96493.55000001367
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045474
{"compaign_id":"36075","contact_id":"247","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_247","uid":"u595","unique_id":"36075_247_138-u595","ivrId":"3158","channelOTime":1742045436,"channelDTime":1742045473,"channelDuration":37,"cSTime":1742045449,"cETime":1742045473,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07352183945","server_ip":"118.185.137.196","insertTime":1742045473,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045446,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045449,"endTime":1742045473,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 247
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_247
            [uid] => u595
            [unique_id] => 36075_247_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045436
            [channelDTime] => 1742045473
            [channelDuration] => 37
            [cSTime] => 1742045449
            [cETime] => 1742045473
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07352183945
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045473
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045446
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045449
                                    [endTime] => 1742045473
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 122
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.760000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 86.0000000000003
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 122
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.760000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96493.47000001367
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045474
{"compaign_id":"36075","contact_id":"287","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_287","uid":"u595","unique_id":"36075_287_138-u595","ivrId":"3158","channelOTime":1742045451,"channelDTime":1742045475,"channelDuration":24,"cSTime":1742045471,"cETime":1742045475,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06305079595","server_ip":"118.185.137.196","insertTime":1742045475,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045454,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 287
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_287
            [uid] => u595
            [unique_id] => 36075_287_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045451
            [channelDTime] => 1742045475
            [channelDuration] => 24
            [cSTime] => 1742045471
            [cETime] => 1742045475
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06305079595
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045475
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045454
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 124
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.920000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 85.8400000000003
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 124
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 9.920000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96493.31000001366
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045476
{"compaign_id":"36075","contact_id":"304","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_304","uid":"u595","unique_id":"36075_304_138-u595","ivrId":"3158","channelOTime":1742045454,"channelDTime":1742045477,"channelDuration":23,"cSTime":1742045471,"cETime":1742045477,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07827791235","server_ip":"118.185.137.196","insertTime":1742045477,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045457,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 304
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_304
            [uid] => u595
            [unique_id] => 36075_304_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045454
            [channelDTime] => 1742045477
            [channelDuration] => 23
            [cSTime] => 1742045471
            [cETime] => 1742045477
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07827791235
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045477
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045457
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 125
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.000000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 85.7600000000003
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 125
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.000000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96493.23000001366
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045479
{"compaign_id":"36075","contact_id":"298","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_298","uid":"u595","unique_id":"36075_298_138-u595","ivrId":"3158","channelOTime":1742045453,"channelDTime":1742045480,"channelDuration":27,"cSTime":1742045456,"cETime":1742045480,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09111770770","server_ip":"118.185.137.196","insertTime":1742045480,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045456,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045456,"endTime":1742045480,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 298
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_298
            [uid] => u595
            [unique_id] => 36075_298_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045453
            [channelDTime] => 1742045480
            [channelDuration] => 27
            [cSTime] => 1742045456
            [cETime] => 1742045480
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09111770770
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045480
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045456
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045456
                                    [endTime] => 1742045480
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 126
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.080000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 85.6800000000003
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 126
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.080000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96493.15000001366
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045481
{"compaign_id":"36075","contact_id":"293","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_293","uid":"u595","unique_id":"36075_293_138-u595","ivrId":"3158","channelOTime":1742045452,"channelDTime":1742045482,"channelDuration":30,"cSTime":1742045477,"cETime":1742045482,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07355352367","server_ip":"118.185.137.196","insertTime":1742045482,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045455,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 293
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_293
            [uid] => u595
            [unique_id] => 36075_293_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045452
            [channelDTime] => 1742045482
            [channelDuration] => 30
            [cSTime] => 1742045477
            [cETime] => 1742045482
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07355352367
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045482
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045455
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 128
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.240000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 85.52000000000031
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 128
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.240000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96492.99000001365
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045483
{"compaign_id":"36075","contact_id":"347","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_347","uid":"u595","unique_id":"36075_347_138-u595","ivrId":"3158","channelOTime":1742045470,"channelDTime":1742045484,"channelDuration":14,"cSTime":1742045479,"cETime":1742045484,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08866776306","server_ip":"118.185.137.196","insertTime":1742045484,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045473,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 347
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_347
            [uid] => u595
            [unique_id] => 36075_347_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045470
            [channelDTime] => 1742045484
            [channelDuration] => 14
            [cSTime] => 1742045479
            [cETime] => 1742045484
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08866776306
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045484
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045473
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 129
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.320000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 85.44000000000031
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 129
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.320000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96492.91000001365
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045485
{"compaign_id":"36075","contact_id":"348","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_348","uid":"u595","unique_id":"36075_348_138-u595","ivrId":"3158","channelOTime":1742045471,"channelDTime":1742045485,"channelDuration":14,"cSTime":1742045480,"cETime":1742045485,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09641387510","server_ip":"118.185.137.196","insertTime":1742045485,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045473,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 348
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_348
            [uid] => u595
            [unique_id] => 36075_348_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045471
            [channelDTime] => 1742045485
            [channelDuration] => 14
            [cSTime] => 1742045480
            [cETime] => 1742045485
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09641387510
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045485
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045473
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 130
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.400000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 85.36000000000031
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 130
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.400000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96492.83000001365
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045487
{"compaign_id":"36075","contact_id":"362","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_362","uid":"u595","unique_id":"36075_362_138-u595","ivrId":"3158","channelOTime":1742045473,"channelDTime":1742045487,"channelDuration":14,"cSTime":1742045481,"cETime":1742045487,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08625933387","server_ip":"118.185.137.196","insertTime":1742045487,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045476,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 362
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_362
            [uid] => u595
            [unique_id] => 36075_362_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045473
            [channelDTime] => 1742045487
            [channelDuration] => 14
            [cSTime] => 1742045481
            [cETime] => 1742045487
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08625933387
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045487
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045476
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 131
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.480000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 85.28000000000031
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 131
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.480000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96492.75000001365
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045488
{"compaign_id":"36075","contact_id":"265","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_265","uid":"u595","unique_id":"36075_265_138-u595","ivrId":"3158","channelOTime":1742045440,"channelDTime":1742045487,"channelDuration":47,"cSTime":1742045464,"cETime":1742045487,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09635152965","server_ip":"118.185.137.196","insertTime":1742045487,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045442,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045464,"endTime":1742045487,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 265
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_265
            [uid] => u595
            [unique_id] => 36075_265_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045440
            [channelDTime] => 1742045487
            [channelDuration] => 47
            [cSTime] => 1742045464
            [cETime] => 1742045487
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09635152965
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045487
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045442
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045464
                                    [endTime] => 1742045487
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 132
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.560000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 85.20000000000032
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 132
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.560000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96492.67000001365
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045489
{"compaign_id":"36075","contact_id":"349","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_349","uid":"u595","unique_id":"36075_349_138-u595","ivrId":"3158","channelOTime":1742045471,"channelDTime":1742045487,"channelDuration":16,"cSTime":1742045483,"cETime":1742045487,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07002348432","server_ip":"118.185.137.196","insertTime":1742045487,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045474,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 349
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_349
            [uid] => u595
            [unique_id] => 36075_349_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045471
            [channelDTime] => 1742045487
            [channelDuration] => 16
            [cSTime] => 1742045483
            [cETime] => 1742045487
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07002348432
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045487
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045474
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 134
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.720000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 85.04000000000032
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 134
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.720000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96492.51000001364
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045489
{"compaign_id":"36075","contact_id":"336","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_336","uid":"u595","unique_id":"36075_336_138-u595","ivrId":"3158","channelOTime":1742045468,"channelDTime":1742045489,"channelDuration":21,"cSTime":1742045487,"cETime":1742045489,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08092265060","server_ip":"118.185.137.196","insertTime":1742045489,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045471,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 336
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_336
            [uid] => u595
            [unique_id] => 36075_336_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045468
            [channelDTime] => 1742045489
            [channelDuration] => 21
            [cSTime] => 1742045487
            [cETime] => 1742045489
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08092265060
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045489
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045471
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 135
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.800000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 84.96000000000032
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 135
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.800000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96492.43000001364
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045491
{"compaign_id":"36075","contact_id":"325","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_325","uid":"u595","unique_id":"36075_325_138-u595","ivrId":"3158","channelOTime":1742045459,"channelDTime":1742045490,"channelDuration":31,"cSTime":1742045471,"cETime":1742045490,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08320915164","server_ip":"118.185.137.196","insertTime":1742045490,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 325
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_325
            [uid] => u595
            [unique_id] => 36075_325_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045459
            [channelDTime] => 1742045490
            [channelDuration] => 31
            [cSTime] => 1742045471
            [cETime] => 1742045490
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08320915164
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045490
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 136
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.880000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 84.88000000000032
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 136
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 10.880000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96492.35000001364
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045491
{"compaign_id":"36075","contact_id":"328","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_328","uid":"u595","unique_id":"36075_328_138-u595","ivrId":"3158","channelOTime":1742045459,"channelDTime":1742045491,"channelDuration":32,"cSTime":1742045473,"cETime":1742045491,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09760670955","server_ip":"118.185.137.196","insertTime":1742045491,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045462,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 328
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_328
            [uid] => u595
            [unique_id] => 36075_328_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045459
            [channelDTime] => 1742045491
            [channelDuration] => 32
            [cSTime] => 1742045473
            [cETime] => 1742045491
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09760670955
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045491
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045462
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 138
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.040000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 84.72000000000033
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 138
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.040000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96492.19000001364
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045493
{"compaign_id":"36075","contact_id":"372","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_372","uid":"u595","unique_id":"36075_372_138-u595","ivrId":"3158","channelOTime":1742045475,"channelDTime":1742045492,"channelDuration":17,"cSTime":1742045484,"cETime":1742045492,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09334264525","server_ip":"118.185.137.196","insertTime":1742045492,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045479,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 372
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_372
            [uid] => u595
            [unique_id] => 36075_372_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045475
            [channelDTime] => 1742045492
            [channelDuration] => 17
            [cSTime] => 1742045484
            [cETime] => 1742045492
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09334264525
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045492
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045479
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 140
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.200000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 84.56000000000033
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 140
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.200000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96492.03000001363
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045494
{"compaign_id":"36075","contact_id":"358","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_358","uid":"u595","unique_id":"36075_358_138-u595","ivrId":"3158","channelOTime":1742045473,"channelDTime":1742045492,"channelDuration":19,"cSTime":1742045489,"cETime":1742045492,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08148700799","server_ip":"118.185.137.196","insertTime":1742045492,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045477,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 358
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_358
            [uid] => u595
            [unique_id] => 36075_358_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045473
            [channelDTime] => 1742045492
            [channelDuration] => 19
            [cSTime] => 1742045489
            [cETime] => 1742045492
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08148700799
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045492
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045477
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 141
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.280000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 84.48000000000033
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 141
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.280000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96491.95000001363
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045494
{"compaign_id":"36075","contact_id":"337","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_337","uid":"u595","unique_id":"36075_337_138-u595","ivrId":"3158","channelOTime":1742045468,"channelDTime":1742045492,"channelDuration":24,"cSTime":1742045480,"cETime":1742045492,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09877086864","server_ip":"118.185.137.196","insertTime":1742045492,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045471,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 337
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_337
            [uid] => u595
            [unique_id] => 36075_337_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045468
            [channelDTime] => 1742045492
            [channelDuration] => 24
            [cSTime] => 1742045480
            [cETime] => 1742045492
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09877086864
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045492
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045471
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 142
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.360000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 84.40000000000033
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 142
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.360000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96491.87000001363
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045494
{"compaign_id":"36075","contact_id":"322","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_322","uid":"u595","unique_id":"36075_322_138-u595","ivrId":"3158","channelOTime":1742045458,"channelDTime":1742045494,"channelDuration":36,"cSTime":1742045474,"cETime":1742045494,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09886566282","server_ip":"118.185.137.196","insertTime":1742045494,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 322
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_322
            [uid] => u595
            [unique_id] => 36075_322_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045458
            [channelDTime] => 1742045494
            [channelDuration] => 36
            [cSTime] => 1742045474
            [cETime] => 1742045494
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09886566282
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045494
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 143
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.440000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 84.32000000000033
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 143
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.440000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96491.79000001363
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045495
{"compaign_id":"36075","contact_id":"335","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_335","uid":"u595","unique_id":"36075_335_138-u595","ivrId":"3158","channelOTime":1742045468,"channelDTime":1742045498,"channelDuration":30,"cSTime":1742045475,"cETime":1742045498,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09905824953","server_ip":"118.185.137.196","insertTime":1742045498,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045469,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045475,"endTime":1742045498,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 335
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_335
            [uid] => u595
            [unique_id] => 36075_335_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045468
            [channelDTime] => 1742045498
            [channelDuration] => 30
            [cSTime] => 1742045475
            [cETime] => 1742045498
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09905824953
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045498
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045469
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045475
                                    [endTime] => 1742045498
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 145
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.600000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 84.16000000000034
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 145
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.600000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96491.63000001363
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045500
{"compaign_id":"36075","contact_id":"312","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_312","uid":"u595","unique_id":"36075_312_138-u595","ivrId":"3158","channelOTime":1742045456,"channelDTime":1742045498,"channelDuration":42,"cSTime":1742045475,"cETime":1742045498,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09101187602","server_ip":"118.185.137.196","insertTime":1742045498,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045458,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045475,"endTime":1742045498,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 312
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_312
            [uid] => u595
            [unique_id] => 36075_312_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045456
            [channelDTime] => 1742045498
            [channelDuration] => 42
            [cSTime] => 1742045475
            [cETime] => 1742045498
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09101187602
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045498
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045458
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045475
                                    [endTime] => 1742045498
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 147
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.760000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 84.00000000000034
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 147
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.760000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96491.47000001362
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045500
{"compaign_id":"36075","contact_id":"392","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_392","uid":"u595","unique_id":"36075_392_138-u595","ivrId":"3158","channelOTime":1742045487,"channelDTime":1742045499,"channelDuration":12,"cSTime":1742045496,"cETime":1742045499,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08459991223","server_ip":"118.185.137.196","insertTime":1742045499,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045488,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 392
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_392
            [uid] => u595
            [unique_id] => 36075_392_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045487
            [channelDTime] => 1742045499
            [channelDuration] => 12
            [cSTime] => 1742045496
            [cETime] => 1742045499
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08459991223
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045499
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045488
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 149
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.920000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 83.84000000000034
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 149
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 11.920000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96491.31000001362
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045500
{"compaign_id":"36075","contact_id":"375","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_375","uid":"u595","unique_id":"36075_375_138-u595","ivrId":"3158","channelOTime":1742045476,"channelDTime":1742045500,"channelDuration":24,"cSTime":1742045494,"cETime":1742045500,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07878675153","server_ip":"118.185.137.196","insertTime":1742045500,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045479,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 375
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_375
            [uid] => u595
            [unique_id] => 36075_375_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045476
            [channelDTime] => 1742045500
            [channelDuration] => 24
            [cSTime] => 1742045494
            [cETime] => 1742045500
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07878675153
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045500
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045479
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 150
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.000000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 83.76000000000035
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 150
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.000000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96491.23000001362
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045502
{"compaign_id":"36075","contact_id":"315","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_315","uid":"u595","unique_id":"36075_315_138-u595","ivrId":"3158","channelOTime":1742045457,"channelDTime":1742045502,"channelDuration":45,"cSTime":1742045478,"cETime":1742045502,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07887264150","server_ip":"118.185.137.196","insertTime":1742045502,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045458,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045478,"endTime":1742045502,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 315
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_315
            [uid] => u595
            [unique_id] => 36075_315_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045457
            [channelDTime] => 1742045502
            [channelDuration] => 45
            [cSTime] => 1742045478
            [cETime] => 1742045502
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07887264150
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045502
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045458
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045478
                                    [endTime] => 1742045502
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 151
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.080000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 83.68000000000035
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 151
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.080000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96491.15000001361
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045503
{"compaign_id":"36075","contact_id":"410","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_410","uid":"u595","unique_id":"36075_410_138-u595","ivrId":"3158","channelOTime":1742045490,"channelDTime":1742045503,"channelDuration":13,"cSTime":1742045499,"cETime":1742045503,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09600272844","server_ip":"118.185.137.196","insertTime":1742045503,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045492,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 410
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_410
            [uid] => u595
            [unique_id] => 36075_410_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045490
            [channelDTime] => 1742045503
            [channelDuration] => 13
            [cSTime] => 1742045499
            [cETime] => 1742045503
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09600272844
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045503
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045492
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 153
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.240000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 83.52000000000035
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 153
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.240000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96490.99000001361
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045504
{"compaign_id":"36075","contact_id":"422","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_422","uid":"u595","unique_id":"36075_422_138-u595","ivrId":"3158","channelOTime":1742045493,"channelDTime":1742045503,"channelDuration":10,"cSTime":1742045500,"cETime":1742045503,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07983364988","server_ip":"118.185.137.196","insertTime":1742045503,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045495,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 422
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_422
            [uid] => u595
            [unique_id] => 36075_422_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045493
            [channelDTime] => 1742045503
            [channelDuration] => 10
            [cSTime] => 1742045500
            [cETime] => 1742045503
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07983364988
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045503
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045495
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 154
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.32000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 83.44000000000035
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 154
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.32000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96490.91000001361
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045505
{"compaign_id":"36075","contact_id":"379","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_379","uid":"u595","unique_id":"36075_379_138-u595","ivrId":"3158","channelOTime":1742045477,"channelDTime":1742045504,"channelDuration":27,"cSTime":1742045493,"cETime":1742045504,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08261839140","server_ip":"118.185.137.196","insertTime":1742045504,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045480,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 379
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_379
            [uid] => u595
            [unique_id] => 36075_379_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045477
            [channelDTime] => 1742045504
            [channelDuration] => 27
            [cSTime] => 1742045493
            [cETime] => 1742045504
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08261839140
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045504
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045480
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 155
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.40000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 83.36000000000035
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 155
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.40000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96490.83000001361
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045506
{"compaign_id":"36075","contact_id":"426","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_426","uid":"u595","unique_id":"36075_426_138-u595","ivrId":"3158","channelOTime":1742045493,"channelDTime":1742045505,"channelDuration":12,"cSTime":1742045502,"cETime":1742045505,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08160858718","server_ip":"118.185.137.196","insertTime":1742045505,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045497,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 426
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_426
            [uid] => u595
            [unique_id] => 36075_426_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045493
            [channelDTime] => 1742045505
            [channelDuration] => 12
            [cSTime] => 1742045502
            [cETime] => 1742045505
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08160858718
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045505
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045497
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 156
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.48000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 83.28000000000036
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 156
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.48000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96490.7500000136
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045507
{"compaign_id":"36075","contact_id":"341","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_341","uid":"u595","unique_id":"36075_341_138-u595","ivrId":"3158","channelOTime":1742045469,"channelDTime":1742045505,"channelDuration":36,"cSTime":1742045487,"cETime":1742045505,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09004594200","server_ip":"118.185.137.196","insertTime":1742045505,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045472,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 341
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_341
            [uid] => u595
            [unique_id] => 36075_341_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045469
            [channelDTime] => 1742045505
            [channelDuration] => 36
            [cSTime] => 1742045487
            [cETime] => 1742045505
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09004594200
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045505
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045472
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 157
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.56000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 83.20000000000036
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 157
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.56000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96490.6700000136
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045507
{"compaign_id":"36075","contact_id":"321","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_321","uid":"u595","unique_id":"36075_321_138-u595","ivrId":"3158","channelOTime":1742045458,"channelDTime":1742045506,"channelDuration":48,"cSTime":1742045482,"cETime":1742045506,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09634824061","server_ip":"118.185.137.196","insertTime":1742045506,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045461,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045482,"endTime":1742045506,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 321
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_321
            [uid] => u595
            [unique_id] => 36075_321_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045458
            [channelDTime] => 1742045506
            [channelDuration] => 48
            [cSTime] => 1742045482
            [cETime] => 1742045506
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09634824061
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045506
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045461
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045482
                                    [endTime] => 1742045506
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 159
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.72000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 83.04000000000036
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 159
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.72000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96490.5100000136
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045507
{"compaign_id":"36075","contact_id":"401","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_401","uid":"u595","unique_id":"36075_401_138-u595","ivrId":"3158","channelOTime":1742045488,"channelDTime":1742045506,"channelDuration":18,"cSTime":1742045499,"cETime":1742045506,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07896778982","server_ip":"118.185.137.196","insertTime":1742045506,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045491,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 401
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_401
            [uid] => u595
            [unique_id] => 36075_401_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045488
            [channelDTime] => 1742045506
            [channelDuration] => 18
            [cSTime] => 1742045499
            [cETime] => 1742045506
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07896778982
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045506
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045491
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 161
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.88000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 82.88000000000036
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 161
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.88000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96490.3500000136
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045508
{"compaign_id":"36075","contact_id":"354","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_354","uid":"u595","unique_id":"36075_354_138-u595","ivrId":"3158","channelOTime":1742045472,"channelDTime":1742045509,"channelDuration":37,"cSTime":1742045486,"cETime":1742045509,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09330965079","server_ip":"118.185.137.196","insertTime":1742045509,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045474,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045486,"endTime":1742045509,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 354
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_354
            [uid] => u595
            [unique_id] => 36075_354_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045472
            [channelDTime] => 1742045509
            [channelDuration] => 37
            [cSTime] => 1742045486
            [cETime] => 1742045509
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09330965079
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045509
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045474
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045486
                                    [endTime] => 1742045509
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 162
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.96000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 82.80000000000037
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 162
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 12.96000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96490.2700000136
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045511
{"compaign_id":"36075","contact_id":"396","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_396","uid":"u595","unique_id":"36075_396_138-u595","ivrId":"3158","channelOTime":1742045487,"channelDTime":1742045510,"channelDuration":23,"cSTime":1742045500,"cETime":1742045510,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08697376010","server_ip":"118.185.137.196","insertTime":1742045510,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045490,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 396
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_396
            [uid] => u595
            [unique_id] => 36075_396_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045487
            [channelDTime] => 1742045510
            [channelDuration] => 23
            [cSTime] => 1742045500
            [cETime] => 1742045510
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08697376010
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045510
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045490
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 164
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.12000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 82.64000000000037
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 164
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.12000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96490.11000001359
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045511
{"compaign_id":"36075","contact_id":"345","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_345","uid":"u595","unique_id":"36075_345_138-u595","ivrId":"3158","channelOTime":1742045470,"channelDTime":1742045510,"channelDuration":40,"cSTime":1742045485,"cETime":1742045510,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09335352209","server_ip":"118.185.137.196","insertTime":1742045510,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045471,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045485,"endTime":1742045504,"duration":19}],"#3":[{"startTime":1742045504,"endTime":1742045510,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 345
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_345
            [uid] => u595
            [unique_id] => 36075_345_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045470
            [channelDTime] => 1742045510
            [channelDuration] => 40
            [cSTime] => 1742045485
            [cETime] => 1742045510
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09335352209
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045510
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045471
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045485
                                    [endTime] => 1742045504
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045504
                                    [endTime] => 1742045510
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 165
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.20000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 82.56000000000037
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 165
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.20000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96490.03000001359
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045512
{"compaign_id":"36075","contact_id":"400","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_400","uid":"u595","unique_id":"36075_400_138-u595","ivrId":"3158","channelOTime":1742045488,"channelDTime":1742045512,"channelDuration":24,"cSTime":1742045501,"cETime":1742045512,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07874440866","server_ip":"118.185.137.196","insertTime":1742045512,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045491,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 400
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_400
            [uid] => u595
            [unique_id] => 36075_400_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045488
            [channelDTime] => 1742045512
            [channelDuration] => 24
            [cSTime] => 1742045501
            [cETime] => 1742045512
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07874440866
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045512
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045491
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 167
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.36000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 82.40000000000038
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 167
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.36000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96489.87000001359
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045514
{"compaign_id":"36075","contact_id":"424","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_424","uid":"u595","unique_id":"36075_424_138-u595","ivrId":"3158","channelOTime":1742045493,"channelDTime":1742045514,"channelDuration":21,"cSTime":1742045505,"cETime":1742045514,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09492860136","server_ip":"118.185.137.196","insertTime":1742045514,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045496,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 424
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_424
            [uid] => u595
            [unique_id] => 36075_424_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045493
            [channelDTime] => 1742045514
            [channelDuration] => 21
            [cSTime] => 1742045505
            [cETime] => 1742045514
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09492860136
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045514
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045496
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 168
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.44000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 82.32000000000038
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 168
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.44000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96489.79000001359
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045515
{"compaign_id":"36075","contact_id":"382","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_382","uid":"u595","unique_id":"36075_382_138-u595","ivrId":"3158","channelOTime":1742045485,"channelDTime":1742045514,"channelDuration":29,"cSTime":1742045495,"cETime":1742045514,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08135057759","server_ip":"118.185.137.196","insertTime":1742045514,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045487,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 382
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_382
            [uid] => u595
            [unique_id] => 36075_382_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045485
            [channelDTime] => 1742045514
            [channelDuration] => 29
            [cSTime] => 1742045495
            [cETime] => 1742045514
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08135057759
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045514
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045487
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 169
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.52000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 82.24000000000038
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 169
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.52000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96489.71000001358
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045515
{"compaign_id":"36075","contact_id":"364","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_364","uid":"u595","unique_id":"36075_364_138-u595","ivrId":"3158","channelOTime":1742045474,"channelDTime":1742045517,"channelDuration":43,"cSTime":1742045494,"cETime":1742045517,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08699738589","server_ip":"118.185.137.196","insertTime":1742045517,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045478,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045494,"endTime":1742045517,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 364
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_364
            [uid] => u595
            [unique_id] => 36075_364_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045474
            [channelDTime] => 1742045517
            [channelDuration] => 43
            [cSTime] => 1742045494
            [cETime] => 1742045517
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08699738589
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045517
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045478
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045494
                                    [endTime] => 1742045517
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 171
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.68000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 82.08000000000038
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 171
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.68000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96489.55000001358
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045519
{"compaign_id":"36075","contact_id":"368","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_368","uid":"u595","unique_id":"36075_368_138-u595","ivrId":"3158","channelOTime":1742045475,"channelDTime":1742045520,"channelDuration":45,"cSTime":1742045496,"cETime":1742045520,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09154750771","server_ip":"118.185.137.196","insertTime":1742045520,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045476,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045496,"endTime":1742045520,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 368
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_368
            [uid] => u595
            [unique_id] => 36075_368_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045475
            [channelDTime] => 1742045520
            [channelDuration] => 45
            [cSTime] => 1742045496
            [cETime] => 1742045520
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09154750771
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045520
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045476
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045496
                                    [endTime] => 1742045520
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 173
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.84000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 81.92000000000039
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 173
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 13.84000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96489.39000001358
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045521
2025-03-15 19:02:02[LOG]Starting Cron
2025-03-15 19:02:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"399","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_399","uid":"u595","unique_id":"36075_399_138-u595","ivrId":"3158","channelOTime":1742045488,"channelDTime":1742045523,"channelDuration":35,"cSTime":1742045500,"cETime":1742045523,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09454220449","server_ip":"118.185.137.196","insertTime":1742045523,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045492,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045500,"endTime":1742045523,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 399
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_399
            [uid] => u595
            [unique_id] => 36075_399_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045488
            [channelDTime] => 1742045523
            [channelDuration] => 35
            [cSTime] => 1742045500
            [cETime] => 1742045523
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09454220449
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045523
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045492
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045500
                                    [endTime] => 1742045523
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 175
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.00000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 81.76000000000039
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 175
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.00000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96489.23000001357
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045525
{"compaign_id":"36075","contact_id":"381","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_381","uid":"u595","unique_id":"36075_381_138-u595","ivrId":"3158","channelOTime":1742045484,"channelDTime":1742045523,"channelDuration":39,"cSTime":1742045501,"cETime":1742045523,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07303084262","server_ip":"118.185.137.196","insertTime":1742045523,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045487,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045501,"endTime":1742045524,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 381
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_381
            [uid] => u595
            [unique_id] => 36075_381_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045484
            [channelDTime] => 1742045523
            [channelDuration] => 39
            [cSTime] => 1742045501
            [cETime] => 1742045523
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07303084262
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045523
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045487
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045501
                                    [endTime] => 1742045524
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 177
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.16000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 81.60000000000039
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 177
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.16000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96489.07000001357
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045525
{"compaign_id":"36075","contact_id":"433","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_433","uid":"u595","unique_id":"36075_433_138-u595","ivrId":"3158","channelOTime":1742045508,"channelDTime":1742045526,"channelDuration":18,"cSTime":1742045516,"cETime":1742045526,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07804826582","server_ip":"118.185.137.196","insertTime":1742045526,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045509,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 433
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_433
            [uid] => u595
            [unique_id] => 36075_433_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045508
            [channelDTime] => 1742045526
            [channelDuration] => 18
            [cSTime] => 1742045516
            [cETime] => 1742045526
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07804826582
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045526
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045509
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 179
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.320000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 81.4400000000004
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 179
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.320000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96488.91000001357
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045527
{"compaign_id":"36075","contact_id":"440","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_440","uid":"u595","unique_id":"36075_440_138-u595","ivrId":"3158","channelOTime":1742045509,"channelDTime":1742045526,"channelDuration":17,"cSTime":1742045524,"cETime":1742045526,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08296984703","server_ip":"118.185.137.196","insertTime":1742045526,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045512,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 440
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_440
            [uid] => u595
            [unique_id] => 36075_440_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045509
            [channelDTime] => 1742045526
            [channelDuration] => 17
            [cSTime] => 1742045524
            [cETime] => 1742045526
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08296984703
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045526
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045512
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 180
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.400000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 81.3600000000004
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 180
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.400000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96488.83000001356
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045528
{"compaign_id":"36075","contact_id":"492","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_492","uid":"u595","unique_id":"36075_492_138-u595","ivrId":"3158","channelOTime":1742045521,"channelDTime":1742045528,"channelDuration":7,"cSTime":1742045523,"cETime":1742045528,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08961422755","server_ip":"118.185.137.196","insertTime":1742045528,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045523,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 492
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_492
            [uid] => u595
            [unique_id] => 36075_492_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045521
            [channelDTime] => 1742045528
            [channelDuration] => 7
            [cSTime] => 1742045523
            [cETime] => 1742045528
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08961422755
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045528
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045523
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 181
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.480000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 81.2800000000004
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 181
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.480000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96488.75000001356
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045529
{"compaign_id":"36075","contact_id":"409","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_409","uid":"u595","unique_id":"36075_409_138-u595","ivrId":"3158","channelOTime":1742045490,"channelDTime":1742045529,"channelDuration":39,"cSTime":1742045513,"cETime":1742045529,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07004860227","server_ip":"118.185.137.196","insertTime":1742045529,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045491,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 409
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_409
            [uid] => u595
            [unique_id] => 36075_409_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045490
            [channelDTime] => 1742045529
            [channelDuration] => 39
            [cSTime] => 1742045513
            [cETime] => 1742045529
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07004860227
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045529
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045491
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 182
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.560000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 81.2000000000004
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 182
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.560000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96488.67000001356
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045531
{"compaign_id":"36075","contact_id":"473","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_473","uid":"u595","unique_id":"36075_473_138-u595","ivrId":"3158","channelOTime":1742045516,"channelDTime":1742045530,"channelDuration":14,"cSTime":1742045522,"cETime":1742045530,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08053184715","server_ip":"118.185.137.196","insertTime":1742045530,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045517,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 473
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_473
            [uid] => u595
            [unique_id] => 36075_473_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045516
            [channelDTime] => 1742045530
            [channelDuration] => 14
            [cSTime] => 1742045522
            [cETime] => 1742045530
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08053184715
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045530
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045517
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 184
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.720000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 81.0400000000004
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 184
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.720000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96488.51000001356
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045532
{"compaign_id":"36075","contact_id":"441","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_441","uid":"u595","unique_id":"36075_441_138-u595","ivrId":"3158","channelOTime":1742045509,"channelDTime":1742045532,"channelDuration":23,"cSTime":1742045525,"cETime":1742045532,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07090952458","server_ip":"118.185.137.196","insertTime":1742045532,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045512,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 441
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_441
            [uid] => u595
            [unique_id] => 36075_441_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045509
            [channelDTime] => 1742045532
            [channelDuration] => 23
            [cSTime] => 1742045525
            [cETime] => 1742045532
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07090952458
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045532
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045512
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 185
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.800000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 80.9600000000004
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 185
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.800000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96488.43000001356
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045533
{"compaign_id":"36075","contact_id":"460","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_460","uid":"u595","unique_id":"36075_460_138-u595","ivrId":"3158","channelOTime":1742045513,"channelDTime":1742045533,"channelDuration":20,"cSTime":1742045524,"cETime":1742045533,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07620170225","server_ip":"118.185.137.196","insertTime":1742045533,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045514,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 460
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_460
            [uid] => u595
            [unique_id] => 36075_460_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045513
            [channelDTime] => 1742045533
            [channelDuration] => 20
            [cSTime] => 1742045524
            [cETime] => 1742045533
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07620170225
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045533
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045514
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 186
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.880000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 80.88000000000041
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 186
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.880000000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96488.35000001355
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045535
{"compaign_id":"36075","contact_id":"416","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_416","uid":"u595","unique_id":"36075_416_138-u595","ivrId":"3158","channelOTime":1742045491,"channelDTime":1742045534,"channelDuration":43,"cSTime":1742045519,"cETime":1742045534,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08791852442","server_ip":"118.185.137.196","insertTime":1742045534,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045495,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 416
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_416
            [uid] => u595
            [unique_id] => 36075_416_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045491
            [channelDTime] => 1742045534
            [channelDuration] => 43
            [cSTime] => 1742045519
            [cETime] => 1742045534
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08791852442
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045534
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045495
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 187
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.960000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 80.80000000000041
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 187
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 14.960000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96488.27000001355
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045536
{"compaign_id":"36075","contact_id":"385","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_385","uid":"u595","unique_id":"36075_385_138-u595","ivrId":"3158","channelOTime":1742045485,"channelDTime":1742045535,"channelDuration":50,"cSTime":1742045511,"cETime":1742045535,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09894973162","server_ip":"118.185.137.196","insertTime":1742045535,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045488,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045511,"endTime":1742045535,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 385
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_385
            [uid] => u595
            [unique_id] => 36075_385_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045485
            [channelDTime] => 1742045535
            [channelDuration] => 50
            [cSTime] => 1742045511
            [cETime] => 1742045535
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09894973162
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045535
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045488
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045511
                                    [endTime] => 1742045535
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 188
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.040000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 80.72000000000041
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 188
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.040000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96488.19000001355
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045536
{"compaign_id":"36075","contact_id":"458","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_458","uid":"u595","unique_id":"36075_458_138-u595","ivrId":"3158","channelOTime":1742045513,"channelDTime":1742045538,"channelDuration":25,"cSTime":1742045535,"cETime":1742045538,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06360042657","server_ip":"118.185.137.196","insertTime":1742045538,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045515,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 458
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_458
            [uid] => u595
            [unique_id] => 36075_458_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045513
            [channelDTime] => 1742045538
            [channelDuration] => 25
            [cSTime] => 1742045535
            [cETime] => 1742045538
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06360042657
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045538
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045515
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 190
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.200000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 80.56000000000041
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 190
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.200000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96488.03000001355
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045540
{"compaign_id":"36075","contact_id":"450","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_450","uid":"u595","unique_id":"36075_450_138-u595","ivrId":"3158","channelOTime":1742045511,"channelDTime":1742045539,"channelDuration":28,"cSTime":1742045516,"cETime":1742045539,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09749165483","server_ip":"118.185.137.196","insertTime":1742045539,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045513,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045516,"endTime":1742045539,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 450
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_450
            [uid] => u595
            [unique_id] => 36075_450_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045511
            [channelDTime] => 1742045539
            [channelDuration] => 28
            [cSTime] => 1742045516
            [cETime] => 1742045539
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09749165483
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045539
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045513
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045516
                                    [endTime] => 1742045539
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 191
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.280000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 80.48000000000042
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 191
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.280000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96487.95000001354
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045541
{"compaign_id":"36075","contact_id":"437","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_437","uid":"u595","unique_id":"36075_437_138-u595","ivrId":"3158","channelOTime":1742045508,"channelDTime":1742045542,"channelDuration":34,"cSTime":1742045535,"cETime":1742045542,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06363645592","server_ip":"118.185.137.196","insertTime":1742045542,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045511,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 437
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_437
            [uid] => u595
            [unique_id] => 36075_437_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045508
            [channelDTime] => 1742045542
            [channelDuration] => 34
            [cSTime] => 1742045535
            [cETime] => 1742045542
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06363645592
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045542
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045511
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 193
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.440000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 80.32000000000042
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 193
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.440000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96487.79000001354
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045543
{"compaign_id":"36075","contact_id":"435","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_435","uid":"u595","unique_id":"36075_435_138-u595","ivrId":"3158","channelOTime":1742045508,"channelDTime":1742045546,"channelDuration":38,"cSTime":1742045536,"cETime":1742045546,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08882527635","server_ip":"118.185.137.196","insertTime":1742045546,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045513,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 435
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_435
            [uid] => u595
            [unique_id] => 36075_435_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045508
            [channelDTime] => 1742045546
            [channelDuration] => 38
            [cSTime] => 1742045536
            [cETime] => 1742045546
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08882527635
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045546
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045513
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 194
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.520000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 80.24000000000042
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 194
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.520000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96487.71000001354
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045547
{"compaign_id":"36075","contact_id":"480","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_480","uid":"u595","unique_id":"36075_480_138-u595","ivrId":"3158","channelOTime":1742045519,"channelDTime":1742045546,"channelDuration":27,"cSTime":1742045535,"cETime":1742045546,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09051443945","server_ip":"118.185.137.196","insertTime":1742045546,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045522,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 480
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_480
            [uid] => u595
            [unique_id] => 36075_480_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045519
            [channelDTime] => 1742045546
            [channelDuration] => 27
            [cSTime] => 1742045535
            [cETime] => 1742045546
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09051443945
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045546
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045522
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 195
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.600000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 80.16000000000042
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 195
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.600000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96487.63000001354
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045547
{"compaign_id":"36075","contact_id":"527","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_527","uid":"u595","unique_id":"36075_527_138-u595","ivrId":"3158","channelOTime":1742045528,"channelDTime":1742045547,"channelDuration":19,"cSTime":1742045541,"cETime":1742045547,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08247760991","server_ip":"118.185.137.196","insertTime":1742045547,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045530,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 527
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_527
            [uid] => u595
            [unique_id] => 36075_527_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045528
            [channelDTime] => 1742045547
            [channelDuration] => 19
            [cSTime] => 1742045541
            [cETime] => 1742045547
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08247760991
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045547
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045530
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 196
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.680000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 80.08000000000042
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 196
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.680000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96487.55000001354
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045549
{"compaign_id":"36075","contact_id":"506","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_506","uid":"u595","unique_id":"36075_506_138-u595","ivrId":"3158","channelOTime":1742045524,"channelDTime":1742045553,"channelDuration":29,"cSTime":1742045540,"cETime":1742045553,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07488195802","server_ip":"118.185.137.196","insertTime":1742045553,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045527,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 506
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_506
            [uid] => u595
            [unique_id] => 36075_506_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045524
            [channelDTime] => 1742045553
            [channelDuration] => 29
            [cSTime] => 1742045540
            [cETime] => 1742045553
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07488195802
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045553
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045527
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 197
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.760000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 80.00000000000043
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 197
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.760000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96487.47000001353
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045554
{"compaign_id":"36075","contact_id":"485","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_485","uid":"u595","unique_id":"36075_485_138-u595","ivrId":"3158","channelOTime":1742045520,"channelDTime":1742045553,"channelDuration":33,"cSTime":1742045550,"cETime":1742045553,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09718430764","server_ip":"118.185.137.196","insertTime":1742045553,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045525,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 485
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_485
            [uid] => u595
            [unique_id] => 36075_485_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045520
            [channelDTime] => 1742045553
            [channelDuration] => 33
            [cSTime] => 1742045550
            [cETime] => 1742045553
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09718430764
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045553
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045525
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 198
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.840000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 79.92000000000043
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 198
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.840000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96487.39000001353
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045555
{"compaign_id":"36075","contact_id":"508","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_508","uid":"u595","unique_id":"36075_508_138-u595","ivrId":"3158","channelOTime":1742045524,"channelDTime":1742045554,"channelDuration":30,"cSTime":1742045542,"cETime":1742045554,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08075239027","server_ip":"118.185.137.196","insertTime":1742045554,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045527,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 508
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_508
            [uid] => u595
            [unique_id] => 36075_508_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045524
            [channelDTime] => 1742045554
            [channelDuration] => 30
            [cSTime] => 1742045542
            [cETime] => 1742045554
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08075239027
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045554
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045527
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 199
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.920000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 79.84000000000043
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 199
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 15.920000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96487.31000001353
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045556
{"compaign_id":"36075","contact_id":"520","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_520","uid":"u595","unique_id":"36075_520_138-u595","ivrId":"3158","channelOTime":1742045527,"channelDTime":1742045559,"channelDuration":32,"cSTime":1742045544,"cETime":1742045559,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07319537201","server_ip":"118.185.137.196","insertTime":1742045559,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045532,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 520
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_520
            [uid] => u595
            [unique_id] => 36075_520_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045527
            [channelDTime] => 1742045559
            [channelDuration] => 32
            [cSTime] => 1742045544
            [cETime] => 1742045559
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07319537201
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045559
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045532
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 200
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.00000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 79.76000000000043
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 200
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.00000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96487.23000001353
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045560
{"compaign_id":"36075","contact_id":"514","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_514","uid":"u595","unique_id":"36075_514_138-u595","ivrId":"3158","channelOTime":1742045526,"channelDTime":1742045564,"channelDuration":38,"cSTime":1742045550,"cETime":1742045564,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09141838411","server_ip":"118.185.137.196","insertTime":1742045564,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045528,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 514
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_514
            [uid] => u595
            [unique_id] => 36075_514_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045526
            [channelDTime] => 1742045564
            [channelDuration] => 38
            [cSTime] => 1742045550
            [cETime] => 1742045564
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09141838411
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045564
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045528
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 201
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.08000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 79.68000000000043
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 201
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.08000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96487.15000001353
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045565
{"compaign_id":"36075","contact_id":"498","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_498","uid":"u595","unique_id":"36075_498_138-u595","ivrId":"3158","channelOTime":1742045522,"channelDTime":1742045567,"channelDuration":45,"cSTime":1742045544,"cETime":1742045567,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09109456007","server_ip":"118.185.137.196","insertTime":1742045567,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045525,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045544,"endTime":1742045563,"duration":19}],"#3":[{"startTime":1742045563,"endTime":1742045567,"duration":4}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 498
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_498
            [uid] => u595
            [unique_id] => 36075_498_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045522
            [channelDTime] => 1742045567
            [channelDuration] => 45
            [cSTime] => 1742045544
            [cETime] => 1742045567
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09109456007
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045567
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045525
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045544
                                    [endTime] => 1742045563
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045563
                                    [endTime] => 1742045567
                                    [duration] => 4
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 202
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.160000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 79.60000000000043
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 202
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.160000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96487.07000001353
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045569
{"compaign_id":"36075","contact_id":"515","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_515","uid":"u595","unique_id":"36075_515_138-u595","ivrId":"3158","channelOTime":1742045526,"channelDTime":1742045568,"channelDuration":42,"cSTime":1742045544,"cETime":1742045568,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07022498851","server_ip":"118.185.137.196","insertTime":1742045568,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045532,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045544,"endTime":1742045568,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 515
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_515
            [uid] => u595
            [unique_id] => 36075_515_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045526
            [channelDTime] => 1742045568
            [channelDuration] => 42
            [cSTime] => 1742045544
            [cETime] => 1742045568
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07022498851
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045568
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045532
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045544
                                    [endTime] => 1742045568
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 204
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.320000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 79.44000000000044
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 204
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.320000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96486.91000001352
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045569
{"compaign_id":"36075","contact_id":"504","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_504","uid":"u595","unique_id":"36075_504_138-u595","ivrId":"3158","channelOTime":1742045524,"channelDTime":1742045569,"channelDuration":45,"cSTime":1742045546,"cETime":1742045569,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08486266879","server_ip":"118.185.137.196","insertTime":1742045569,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045525,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045546,"endTime":1742045569,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 504
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_504
            [uid] => u595
            [unique_id] => 36075_504_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045524
            [channelDTime] => 1742045569
            [channelDuration] => 45
            [cSTime] => 1742045546
            [cETime] => 1742045569
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08486266879
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045569
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045525
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045546
                                    [endTime] => 1742045569
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 206
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.480000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 79.28000000000044
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 206
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.480000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96486.75000001352
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045571
{"compaign_id":"36075","contact_id":"526","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_526","uid":"u595","unique_id":"36075_526_138-u595","ivrId":"3158","channelOTime":1742045528,"channelDTime":1742045576,"channelDuration":48,"cSTime":1742045553,"cETime":1742045576,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08375086666","server_ip":"118.185.137.196","insertTime":1742045576,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045534,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045553,"endTime":1742045576,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 526
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_526
            [uid] => u595
            [unique_id] => 36075_526_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045528
            [channelDTime] => 1742045576
            [channelDuration] => 48
            [cSTime] => 1742045553
            [cETime] => 1742045576
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08375086666
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045576
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045534
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045553
                                    [endTime] => 1742045576
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 208
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.640000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 79.12000000000045
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 208
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.640000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96486.59000001352
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045578
2025-03-15 19:03:01[LOG]Starting Cron
2025-03-15 19:03:01[LOG]Process is already running
{"compaign_id":"36075","contact_id":"558","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_558","uid":"u595","unique_id":"36075_558_138-u595","ivrId":"3158","channelOTime":1742045574,"channelDTime":1742045587,"channelDuration":13,"cSTime":1742045584,"cETime":1742045587,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08210514834","server_ip":"118.185.137.196","insertTime":1742045587,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045575,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 558
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_558
            [uid] => u595
            [unique_id] => 36075_558_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045574
            [channelDTime] => 1742045587
            [channelDuration] => 13
            [cSTime] => 1742045584
            [cETime] => 1742045587
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08210514834
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045587
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045575
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 210
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.800000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 78.96000000000045
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 210
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.800000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96486.43000001351
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045589
{"compaign_id":"36075","contact_id":"545","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_545","uid":"u595","unique_id":"36075_545_138-u595","ivrId":"3158","channelOTime":1742045571,"channelDTime":1742045589,"channelDuration":18,"cSTime":1742045587,"cETime":1742045589,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09707568674","server_ip":"118.185.137.196","insertTime":1742045589,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045577,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 545
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_545
            [uid] => u595
            [unique_id] => 36075_545_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045571
            [channelDTime] => 1742045589
            [channelDuration] => 18
            [cSTime] => 1742045587
            [cETime] => 1742045589
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09707568674
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045589
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045577
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 211
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.880000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 78.88000000000045
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 211
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.880000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96486.35000001351
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045591
{"compaign_id":"36075","contact_id":"555","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_555","uid":"u595","unique_id":"36075_555_138-u595","ivrId":"3158","channelOTime":1742045573,"channelDTime":1742045593,"channelDuration":20,"cSTime":1742045584,"cETime":1742045593,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07006403995","server_ip":"118.185.137.196","insertTime":1742045593,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045576,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 555
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_555
            [uid] => u595
            [unique_id] => 36075_555_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045573
            [channelDTime] => 1742045593
            [channelDuration] => 20
            [cSTime] => 1742045584
            [cETime] => 1742045593
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07006403995
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045593
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045576
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 212
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.960000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 78.80000000000045
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 212
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 16.960000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96486.27000001351
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045595
{"compaign_id":"36075","contact_id":"572","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_572","uid":"u595","unique_id":"36075_572_138-u595","ivrId":"3158","channelOTime":1742045576,"channelDTime":1742045595,"channelDuration":19,"cSTime":1742045591,"cETime":1742045595,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09864467501","server_ip":"118.185.137.196","insertTime":1742045595,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045579,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 572
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_572
            [uid] => u595
            [unique_id] => 36075_572_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045576
            [channelDTime] => 1742045595
            [channelDuration] => 19
            [cSTime] => 1742045591
            [cETime] => 1742045595
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09864467501
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045595
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045579
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 213
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.040000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 78.72000000000045
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 213
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.040000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96486.1900000135
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045597
{"compaign_id":"36075","contact_id":"532","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_532","uid":"u595","unique_id":"36075_532_138-u595","ivrId":"3158","channelOTime":1742045568,"channelDTime":1742045597,"channelDuration":29,"cSTime":1742045580,"cETime":1742045597,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09279082590","server_ip":"118.185.137.196","insertTime":1742045597,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045571,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 532
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_532
            [uid] => u595
            [unique_id] => 36075_532_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045568
            [channelDTime] => 1742045597
            [channelDuration] => 29
            [cSTime] => 1742045580
            [cETime] => 1742045597
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09279082590
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045597
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045571
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 214
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.12
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 78.64000000000046
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 214
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.12
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96486.1100000135
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045599
{"compaign_id":"36075","contact_id":"561","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_561","uid":"u595","unique_id":"36075_561_138-u595","ivrId":"3158","channelOTime":1742045574,"channelDTime":1742045598,"channelDuration":24,"cSTime":1742045585,"cETime":1742045598,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07730949791","server_ip":"118.185.137.196","insertTime":1742045598,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045576,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 561
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_561
            [uid] => u595
            [unique_id] => 36075_561_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045574
            [channelDTime] => 1742045598
            [channelDuration] => 24
            [cSTime] => 1742045585
            [cETime] => 1742045598
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07730949791
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045598
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045576
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 216
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.28
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 78.48000000000046
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 216
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.28
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96485.9500000135
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045600
{"compaign_id":"36075","contact_id":"588","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_588","uid":"u595","unique_id":"36075_588_138-u595","ivrId":"3158","channelOTime":1742045587,"channelDTime":1742045600,"channelDuration":13,"cSTime":1742045594,"cETime":1742045600,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09066672440","server_ip":"118.185.137.196","insertTime":1742045600,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045589,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 588
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_588
            [uid] => u595
            [unique_id] => 36075_588_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045587
            [channelDTime] => 1742045600
            [channelDuration] => 13
            [cSTime] => 1742045594
            [cETime] => 1742045600
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09066672440
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045600
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045589
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 217
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.36
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 78.40000000000046
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 217
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.36
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96485.8700000135
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045601
{"compaign_id":"36075","contact_id":"554","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_554","uid":"u595","unique_id":"36075_554_138-u595","ivrId":"3158","channelOTime":1742045573,"channelDTime":1742045600,"channelDuration":27,"cSTime":1742045584,"cETime":1742045600,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06371407718","server_ip":"118.185.137.196","insertTime":1742045600,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045576,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 554
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_554
            [uid] => u595
            [unique_id] => 36075_554_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045573
            [channelDTime] => 1742045600
            [channelDuration] => 27
            [cSTime] => 1742045584
            [cETime] => 1742045600
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06371407718
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045600
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045576
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 218
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.439999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 78.32000000000046
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 218
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.439999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96485.7900000135
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045602
{"compaign_id":"36075","contact_id":"601","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_601","uid":"u595","unique_id":"36075_601_138-u595","ivrId":"3158","channelOTime":1742045589,"channelDTime":1742045601,"channelDuration":12,"cSTime":1742045599,"cETime":1742045601,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08761054118","server_ip":"118.185.137.196","insertTime":1742045601,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045592,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 601
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_601
            [uid] => u595
            [unique_id] => 36075_601_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045589
            [channelDTime] => 1742045601
            [channelDuration] => 12
            [cSTime] => 1742045599
            [cETime] => 1742045601
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08761054118
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045601
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045592
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 220
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.599999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 78.16000000000047
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 220
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.599999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96485.6300000135
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045603
{"compaign_id":"36075","contact_id":"631","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_631","uid":"u595","unique_id":"36075_631_138-u595","ivrId":"3158","channelOTime":1742045597,"channelDTime":1742045606,"channelDuration":9,"cSTime":1742045605,"cETime":1742045606,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07262806616","server_ip":"118.185.137.196","insertTime":1742045606,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045601,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 631
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_631
            [uid] => u595
            [unique_id] => 36075_631_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045597
            [channelDTime] => 1742045606
            [channelDuration] => 9
            [cSTime] => 1742045605
            [cETime] => 1742045606
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07262806616
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045606
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045601
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 221
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.679999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 78.08000000000047
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 221
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.679999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96485.55000001349
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045608
{"compaign_id":"36075","contact_id":"541","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_541","uid":"u595","unique_id":"36075_541_138-u595","ivrId":"3158","channelOTime":1742045570,"channelDTime":1742045609,"channelDuration":39,"cSTime":1742045585,"cETime":1742045609,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09600570988","server_ip":"118.185.137.196","insertTime":1742045609,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045573,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045585,"endTime":1742045609,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 541
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_541
            [uid] => u595
            [unique_id] => 36075_541_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045570
            [channelDTime] => 1742045609
            [channelDuration] => 39
            [cSTime] => 1742045585
            [cETime] => 1742045609
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09600570988
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045609
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045573
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045585
                                    [endTime] => 1742045609
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 222
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.759999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 78.00000000000047
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 222
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.759999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96485.47000001349
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045610
{"compaign_id":"36075","contact_id":"639","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_639","uid":"u595","unique_id":"36075_639_138-u595","ivrId":"3158","channelOTime":1742045599,"channelDTime":1742045609,"channelDuration":10,"cSTime":1742045606,"cETime":1742045609,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09044203628","server_ip":"118.185.137.196","insertTime":1742045609,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045601,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 639
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_639
            [uid] => u595
            [unique_id] => 36075_639_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045599
            [channelDTime] => 1742045609
            [channelDuration] => 10
            [cSTime] => 1742045606
            [cETime] => 1742045609
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09044203628
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045609
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045601
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 224
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.919999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 77.84000000000047
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 224
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.919999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96485.31000001349
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045611
{"compaign_id":"36075","contact_id":"625","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_625","uid":"u595","unique_id":"36075_625_138-u595","ivrId":"3158","channelOTime":1742045594,"channelDTime":1742045609,"channelDuration":15,"cSTime":1742045606,"cETime":1742045609,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09010972960","server_ip":"118.185.137.196","insertTime":1742045609,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045597,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 625
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_625
            [uid] => u595
            [unique_id] => 36075_625_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045594
            [channelDTime] => 1742045609
            [channelDuration] => 15
            [cSTime] => 1742045606
            [cETime] => 1742045609
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09010972960
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045609
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045597
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 225
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.999999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 77.76000000000047
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 225
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 17.999999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96485.23000001349
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045611
{"compaign_id":"36075","contact_id":"618","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_618","uid":"u595","unique_id":"36075_618_138-u595","ivrId":"3158","channelOTime":1742045593,"channelDTime":1742045612,"channelDuration":19,"cSTime":1742045602,"cETime":1742045612,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09101291159","server_ip":"118.185.137.196","insertTime":1742045612,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045596,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 618
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_618
            [uid] => u595
            [unique_id] => 36075_618_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045593
            [channelDTime] => 1742045612
            [channelDuration] => 19
            [cSTime] => 1742045602
            [cETime] => 1742045612
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09101291159
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045612
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045596
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 226
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.07999999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 77.68000000000048
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 226
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.07999999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96485.15000001348
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045614
{"compaign_id":"36075","contact_id":"570","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_570","uid":"u595","unique_id":"36075_570_138-u595","ivrId":"3158","channelOTime":1742045576,"channelDTime":1742045613,"channelDuration":37,"cSTime":1742045589,"cETime":1742045613,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09636916809","server_ip":"118.185.137.196","insertTime":1742045613,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045578,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045589,"endTime":1742045613,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 570
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_570
            [uid] => u595
            [unique_id] => 36075_570_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045576
            [channelDTime] => 1742045613
            [channelDuration] => 37
            [cSTime] => 1742045589
            [cETime] => 1742045613
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09636916809
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045613
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045578
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045589
                                    [endTime] => 1742045613
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 227
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.15999999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 77.60000000000048
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 227
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.15999999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96485.07000001348
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045615
{"compaign_id":"36075","contact_id":"628","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_628","uid":"u595","unique_id":"36075_628_138-u595","ivrId":"3158","channelOTime":1742045595,"channelDTime":1742045617,"channelDuration":22,"cSTime":1742045613,"cETime":1742045617,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07775057306","server_ip":"118.185.137.196","insertTime":1742045617,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045598,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 628
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_628
            [uid] => u595
            [unique_id] => 36075_628_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045595
            [channelDTime] => 1742045617
            [channelDuration] => 22
            [cSTime] => 1742045613
            [cETime] => 1742045617
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07775057306
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045617
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045598
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 229
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.31999999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 77.44000000000048
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 229
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.31999999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96484.91000001348
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045618
{"compaign_id":"36075","contact_id":"668","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_668","uid":"u595","unique_id":"36075_668_138-u595","ivrId":"3158","channelOTime":1742045604,"channelDTime":1742045617,"channelDuration":13,"cSTime":1742045613,"cETime":1742045617,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09084041853","server_ip":"118.185.137.196","insertTime":1742045617,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045606,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 668
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_668
            [uid] => u595
            [unique_id] => 36075_668_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045604
            [channelDTime] => 1742045617
            [channelDuration] => 13
            [cSTime] => 1742045613
            [cETime] => 1742045617
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09084041853
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045617
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045606
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 230
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.399999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 77.36000000000048
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 230
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.399999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96484.83000001348
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045619
{"compaign_id":"36075","contact_id":"672","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_672","uid":"u595","unique_id":"36075_672_138-u595","ivrId":"3158","channelOTime":1742045605,"channelDTime":1742045618,"channelDuration":13,"cSTime":1742045616,"cETime":1742045618,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06002497759","server_ip":"118.185.137.196","insertTime":1742045618,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045609,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 672
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_672
            [uid] => u595
            [unique_id] => 36075_672_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045605
            [channelDTime] => 1742045618
            [channelDuration] => 13
            [cSTime] => 1742045616
            [cETime] => 1742045618
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06002497759
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045618
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045609
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 231
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.479999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 77.28000000000048
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 231
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.479999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96484.75000001348
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045620
{"compaign_id":"36075","contact_id":"666","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_666","uid":"u595","unique_id":"36075_666_138-u595","ivrId":"3158","channelOTime":1742045604,"channelDTime":1742045619,"channelDuration":15,"cSTime":1742045614,"cETime":1742045619,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07070346826","server_ip":"118.185.137.196","insertTime":1742045619,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 666
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_666
            [uid] => u595
            [unique_id] => 36075_666_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045604
            [channelDTime] => 1742045619
            [channelDuration] => 15
            [cSTime] => 1742045614
            [cETime] => 1742045619
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07070346826
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045619
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 232
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.559999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 77.20000000000049
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 232
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.559999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96484.67000001347
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045621
{"compaign_id":"36075","contact_id":"607","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_607","uid":"u595","unique_id":"36075_607_138-u595","ivrId":"3158","channelOTime":1742045591,"channelDTime":1742045621,"channelDuration":30,"cSTime":1742045617,"cETime":1742045621,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08910627241","server_ip":"118.185.137.196","insertTime":1742045621,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045592,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 607
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_607
            [uid] => u595
            [unique_id] => 36075_607_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045591
            [channelDTime] => 1742045621
            [channelDuration] => 30
            [cSTime] => 1742045617
            [cETime] => 1742045621
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08910627241
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045621
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045592
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 233
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.639999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 77.12000000000049
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 233
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.639999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96484.59000001347
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045623
{"compaign_id":"36075","contact_id":"669","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_669","uid":"u595","unique_id":"36075_669_138-u595","ivrId":"3158","channelOTime":1742045605,"channelDTime":1742045624,"channelDuration":19,"cSTime":1742045621,"cETime":1742045624,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09347892292","server_ip":"118.185.137.196","insertTime":1742045624,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045607,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 669
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_669
            [uid] => u595
            [unique_id] => 36075_669_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045605
            [channelDTime] => 1742045624
            [channelDuration] => 19
            [cSTime] => 1742045621
            [cETime] => 1742045624
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09347892292
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045624
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045607
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 234
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.71999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 77.04000000000049
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 234
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.71999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96484.51000001347
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045626
{"compaign_id":"36075","contact_id":"587","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_587","uid":"u595","unique_id":"36075_587_138-u595","ivrId":"3158","channelOTime":1742045587,"channelDTime":1742045627,"channelDuration":40,"cSTime":1742045603,"cETime":1742045627,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09162234513","server_ip":"118.185.137.196","insertTime":1742045627,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045588,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045603,"endTime":1742045627,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 587
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_587
            [uid] => u595
            [unique_id] => 36075_587_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045587
            [channelDTime] => 1742045627
            [channelDuration] => 40
            [cSTime] => 1742045603
            [cETime] => 1742045627
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09162234513
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045627
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045588
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045603
                                    [endTime] => 1742045627
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 235
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.79999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 76.96000000000049
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 235
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.79999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96484.43000001347
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045628
{"compaign_id":"36075","contact_id":"645","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_645","uid":"u595","unique_id":"36075_645_138-u595","ivrId":"3158","channelOTime":1742045600,"channelDTime":1742045628,"channelDuration":28,"cSTime":1742045610,"cETime":1742045628,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08423830691","server_ip":"118.185.137.196","insertTime":1742045628,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045601,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 645
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_645
            [uid] => u595
            [unique_id] => 36075_645_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045600
            [channelDTime] => 1742045628
            [channelDuration] => 28
            [cSTime] => 1742045610
            [cETime] => 1742045628
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08423830691
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045628
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045601
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 237
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.95999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 76.8000000000005
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 237
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 18.95999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96484.27000001346
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045629
{"compaign_id":"36075","contact_id":"624","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_624","uid":"u595","unique_id":"36075_624_138-u595","ivrId":"3158","channelOTime":1742045594,"channelDTime":1742045631,"channelDuration":37,"cSTime":1742045607,"cETime":1742045631,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08299225717","server_ip":"118.185.137.196","insertTime":1742045631,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045596,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045607,"endTime":1742045631,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 624
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_624
            [uid] => u595
            [unique_id] => 36075_624_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045594
            [channelDTime] => 1742045631
            [channelDuration] => 37
            [cSTime] => 1742045607
            [cETime] => 1742045631
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08299225717
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045631
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045596
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045607
                                    [endTime] => 1742045631
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 239
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.11999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 76.6400000000005
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 239
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.11999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96484.11000001346
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045632
{"compaign_id":"36075","contact_id":"658","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_658","uid":"u595","unique_id":"36075_658_138-u595","ivrId":"3158","channelOTime":1742045602,"channelDTime":1742045632,"channelDuration":30,"cSTime":1742045627,"cETime":1742045632,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07277724333","server_ip":"118.185.137.196","insertTime":1742045632,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045605,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 658
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_658
            [uid] => u595
            [unique_id] => 36075_658_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045602
            [channelDTime] => 1742045632
            [channelDuration] => 30
            [cSTime] => 1742045627
            [cETime] => 1742045632
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07277724333
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045632
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045605
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 241
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.27999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 76.4800000000005
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 241
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.27999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96483.95000001346
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045633
{"compaign_id":"36075","contact_id":"648","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_648","uid":"u595","unique_id":"36075_648_138-u595","ivrId":"3158","channelOTime":1742045600,"channelDTime":1742045638,"channelDuration":38,"cSTime":1742045615,"cETime":1742045638,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08683816263","server_ip":"118.185.137.196","insertTime":1742045638,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045603,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045615,"endTime":1742045638,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 648
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_648
            [uid] => u595
            [unique_id] => 36075_648_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045600
            [channelDTime] => 1742045638
            [channelDuration] => 38
            [cSTime] => 1742045615
            [cETime] => 1742045638
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08683816263
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045638
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045603
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045615
                                    [endTime] => 1742045638
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 242
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.359999999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 76.4000000000005
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 242
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.359999999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96483.87000001346
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045640
{"compaign_id":"36075","contact_id":"659","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_659","uid":"u595","unique_id":"36075_659_138-u595","ivrId":"3158","channelOTime":1742045603,"channelDTime":1742045640,"channelDuration":37,"cSTime":1742045617,"cETime":1742045640,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08011756551","server_ip":"118.185.137.196","insertTime":1742045640,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045604,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045617,"endTime":1742045640,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 659
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_659
            [uid] => u595
            [unique_id] => 36075_659_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045603
            [channelDTime] => 1742045640
            [channelDuration] => 37
            [cSTime] => 1742045617
            [cETime] => 1742045640
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08011756551
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045640
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045604
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045617
                                    [endTime] => 1742045640
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 244
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.51999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 76.2400000000005
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 244
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.51999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96483.71000001345
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045642
{"compaign_id":"36075","contact_id":"705","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_705","uid":"u595","unique_id":"36075_705_138-u595","ivrId":"3158","channelOTime":1742045630,"channelDTime":1742045640,"channelDuration":10,"cSTime":1742045638,"cETime":1742045640,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08583076088","server_ip":"118.185.137.196","insertTime":1742045640,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045633,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 705
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_705
            [uid] => u595
            [unique_id] => 36075_705_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045630
            [channelDTime] => 1742045640
            [channelDuration] => 10
            [cSTime] => 1742045638
            [cETime] => 1742045640
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08583076088
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045640
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045633
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found 2025-03-15 19:04:02[LOG]Starting Cron
2025-03-15 19:04:02[LOG]Process is already running
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 246
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.67999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 76.08000000000051
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 246
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.67999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96483.55000001345
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045642
{"compaign_id":"36075","contact_id":"693","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_693","uid":"u595","unique_id":"36075_693_138-u595","ivrId":"3158","channelOTime":1742045627,"channelDTime":1742045644,"channelDuration":17,"cSTime":1742045637,"cETime":1742045644,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09834932343","server_ip":"118.185.137.196","insertTime":1742045644,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045630,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 693
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_693
            [uid] => u595
            [unique_id] => 36075_693_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045627
            [channelDTime] => 1742045644
            [channelDuration] => 17
            [cSTime] => 1742045637
            [cETime] => 1742045644
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09834932343
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045644
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045630
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 247
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.759999999999977
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 76.00000000000051
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 247
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.759999999999977
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96483.47000001345
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045646
{"compaign_id":"36075","contact_id":"698","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_698","uid":"u595","unique_id":"36075_698_138-u595","ivrId":"3158","channelOTime":1742045628,"channelDTime":1742045645,"channelDuration":17,"cSTime":1742045637,"cETime":1742045645,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06388188583","server_ip":"118.185.137.196","insertTime":1742045645,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045630,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 698
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_698
            [uid] => u595
            [unique_id] => 36075_698_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045628
            [channelDTime] => 1742045645
            [channelDuration] => 17
            [cSTime] => 1742045637
            [cETime] => 1742045645
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06388188583
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045645
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045630
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 248
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.839999999999975
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 75.92000000000051
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 248
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.839999999999975
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96483.39000001345
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045647
{"compaign_id":"36075","contact_id":"665","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_665","uid":"u595","unique_id":"36075_665_138-u595","ivrId":"3158","channelOTime":1742045604,"channelDTime":1742045647,"channelDuration":43,"cSTime":1742045623,"cETime":1742045647,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08582979249","server_ip":"118.185.137.196","insertTime":1742045647,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045606,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045623,"endTime":1742045647,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 665
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_665
            [uid] => u595
            [unique_id] => 36075_665_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045604
            [channelDTime] => 1742045647
            [channelDuration] => 43
            [cSTime] => 1742045623
            [cETime] => 1742045647
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08582979249
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045647
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045606
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045623
                                    [endTime] => 1742045647
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 249
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.919999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 75.84000000000052
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 249
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 19.919999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96483.31000001344
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045648
{"compaign_id":"36075","contact_id":"641","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_641","uid":"u595","unique_id":"36075_641_138-u595","ivrId":"3158","channelOTime":1742045599,"channelDTime":1742045648,"channelDuration":49,"cSTime":1742045624,"cETime":1742045648,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09381201270","server_ip":"118.185.137.196","insertTime":1742045648,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045603,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045624,"endTime":1742045648,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 641
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_641
            [uid] => u595
            [unique_id] => 36075_641_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045599
            [channelDTime] => 1742045648
            [channelDuration] => 49
            [cSTime] => 1742045624
            [cETime] => 1742045648
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09381201270
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045648
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045603
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045624
                                    [endTime] => 1742045648
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 251
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.079999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 75.68000000000052
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 251
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.079999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96483.15000001344
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045649
{"compaign_id":"36075","contact_id":"701","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_701","uid":"u595","unique_id":"36075_701_138-u595","ivrId":"3158","channelOTime":1742045629,"channelDTime":1742045648,"channelDuration":19,"cSTime":1742045640,"cETime":1742045648,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06290078299","server_ip":"118.185.137.196","insertTime":1742045648,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045632,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 701
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_701
            [uid] => u595
            [unique_id] => 36075_701_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045629
            [channelDTime] => 1742045648
            [channelDuration] => 19
            [cSTime] => 1742045640
            [cETime] => 1742045648
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06290078299
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045648
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045632
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 253
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.239999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 75.52000000000052
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 253
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.239999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96482.99000001344
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045650
{"compaign_id":"36075","contact_id":"699","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_699","uid":"u595","unique_id":"36075_699_138-u595","ivrId":"3158","channelOTime":1742045628,"channelDTime":1742045649,"channelDuration":21,"cSTime":1742045639,"cETime":1742045649,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07047023404","server_ip":"118.185.137.196","insertTime":1742045649,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045631,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 699
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_699
            [uid] => u595
            [unique_id] => 36075_699_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045628
            [channelDTime] => 1742045649
            [channelDuration] => 21
            [cSTime] => 1742045639
            [cETime] => 1742045649
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07047023404
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045649
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045631
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 254
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.319999999999972
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 75.44000000000052
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 254
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.319999999999972
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96482.91000001343
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045651
{"compaign_id":"36075","contact_id":"679","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_679","uid":"u595","unique_id":"36075_679_138-u595","ivrId":"3158","channelOTime":1742045607,"channelDTime":1742045651,"channelDuration":44,"cSTime":1742045627,"cETime":1742045651,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08861189305","server_ip":"118.185.137.196","insertTime":1742045651,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045610,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045627,"endTime":1742045651,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 679
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_679
            [uid] => u595
            [unique_id] => 36075_679_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045607
            [channelDTime] => 1742045651
            [channelDuration] => 44
            [cSTime] => 1742045627
            [cETime] => 1742045651
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08861189305
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045651
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045610
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045627
                                    [endTime] => 1742045651
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 255
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.39999999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 75.36000000000053
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 255
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.39999999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96482.83000001343
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045652
{"compaign_id":"36075","contact_id":"737","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_737","uid":"u595","unique_id":"36075_737_138-u595","ivrId":"3158","channelOTime":1742045638,"channelDTime":1742045652,"channelDuration":14,"cSTime":1742045645,"cETime":1742045652,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08877224160","server_ip":"118.185.137.196","insertTime":1742045652,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045640,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 737
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_737
            [uid] => u595
            [unique_id] => 36075_737_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045638
            [channelDTime] => 1742045652
            [channelDuration] => 14
            [cSTime] => 1742045645
            [cETime] => 1742045652
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08877224160
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045652
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045640
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 257
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.55999999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 75.20000000000053
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 257
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.55999999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96482.67000001343
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045653
{"compaign_id":"36075","contact_id":"685","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_685","uid":"u595","unique_id":"36075_685_138-u595","ivrId":"3158","channelOTime":1742045626,"channelDTime":1742045652,"channelDuration":26,"cSTime":1742045647,"cETime":1742045652,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08082210488","server_ip":"118.185.137.196","insertTime":1742045652,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045630,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 685
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_685
            [uid] => u595
            [unique_id] => 36075_685_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045626
            [channelDTime] => 1742045652
            [channelDuration] => 26
            [cSTime] => 1742045647
            [cETime] => 1742045652
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08082210488
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045652
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045630
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 258
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.63999999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 75.12000000000053
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 258
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.63999999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96482.59000001343
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045654
{"compaign_id":"36075","contact_id":"690","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_690","uid":"u595","unique_id":"36075_690_138-u595","ivrId":"3158","channelOTime":1742045627,"channelDTime":1742045653,"channelDuration":26,"cSTime":1742045637,"cETime":1742045653,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09382985826","server_ip":"118.185.137.196","insertTime":1742045653,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045629,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 690
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_690
            [uid] => u595
            [unique_id] => 36075_690_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045627
            [channelDTime] => 1742045653
            [channelDuration] => 26
            [cSTime] => 1742045637
            [cETime] => 1742045653
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09382985826
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045653
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045629
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 259
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.719999999999967
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 75.04000000000053
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 259
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.719999999999967
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96482.51000001343
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045654
{"compaign_id":"36075","contact_id":"747","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_747","uid":"u595","unique_id":"36075_747_138-u595","ivrId":"3158","channelOTime":1742045640,"channelDTime":1742045657,"channelDuration":17,"cSTime":1742045655,"cETime":1742045657,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09938618506","server_ip":"118.185.137.196","insertTime":1742045657,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045643,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 747
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_747
            [uid] => u595
            [unique_id] => 36075_747_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045640
            [channelDTime] => 1742045657
            [channelDuration] => 17
            [cSTime] => 1742045655
            [cETime] => 1742045657
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09938618506
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045657
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045643
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 261
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.879999999999967
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 74.88000000000054
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 261
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.879999999999967
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96482.35000001342
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045658
{"compaign_id":"36075","contact_id":"713","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_713","uid":"u595","unique_id":"36075_713_138-u595","ivrId":"3158","channelOTime":1742045631,"channelDTime":1742045658,"channelDuration":27,"cSTime":1742045634,"cETime":1742045658,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08829999890","server_ip":"118.185.137.196","insertTime":1742045658,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045634,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045634,"endTime":1742045658,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 713
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_713
            [uid] => u595
            [unique_id] => 36075_713_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045631
            [channelDTime] => 1742045658
            [channelDuration] => 27
            [cSTime] => 1742045634
            [cETime] => 1742045658
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08829999890
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045658
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045634
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045634
                                    [endTime] => 1742045658
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 262
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.959999999999965
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 74.80000000000054
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 262
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 20.959999999999965
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96482.27000001342
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045659
{"compaign_id":"36075","contact_id":"752","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_752","uid":"u595","unique_id":"36075_752_138-u595","ivrId":"3158","channelOTime":1742045641,"channelDTime":1742045658,"channelDuration":17,"cSTime":1742045648,"cETime":1742045658,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06207059198","server_ip":"118.185.137.196","insertTime":1742045658,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045647,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 752
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_752
            [uid] => u595
            [unique_id] => 36075_752_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045641
            [channelDTime] => 1742045658
            [channelDuration] => 17
            [cSTime] => 1742045648
            [cETime] => 1742045658
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06207059198
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045658
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045647
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 264
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.119999999999965
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 74.64000000000054
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 264
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.119999999999965
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96482.11000001342
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045660
{"compaign_id":"36075","contact_id":"741","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_741","uid":"u595","unique_id":"36075_741_138-u595","ivrId":"3158","channelOTime":1742045639,"channelDTime":1742045661,"channelDuration":22,"cSTime":1742045647,"cETime":1742045661,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06389751095","server_ip":"118.185.137.196","insertTime":1742045661,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045642,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 741
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_741
            [uid] => u595
            [unique_id] => 36075_741_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045639
            [channelDTime] => 1742045661
            [channelDuration] => 22
            [cSTime] => 1742045647
            [cETime] => 1742045661
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06389751095
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045661
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045642
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 265
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.199999999999964
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 74.56000000000054
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 265
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.199999999999964
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96482.03000001342
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045663
{"compaign_id":"36075","contact_id":"740","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_740","uid":"u595","unique_id":"36075_740_138-u595","ivrId":"3158","channelOTime":1742045638,"channelDTime":1742045662,"channelDuration":24,"cSTime":1742045657,"cETime":1742045662,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09562259438","server_ip":"118.185.137.196","insertTime":1742045662,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045647,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 740
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_740
            [uid] => u595
            [unique_id] => 36075_740_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045638
            [channelDTime] => 1742045662
            [channelDuration] => 24
            [cSTime] => 1742045657
            [cETime] => 1742045662
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09562259438
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045662
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045647
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 266
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.279999999999962
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 74.48000000000054
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 266
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.279999999999962
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96481.95000001341
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045664
{"compaign_id":"36075","contact_id":"703","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_703","uid":"u595","unique_id":"36075_703_138-u595","ivrId":"3158","channelOTime":1742045629,"channelDTime":1742045666,"channelDuration":37,"cSTime":1742045650,"cETime":1742045666,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08287567244","server_ip":"118.185.137.196","insertTime":1742045666,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045631,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 703
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_703
            [uid] => u595
            [unique_id] => 36075_703_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045629
            [channelDTime] => 1742045666
            [channelDuration] => 37
            [cSTime] => 1742045650
            [cETime] => 1742045666
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08287567244
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045666
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045631
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 267
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.35999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 74.40000000000055
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 267
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.35999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96481.87000001341
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045668
{"compaign_id":"36075","contact_id":"776","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_776","uid":"u595","unique_id":"36075_776_138-u595","ivrId":"3158","channelOTime":1742045646,"channelDTime":1742045667,"channelDuration":21,"cSTime":1742045659,"cETime":1742045667,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07303084806","server_ip":"118.185.137.196","insertTime":1742045667,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045649,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 776
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_776
            [uid] => u595
            [unique_id] => 36075_776_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045646
            [channelDTime] => 1742045667
            [channelDuration] => 21
            [cSTime] => 1742045659
            [cETime] => 1742045667
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07303084806
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045667
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045649
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 269
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.51999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 74.24000000000055
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 269
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.51999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96481.71000001341
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045669
{"compaign_id":"36075","contact_id":"697","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_697","uid":"u595","unique_id":"36075_697_138-u595","ivrId":"3158","channelOTime":1742045628,"channelDTime":1742045668,"channelDuration":40,"cSTime":1742045645,"cETime":1742045668,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07989681102","server_ip":"118.185.137.196","insertTime":1742045668,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045630,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045645,"endTime":1742045668,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 697
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_697
            [uid] => u595
            [unique_id] => 36075_697_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045628
            [channelDTime] => 1742045668
            [channelDuration] => 40
            [cSTime] => 1742045645
            [cETime] => 1742045668
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07989681102
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045668
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045630
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045645
                                    [endTime] => 1742045668
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 270
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.59999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 74.16000000000055
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 270
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.59999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96481.6300000134
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045670
{"compaign_id":"36075","contact_id":"744","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_744","uid":"u595","unique_id":"36075_744_138-u595","ivrId":"3158","channelOTime":1742045639,"channelDTime":1742045668,"channelDuration":29,"cSTime":1742045647,"cETime":1742045668,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09936690930","server_ip":"118.185.137.196","insertTime":1742045668,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045643,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 744
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_744
            [uid] => u595
            [unique_id] => 36075_744_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045639
            [channelDTime] => 1742045668
            [channelDuration] => 29
            [cSTime] => 1742045647
            [cETime] => 1742045668
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09936690930
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045668
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045643
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 272
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.75999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 74.00000000000055
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 272
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.75999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96481.4700000134
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045670
{"compaign_id":"36075","contact_id":"691","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_691","uid":"u595","unique_id":"36075_691_138-u595","ivrId":"3158","channelOTime":1742045627,"channelDTime":1742045669,"channelDuration":42,"cSTime":1742045646,"cETime":1742045669,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08940629588","server_ip":"118.185.137.196","insertTime":1742045669,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045630,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045646,"endTime":1742045669,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 691
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_691
            [uid] => u595
            [unique_id] => 36075_691_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045627
            [channelDTime] => 1742045669
            [channelDuration] => 42
            [cSTime] => 1742045646
            [cETime] => 1742045669
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08940629588
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045669
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045630
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045646
                                    [endTime] => 1742045669
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 274
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.91999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 73.84000000000056
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 274
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 21.91999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96481.3100000134
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045671
{"compaign_id":"36075","contact_id":"706","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_706","uid":"u595","unique_id":"36075_706_138-u595","ivrId":"3158","channelOTime":1742045630,"channelDTime":1742045670,"channelDuration":40,"cSTime":1742045647,"cETime":1742045670,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07247406002","server_ip":"118.185.137.196","insertTime":1742045670,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045632,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045647,"endTime":1742045670,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 706
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_706
            [uid] => u595
            [unique_id] => 36075_706_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045630
            [channelDTime] => 1742045670
            [channelDuration] => 40
            [cSTime] => 1742045647
            [cETime] => 1742045670
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07247406002
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045670
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045632
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045647
                                    [endTime] => 1742045670
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 276
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.07999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 73.68000000000056
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 276
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.07999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96481.1500000134
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045672
{"compaign_id":"36075","contact_id":"763","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_763","uid":"u595","unique_id":"36075_763_138-u595","ivrId":"3158","channelOTime":1742045643,"channelDTime":1742045672,"channelDuration":29,"cSTime":1742045658,"cETime":1742045672,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09919570708","server_ip":"118.185.137.196","insertTime":1742045672,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045645,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 763
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_763
            [uid] => u595
            [unique_id] => 36075_763_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045643
            [channelDTime] => 1742045672
            [channelDuration] => 29
            [cSTime] => 1742045658
            [cETime] => 1742045672
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09919570708
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045672
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045645
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 278
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.23999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 73.52000000000056
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 278
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.23999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96480.9900000134
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045674
{"compaign_id":"36075","contact_id":"758","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_758","uid":"u595","unique_id":"36075_758_138-u595","ivrId":"3158","channelOTime":1742045642,"channelDTime":1742045678,"channelDuration":36,"cSTime":1742045654,"cETime":1742045678,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09627905678","server_ip":"118.185.137.196","insertTime":1742045678,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045646,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045654,"endTime":1742045678,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 758
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_758
            [uid] => u595
            [unique_id] => 36075_758_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045642
            [channelDTime] => 1742045678
            [channelDuration] => 36
            [cSTime] => 1742045654
            [cETime] => 1742045678
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09627905678
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045678
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045646
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045654
                                    [endTime] => 1742045678
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 279
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.319999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 73.44000000000057
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 279
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.319999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96480.91000001339
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045679
{"compaign_id":"36075","contact_id":"806","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_806","uid":"u595","unique_id":"36075_806_138-u595","ivrId":"3158","channelOTime":1742045664,"channelDTime":1742045678,"channelDuration":14,"cSTime":1742045674,"cETime":1742045678,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08077423377","server_ip":"118.185.137.196","insertTime":1742045678,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045666,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 806
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_806
            [uid] => u595
            [unique_id] => 36075_806_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045664
            [channelDTime] => 1742045678
            [channelDuration] => 14
            [cSTime] => 1742045674
            [cETime] => 1742045678
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08077423377
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045678
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045666
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 281
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.479999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 73.28000000000057
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 281
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.479999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96480.75000001339
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045680
{"compaign_id":"36075","contact_id":"788","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_788","uid":"u595","unique_id":"36075_788_138-u595","ivrId":"3158","channelOTime":1742045661,"channelDTime":1742045680,"channelDuration":19,"cSTime":1742045677,"cETime":1742045680,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07610798142","server_ip":"118.185.137.196","insertTime":1742045680,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045664,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 788
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_788
            [uid] => u595
            [unique_id] => 36075_788_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045661
            [channelDTime] => 1742045680
            [channelDuration] => 19
            [cSTime] => 1742045677
            [cETime] => 1742045680
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07610798142
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045680
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045664
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 282
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.559999999999956
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 73.20000000000057
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 282
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.559999999999956
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96480.67000001339
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045681
{"compaign_id":"36075","contact_id":"789","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_789","uid":"u595","unique_id":"36075_789_138-u595","ivrId":"3158","channelOTime":1742045661,"channelDTime":1742045680,"channelDuration":19,"cSTime":1742045669,"cETime":1742045680,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08328483880","server_ip":"118.185.137.196","insertTime":1742045680,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045662,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 789
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_789
            [uid] => u595
            [unique_id] => 36075_789_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045661
            [channelDTime] => 1742045680
            [channelDuration] => 19
            [cSTime] => 1742045669
            [cETime] => 1742045680
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08328483880
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045680
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045662
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 283
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.639999999999954
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 73.12000000000057
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 283
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.639999999999954
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96480.59000001338
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045682
{"compaign_id":"36075","contact_id":"755","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_755","uid":"u595","unique_id":"36075_755_138-u595","ivrId":"3158","channelOTime":1742045642,"channelDTime":1742045681,"channelDuration":39,"cSTime":1742045656,"cETime":1742045681,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09059091712","server_ip":"118.185.137.196","insertTime":1742045681,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045645,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045656,"endTime":1742045675,"duration":19}],"#3":[{"startTime":1742045675,"endTime":1742045681,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 755
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_755
            [uid] => u595
            [unique_id] => 36075_755_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045642
            [channelDTime] => 1742045681
            [channelDuration] => 39
            [cSTime] => 1742045656
            [cETime] => 1742045681
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09059091712
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045681
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045645
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045656
                                    [endTime] => 1742045675
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045675
                                    [endTime] => 1742045681
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 284
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.719999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 73.04000000000057
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 284
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.719999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96480.51000001338
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045683
{"compaign_id":"36075","contact_id":"815","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_815","uid":"u595","unique_id":"36075_815_138-u595","ivrId":"3158","channelOTime":1742045666,"channelDTime":1742045682,"channelDuration":16,"cSTime":1742045673,"cETime":1742045682,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08082160535","server_ip":"118.185.137.196","insertTime":1742045682,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045670,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 815
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_815
            [uid] => u595
            [unique_id] => 36075_815_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045666
            [channelDTime] => 1742045682
            [channelDuration] => 16
            [cSTime] => 1742045673
            [cETime] => 1742045682
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08082160535
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045682
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045670
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 286
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.879999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 72.88000000000058
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 286
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.879999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96480.35000001338
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045683
{"compaign_id":"36075","contact_id":"837","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_837","uid":"u595","unique_id":"36075_837_138-u595","ivrId":"3158","channelOTime":1742045672,"channelDTime":1742045682,"channelDuration":10,"cSTime":1742045678,"cETime":1742045682,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09574051920","server_ip":"118.185.137.196","insertTime":1742045682,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045673,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 837
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_837
            [uid] => u595
            [unique_id] => 36075_837_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045672
            [channelDTime] => 1742045682
            [channelDuration] => 10
            [cSTime] => 1742045678
            [cETime] => 1742045682
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09574051920
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045682
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045673
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 287
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.95999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 72.80000000000058
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 287
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 22.95999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96480.27000001338
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045684
{"compaign_id":"36075","contact_id":"753","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_753","uid":"u595","unique_id":"36075_753_138-u595","ivrId":"3158","channelOTime":1742045641,"channelDTime":1742045682,"channelDuration":41,"cSTime":1742045659,"cETime":1742045682,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07000258098","server_ip":"118.185.137.196","insertTime":1742045682,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045643,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045659,"endTime":1742045682,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 753
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_753
            [uid] => u595
            [unique_id] => 36075_753_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045641
            [channelDTime] => 1742045682
            [channelDuration] => 41
            [cSTime] => 1742045659
            [cETime] => 1742045682
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07000258098
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045682
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045643
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045659
                                    [endTime] => 1742045682
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 288
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.03999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 72.72000000000058
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 288
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.03999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96480.19000001338
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045684
{"compaign_id":"36075","contact_id":"730","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_730","uid":"u595","unique_id":"36075_730_138-u595","ivrId":"3158","channelOTime":1742045636,"channelDTime":1742045683,"channelDuration":47,"cSTime":1742045659,"cETime":1742045683,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08884640136","server_ip":"118.185.137.196","insertTime":1742045683,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045640,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045659,"endTime":1742045683,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 730
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_730
            [uid] => u595
            [unique_id] => 36075_730_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045636
            [channelDTime] => 1742045683
            [channelDuration] => 47
            [cSTime] => 1742045659
            [cETime] => 1742045683
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08884640136
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045683
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045640
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045659
                                    [endTime] => 1742045683
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 290
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.19999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 72.56000000000058
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 290
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.19999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96480.03000001337
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045684
{"compaign_id":"36075","contact_id":"800","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_800","uid":"u595","unique_id":"36075_800_138-u595","ivrId":"3158","channelOTime":1742045663,"channelDTime":1742045684,"channelDuration":21,"cSTime":1742045675,"cETime":1742045684,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07667583690","server_ip":"118.185.137.196","insertTime":1742045684,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045670,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 800
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_800
            [uid] => u595
            [unique_id] => 36075_800_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045663
            [channelDTime] => 1742045684
            [channelDuration] => 21
            [cSTime] => 1742045675
            [cETime] => 1742045684
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07667583690
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045684
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045670
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 292
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.35999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 72.40000000000059
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 292
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.35999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96479.87000001337
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045686
{"compaign_id":"36075","contact_id":"834","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_834","uid":"u595","unique_id":"36075_834_138-u595","ivrId":"3158","channelOTime":1742045671,"channelDTime":1742045687,"channelDuration":16,"cSTime":1742045681,"cETime":1742045687,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08302803369","server_ip":"118.185.137.196","insertTime":1742045687,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045674,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 834
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_834
            [uid] => u595
            [unique_id] => 36075_834_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045671
            [channelDTime] => 1742045687
            [channelDuration] => 16
            [cSTime] => 1742045681
            [cETime] => 1742045687
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08302803369
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045687
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045674
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 293
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.439999999999948
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 72.32000000000059
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 293
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.439999999999948
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96479.79000001337
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045689
{"compaign_id":"36075","contact_id":"841","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_841","uid":"u595","unique_id":"36075_841_138-u595","ivrId":"3158","channelOTime":1742045673,"channelDTime":1742045688,"channelDuration":15,"cSTime":1742045680,"cETime":1742045688,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08590469377","server_ip":"118.185.137.196","insertTime":1742045688,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045674,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 841
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_841
            [uid] => u595
            [unique_id] => 36075_841_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045673
            [channelDTime] => 1742045688
            [channelDuration] => 15
            [cSTime] => 1742045680
            [cETime] => 1742045688
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08590469377
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045688
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045674
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 294
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.519999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 72.24000000000059
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 294
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.519999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96479.71000001337
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045689
{"compaign_id":"36075","contact_id":"854","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_854","uid":"u595","unique_id":"36075_854_138-u595","ivrId":"3158","channelOTime":1742045675,"channelDTime":1742045688,"channelDuration":13,"cSTime":1742045682,"cETime":1742045688,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09897279888","server_ip":"118.185.137.196","insertTime":1742045688,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045678,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 854
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_854
            [uid] => u595
            [unique_id] => 36075_854_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045675
            [channelDTime] => 1742045688
            [channelDuration] => 13
            [cSTime] => 1742045682
            [cETime] => 1742045688
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09897279888
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045688
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045678
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 295
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.599999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 72.1600000000006
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 295
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.599999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96479.63000001336
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045689
{"compaign_id":"36075","contact_id":"824","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_824","uid":"u595","unique_id":"36075_824_138-u595","ivrId":"3158","channelOTime":1742045668,"channelDTime":1742045688,"channelDuration":20,"cSTime":1742045686,"cETime":1742045688,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07013160749","server_ip":"118.185.137.196","insertTime":1742045688,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045669,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 824
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_824
            [uid] => u595
            [unique_id] => 36075_824_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045668
            [channelDTime] => 1742045688
            [channelDuration] => 20
            [cSTime] => 1742045686
            [cETime] => 1742045688
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07013160749
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045688
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045669
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 296
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.679999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 72.0800000000006
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 296
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.679999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96479.55000001336
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045690
{"compaign_id":"36075","contact_id":"822","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_822","uid":"u595","unique_id":"36075_822_138-u595","ivrId":"3158","channelOTime":1742045667,"channelDTime":1742045689,"channelDuration":22,"cSTime":1742045685,"cETime":1742045689,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09382219278","server_ip":"118.185.137.196","insertTime":1742045689,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045670,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 822
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_822
            [uid] => u595
            [unique_id] => 36075_822_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045667
            [channelDTime] => 1742045689
            [channelDuration] => 22
            [cSTime] => 1742045685
            [cETime] => 1742045689
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09382219278
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045689
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045670
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 297
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.75999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 72.0000000000006
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 297
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.75999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96479.47000001336
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045691
{"compaign_id":"36075","contact_id":"811","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_811","uid":"u595","unique_id":"36075_811_138-u595","ivrId":"3158","channelOTime":1742045665,"channelDTime":1742045690,"channelDuration":25,"cSTime":1742045667,"cETime":1742045690,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09513694123","server_ip":"118.185.137.196","insertTime":1742045690,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045667,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045667,"endTime":1742045690,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 811
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_811
            [uid] => u595
            [unique_id] => 36075_811_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045665
            [channelDTime] => 1742045690
            [channelDuration] => 25
            [cSTime] => 1742045667
            [cETime] => 1742045690
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09513694123
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045690
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045667
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045667
                                    [endTime] => 1742045690
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 298
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.83999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 71.9200000000006
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 298
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.83999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96479.39000001336
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045692
{"compaign_id":"36075","contact_id":"831","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_831","uid":"u595","unique_id":"36075_831_138-u595","ivrId":"3158","channelOTime":1742045671,"channelDTime":1742045691,"channelDuration":20,"cSTime":1742045685,"cETime":1742045691,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06363652864","server_ip":"118.185.137.196","insertTime":1742045691,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045672,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 831
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_831
            [uid] => u595
            [unique_id] => 36075_831_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045671
            [channelDTime] => 1742045691
            [channelDuration] => 20
            [cSTime] => 1742045685
            [cETime] => 1742045691
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06363652864
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045691
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045672
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 300
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.99999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 71.7600000000006
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 300
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 23.99999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96479.23000001335
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045693
{"compaign_id":"36075","contact_id":"810","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_810","uid":"u595","unique_id":"36075_810_138-u595","ivrId":"3158","channelOTime":1742045665,"channelDTime":1742045692,"channelDuration":27,"cSTime":1742045676,"cETime":1742045692,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08080006471","server_ip":"118.185.137.196","insertTime":1742045692,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045668,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 810
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_810
            [uid] => u595
            [unique_id] => 36075_810_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045665
            [channelDTime] => 1742045692
            [channelDuration] => 27
            [cSTime] => 1742045676
            [cETime] => 1742045692
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08080006471
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045692
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045668
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 301
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.079999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 71.6800000000006
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 301
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.079999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96479.15000001335
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045694
{"compaign_id":"36075","contact_id":"796","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_796","uid":"u595","unique_id":"36075_796_138-u595","ivrId":"3158","channelOTime":1742045662,"channelDTime":1742045692,"channelDuration":30,"cSTime":1742045669,"cETime":1742045692,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09050893448","server_ip":"118.185.137.196","insertTime":1742045692,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045663,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045669,"endTime":1742045688,"duration":19}],"#3":[{"startTime":1742045688,"endTime":1742045692,"duration":4}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 796
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_796
            [uid] => u595
            [unique_id] => 36075_796_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045662
            [channelDTime] => 1742045692
            [channelDuration] => 30
            [cSTime] => 1742045669
            [cETime] => 1742045692
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09050893448
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045692
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045663
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045669
                                    [endTime] => 1742045688
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045688
                                    [endTime] => 1742045692
                                    [duration] => 4
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 303
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.239999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 71.5200000000006
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 303
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.239999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96478.99000001335
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045694
{"compaign_id":"36075","contact_id":"844","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_844","uid":"u595","unique_id":"36075_844_138-u595","ivrId":"3158","channelOTime":1742045673,"channelDTime":1742045693,"channelDuration":20,"cSTime":1742045691,"cETime":1742045693,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07542043875","server_ip":"118.185.137.196","insertTime":1742045693,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045677,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 844
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_844
            [uid] => u595
            [unique_id] => 36075_844_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045673
            [channelDTime] => 1742045693
            [channelDuration] => 20
            [cSTime] => 1742045691
            [cETime] => 1742045693
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07542043875
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045693
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045677
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 305
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.399999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 71.36000000000061
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 305
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.399999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96478.83000001335
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045694
{"compaign_id":"36075","contact_id":"865","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_865","uid":"u595","unique_id":"36075_865_138-u595","ivrId":"3158","channelOTime":1742045678,"channelDTime":1742045693,"channelDuration":15,"cSTime":1742045686,"cETime":1742045693,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07972657236","server_ip":"118.185.137.196","insertTime":1742045693,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045680,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 865
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_865
            [uid] => u595
            [unique_id] => 36075_865_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045678
            [channelDTime] => 1742045693
            [channelDuration] => 15
            [cSTime] => 1742045686
            [cETime] => 1742045693
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07972657236
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045693
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045680
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 306
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.479999999999936
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 71.28000000000061
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 306
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.479999999999936
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96478.75000001334
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045695
{"compaign_id":"36075","contact_id":"746","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_746","uid":"u595","unique_id":"36075_746_138-u595","ivrId":"3158","channelOTime":1742045640,"channelDTime":1742045693,"channelDuration":53,"cSTime":1742045670,"cETime":1742045693,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09954055903","server_ip":"118.185.137.196","insertTime":1742045693,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045643,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045670,"endTime":1742045693,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 746
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_746
            [uid] => u595
            [unique_id] => 36075_746_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045640
            [channelDTime] => 1742045693
            [channelDuration] => 53
            [cSTime] => 1742045670
            [cETime] => 1742045693
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09954055903
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045693
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045643
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045670
                                    [endTime] => 1742045693
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 307
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.559999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 71.20000000000061
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 307
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.559999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96478.67000001334
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045695
{"compaign_id":"36075","contact_id":"823","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_823","uid":"u595","unique_id":"36075_823_138-u595","ivrId":"3158","channelOTime":1742045668,"channelDTime":1742045695,"channelDuration":27,"cSTime":1742045681,"cETime":1742045695,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09493774732","server_ip":"118.185.137.196","insertTime":1742045695,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045669,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 823
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_823
            [uid] => u595
            [unique_id] => 36075_823_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045668
            [channelDTime] => 1742045695
            [channelDuration] => 27
            [cSTime] => 1742045681
            [cETime] => 1742045695
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09493774732
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045695
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045669
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 309
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.719999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 71.04000000000062
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 309
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.719999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96478.51000001334
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045697
{"compaign_id":"36075","contact_id":"884","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_884","uid":"u595","unique_id":"36075_884_138-u595","ivrId":"3158","channelOTime":1742045683,"channelDTime":1742045696,"channelDuration":13,"cSTime":1742045689,"cETime":1742045696,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09142476621","server_ip":"118.185.137.196","insertTime":1742045696,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045687,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 884
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_884
            [uid] => u595
            [unique_id] => 36075_884_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045683
            [channelDTime] => 1742045696
            [channelDuration] => 13
            [cSTime] => 1742045689
            [cETime] => 1742045696
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09142476621
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045696
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045687
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 310
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.799999999999933
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 70.96000000000062
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 310
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.799999999999933
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96478.43000001334
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045698
{"compaign_id":"36075","contact_id":"881","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_881","uid":"u595","unique_id":"36075_881_138-u595","ivrId":"3158","channelOTime":1742045683,"channelDTime":1742045696,"channelDuration":13,"cSTime":1742045693,"cETime":1742045696,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08899776952","server_ip":"118.185.137.196","insertTime":1742045696,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045686,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 881
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_881
            [uid] => u595
            [unique_id] => 36075_881_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045683
            [channelDTime] => 1742045696
            [channelDuration] => 13
            [cSTime] => 1742045693
            [cETime] => 1742045696
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08899776952
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045696
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045686
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 311
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.87999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 70.88000000000062
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 311
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.87999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96478.35000001334
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045698
{"compaign_id":"36075","contact_id":"820","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_820","uid":"u595","unique_id":"36075_820_138-u595","ivrId":"3158","channelOTime":1742045667,"channelDTime":1742045698,"channelDuration":31,"cSTime":1742045674,"cETime":1742045698,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06901819850","server_ip":"118.185.137.196","insertTime":1742045698,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045669,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045674,"endTime":1742045698,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 820
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_820
            [uid] => u595
            [unique_id] => 36075_820_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045667
            [channelDTime] => 1742045698
            [channelDuration] => 31
            [cSTime] => 1742045674
            [cETime] => 1742045698
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06901819850
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045698
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045669
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045674
                                    [endTime] => 1742045698
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 312
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.95999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 70.80000000000062
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 312
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 24.95999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96478.27000001333
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045699
{"compaign_id":"36075","contact_id":"870","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_870","uid":"u595","unique_id":"36075_870_138-u595","ivrId":"3158","channelOTime":1742045679,"channelDTime":1742045699,"channelDuration":20,"cSTime":1742045696,"cETime":1742045699,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08800838363","server_ip":"118.185.137.196","insertTime":1742045699,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045680,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 870
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_870
            [uid] => u595
            [unique_id] => 36075_870_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045679
            [channelDTime] => 1742045699
            [channelDuration] => 20
            [cSTime] => 1742045696
            [cETime] => 1742045699
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08800838363
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045699
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045680
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 314
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.11999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 70.64000000000063
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 314
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.11999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96478.11000001333
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045701
{"compaign_id":"36075","contact_id":"879","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_879","uid":"u595","unique_id":"36075_879_138-u595","ivrId":"3158","channelOTime":1742045680,"channelDTime":1742045699,"channelDuration":19,"cSTime":1742045695,"cETime":1742045699,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08299289940","server_ip":"118.185.137.196","insertTime":1742045699,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045683,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 879
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_879
            [uid] => u595
            [unique_id] => 36075_879_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045680
            [channelDTime] => 1742045699
            [channelDuration] => 19
            [cSTime] => 1742045695
            [cETime] => 1742045699
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08299289940
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045699
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045683
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 315
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.19999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 70.56000000000063
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 315
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.19999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96478.03000001333
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045701
2025-03-15 19:05:01[LOG]Starting Cron
2025-03-15 19:05:01[LOG]Process is already running
{"compaign_id":"36075","contact_id":"895","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_895","uid":"u595","unique_id":"36075_895_138-u595","ivrId":"3158","channelOTime":1742045685,"channelDTime":1742045700,"channelDuration":15,"cSTime":1742045698,"cETime":1742045700,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07988606697","server_ip":"118.185.137.196","insertTime":1742045700,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045687,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 895
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_895
            [uid] => u595
            [unique_id] => 36075_895_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045685
            [channelDTime] => 1742045700
            [channelDuration] => 15
            [cSTime] => 1742045698
            [cETime] => 1742045700
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07988606697
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045700
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045687
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 316
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.279999999999927
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 70.48000000000063
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 316
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.279999999999927
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96477.95000001333
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045702
{"compaign_id":"36075","contact_id":"845","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_845","uid":"u595","unique_id":"36075_845_138-u595","ivrId":"3158","channelOTime":1742045674,"channelDTime":1742045700,"channelDuration":26,"cSTime":1742045690,"cETime":1742045700,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09155935205","server_ip":"118.185.137.196","insertTime":1742045700,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045678,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 845
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_845
            [uid] => u595
            [unique_id] => 36075_845_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045674
            [channelDTime] => 1742045700
            [channelDuration] => 26
            [cSTime] => 1742045690
            [cETime] => 1742045700
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09155935205
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045700
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045678
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 317
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.359999999999925
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 70.40000000000063
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 317
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.359999999999925
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96477.87000001332
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045702
{"compaign_id":"36075","contact_id":"848","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_848","uid":"u595","unique_id":"36075_848_138-u595","ivrId":"3158","channelOTime":1742045674,"channelDTime":1742045701,"channelDuration":27,"cSTime":1742045690,"cETime":1742045701,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09908676743","server_ip":"118.185.137.196","insertTime":1742045701,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045678,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 848
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_848
            [uid] => u595
            [unique_id] => 36075_848_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045674
            [channelDTime] => 1742045701
            [channelDuration] => 27
            [cSTime] => 1742045690
            [cETime] => 1742045701
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09908676743
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045701
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045678
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 318
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.439999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 70.32000000000063
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 318
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.439999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96477.79000001332
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045702
{"compaign_id":"36075","contact_id":"886","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_886","uid":"u595","unique_id":"36075_886_138-u595","ivrId":"3158","channelOTime":1742045684,"channelDTime":1742045701,"channelDuration":17,"cSTime":1742045690,"cETime":1742045701,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09561601691","server_ip":"118.185.137.196","insertTime":1742045701,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045685,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 886
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_886
            [uid] => u595
            [unique_id] => 36075_886_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045684
            [channelDTime] => 1742045701
            [channelDuration] => 17
            [cSTime] => 1742045690
            [cETime] => 1742045701
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09561601691
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045701
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045685
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 319
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.51999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 70.24000000000063
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 319
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.51999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96477.71000001332
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045703
{"compaign_id":"36075","contact_id":"812","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_812","uid":"u595","unique_id":"36075_812_138-u595","ivrId":"3158","channelOTime":1742045665,"channelDTime":1742045704,"channelDuration":39,"cSTime":1742045680,"cETime":1742045704,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08102840270","server_ip":"118.185.137.196","insertTime":1742045704,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045680,"endTime":1742045704,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 812
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_812
            [uid] => u595
            [unique_id] => 36075_812_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045665
            [channelDTime] => 1742045704
            [channelDuration] => 39
            [cSTime] => 1742045680
            [cETime] => 1742045704
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08102840270
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045704
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045680
                                    [endTime] => 1742045704
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 320
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.59999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 70.16000000000064
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 320
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.59999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96477.63000001332
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045706
{"compaign_id":"36075","contact_id":"855","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_855","uid":"u595","unique_id":"36075_855_138-u595","ivrId":"3158","channelOTime":1742045676,"channelDTime":1742045704,"channelDuration":28,"cSTime":1742045689,"cETime":1742045704,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09875385597","server_ip":"118.185.137.196","insertTime":1742045704,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045678,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 855
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_855
            [uid] => u595
            [unique_id] => 36075_855_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045676
            [channelDTime] => 1742045704
            [channelDuration] => 28
            [cSTime] => 1742045689
            [cETime] => 1742045704
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09875385597
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045704
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045678
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 322
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.75999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 70.00000000000064
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 322
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.75999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96477.47000001332
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045706
{"compaign_id":"36075","contact_id":"928","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_928","uid":"u595","unique_id":"36075_928_138-u595","ivrId":"3158","channelOTime":1742045692,"channelDTime":1742045705,"channelDuration":13,"cSTime":1742045702,"cETime":1742045705,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07364075194","server_ip":"118.185.137.196","insertTime":1742045705,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045695,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 928
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_928
            [uid] => u595
            [unique_id] => 36075_928_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045692
            [channelDTime] => 1742045705
            [channelDuration] => 13
            [cSTime] => 1742045702
            [cETime] => 1742045705
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07364075194
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045705
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045695
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 323
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.839999999999918
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 69.92000000000064
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 323
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.839999999999918
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96477.39000001331
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045706
{"compaign_id":"36075","contact_id":"819","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_819","uid":"u595","unique_id":"36075_819_138-u595","ivrId":"3158","channelOTime":1742045667,"channelDTime":1742045705,"channelDuration":38,"cSTime":1742045688,"cETime":1742045705,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07090451601","server_ip":"118.185.137.196","insertTime":1742045705,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045670,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 819
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_819
            [uid] => u595
            [unique_id] => 36075_819_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045667
            [channelDTime] => 1742045705
            [channelDuration] => 38
            [cSTime] => 1742045688
            [cETime] => 1742045705
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07090451601
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045705
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045670
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 324
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.919999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 69.84000000000064
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 324
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 25.919999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96477.31000001331
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045707
{"compaign_id":"36075","contact_id":"863","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_863","uid":"u595","unique_id":"36075_863_138-u595","ivrId":"3158","channelOTime":1742045677,"channelDTime":1742045707,"channelDuration":30,"cSTime":1742045686,"cETime":1742045707,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07065805184","server_ip":"118.185.137.196","insertTime":1742045707,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045680,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 863
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_863
            [uid] => u595
            [unique_id] => 36075_863_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045677
            [channelDTime] => 1742045707
            [channelDuration] => 30
            [cSTime] => 1742045686
            [cETime] => 1742045707
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07065805184
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045707
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045680
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 326
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.079999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 69.68000000000065
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 326
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.079999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96477.15000001331
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045708
{"compaign_id":"36075","contact_id":"856","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_856","uid":"u595","unique_id":"36075_856_138-u595","ivrId":"3158","channelOTime":1742045676,"channelDTime":1742045709,"channelDuration":33,"cSTime":1742045686,"cETime":1742045709,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09108543421","server_ip":"118.185.137.196","insertTime":1742045709,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045680,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045686,"endTime":1742045709,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 856
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_856
            [uid] => u595
            [unique_id] => 36075_856_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045676
            [channelDTime] => 1742045709
            [channelDuration] => 33
            [cSTime] => 1742045686
            [cETime] => 1742045709
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09108543421
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045709
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045680
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045686
                                    [endTime] => 1742045709
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 328
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.239999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 69.52000000000065
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 328
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.239999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96476.9900000133
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045711
{"compaign_id":"36075","contact_id":"869","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_869","uid":"u595","unique_id":"36075_869_138-u595","ivrId":"3158","channelOTime":1742045678,"channelDTime":1742045710,"channelDuration":32,"cSTime":1742045704,"cETime":1742045710,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09445163178","server_ip":"118.185.137.196","insertTime":1742045710,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045688,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 869
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_869
            [uid] => u595
            [unique_id] => 36075_869_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045678
            [channelDTime] => 1742045710
            [channelDuration] => 32
            [cSTime] => 1742045704
            [cETime] => 1742045710
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09445163178
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045710
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045688
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 330
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.399999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 69.36000000000065
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 330
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.399999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96476.8300000133
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045711
{"compaign_id":"36075","contact_id":"887","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_887","uid":"u595","unique_id":"36075_887_138-u595","ivrId":"3158","channelOTime":1742045684,"channelDTime":1742045711,"channelDuration":27,"cSTime":1742045707,"cETime":1742045711,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07902430750","server_ip":"118.185.137.196","insertTime":1742045711,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045686,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 887
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_887
            [uid] => u595
            [unique_id] => 36075_887_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045684
            [channelDTime] => 1742045711
            [channelDuration] => 27
            [cSTime] => 1742045707
            [cETime] => 1742045711
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07902430750
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045711
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045686
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 331
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.479999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 69.28000000000065
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 331
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.479999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96476.7500000133
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045713
{"compaign_id":"36075","contact_id":"877","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_877","uid":"u595","unique_id":"36075_877_138-u595","ivrId":"3158","channelOTime":1742045680,"channelDTime":1742045712,"channelDuration":32,"cSTime":1742045705,"cETime":1742045712,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09503653342","server_ip":"118.185.137.196","insertTime":1742045712,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045691,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 877
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_877
            [uid] => u595
            [unique_id] => 36075_877_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045680
            [channelDTime] => 1742045712
            [channelDuration] => 32
            [cSTime] => 1742045705
            [cETime] => 1742045712
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09503653342
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045712
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045691
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 332
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.559999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 69.20000000000066
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 332
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.559999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96476.6700000133
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045713
{"compaign_id":"36075","contact_id":"961","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_961","uid":"u595","unique_id":"36075_961_138-u595","ivrId":"3158","channelOTime":1742045701,"channelDTime":1742045713,"channelDuration":12,"cSTime":1742045709,"cETime":1742045713,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07986295244","server_ip":"118.185.137.196","insertTime":1742045713,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045702,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 961
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_961
            [uid] => u595
            [unique_id] => 36075_961_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045701
            [channelDTime] => 1742045713
            [channelDuration] => 12
            [cSTime] => 1742045709
            [cETime] => 1742045713
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07986295244
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045713
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045702
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 333
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.63999999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 69.12000000000066
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 333
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.63999999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96476.5900000133
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045715
{"compaign_id":"36075","contact_id":"889","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_889","uid":"u595","unique_id":"36075_889_138-u595","ivrId":"3158","channelOTime":1742045684,"channelDTime":1742045713,"channelDuration":29,"cSTime":1742045695,"cETime":1742045713,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07387153603","server_ip":"118.185.137.196","insertTime":1742045713,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045686,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 889
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_889
            [uid] => u595
            [unique_id] => 36075_889_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045684
            [channelDTime] => 1742045713
            [channelDuration] => 29
            [cSTime] => 1742045695
            [cETime] => 1742045713
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07387153603
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045713
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045686
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 334
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.71999999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 69.04000000000066
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 334
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.71999999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96476.5100000133
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045715
{"compaign_id":"36075","contact_id":"918","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_918","uid":"u595","unique_id":"36075_918_138-u595","ivrId":"3158","channelOTime":1742045690,"channelDTime":1742045714,"channelDuration":24,"cSTime":1742045699,"cETime":1742045714,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07013107282","server_ip":"118.185.137.196","insertTime":1742045714,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045691,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 918
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_918
            [uid] => u595
            [unique_id] => 36075_918_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045690
            [channelDTime] => 1742045714
            [channelDuration] => 24
            [cSTime] => 1742045699
            [cETime] => 1742045714
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07013107282
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045714
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045691
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 336
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.87999999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 68.88000000000066
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 336
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.87999999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96476.35000001329
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045716
{"compaign_id":"36075","contact_id":"935","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_935","uid":"u595","unique_id":"36075_935_138-u595","ivrId":"3158","channelOTime":1742045695,"channelDTime":1742045715,"channelDuration":20,"cSTime":1742045710,"cETime":1742045715,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08083848894","server_ip":"118.185.137.196","insertTime":1742045715,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045701,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 935
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_935
            [uid] => u595
            [unique_id] => 36075_935_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045695
            [channelDTime] => 1742045715
            [channelDuration] => 20
            [cSTime] => 1742045710
            [cETime] => 1742045715
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08083848894
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045715
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045701
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 337
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.95999999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 68.80000000000067
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 337
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 26.95999999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96476.27000001329
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045716
{"compaign_id":"36075","contact_id":"952","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_952","uid":"u595","unique_id":"36075_952_138-u595","ivrId":"3158","channelOTime":1742045699,"channelDTime":1742045715,"channelDuration":16,"cSTime":1742045710,"cETime":1742045715,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08874787791","server_ip":"118.185.137.196","insertTime":1742045715,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045701,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 952
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_952
            [uid] => u595
            [unique_id] => 36075_952_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045699
            [channelDTime] => 1742045715
            [channelDuration] => 16
            [cSTime] => 1742045710
            [cETime] => 1742045715
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08874787791
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045715
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045701
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 338
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.039999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 68.72000000000067
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 338
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.039999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96476.19000001329
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045717
{"compaign_id":"36075","contact_id":"956","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_956","uid":"u595","unique_id":"36075_956_138-u595","ivrId":"3158","channelOTime":1742045700,"channelDTime":1742045715,"channelDuration":15,"cSTime":1742045708,"cETime":1742045715,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06396982318","server_ip":"118.185.137.196","insertTime":1742045715,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045701,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 956
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_956
            [uid] => u595
            [unique_id] => 36075_956_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045700
            [channelDTime] => 1742045715
            [channelDuration] => 15
            [cSTime] => 1742045708
            [cETime] => 1742045715
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06396982318
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045715
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045701
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 339
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.119999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 68.64000000000067
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 339
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.119999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96476.11000001329
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045717
{"compaign_id":"36075","contact_id":"957","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_957","uid":"u595","unique_id":"36075_957_138-u595","ivrId":"3158","channelOTime":1742045700,"channelDTime":1742045716,"channelDuration":16,"cSTime":1742045709,"cETime":1742045716,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07081257292","server_ip":"118.185.137.196","insertTime":1742045716,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045703,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 957
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_957
            [uid] => u595
            [unique_id] => 36075_957_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045700
            [channelDTime] => 1742045716
            [channelDuration] => 16
            [cSTime] => 1742045709
            [cETime] => 1742045716
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07081257292
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045716
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045703
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 340
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.199999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 68.56000000000067
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 340
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.199999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96476.03000001328
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045718
{"compaign_id":"36075","contact_id":"798","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_798","uid":"u595","unique_id":"36075_798_138-u595","ivrId":"3158","channelOTime":1742045663,"channelDTime":1742045717,"channelDuration":54,"cSTime":1742045692,"cETime":1742045717,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"06294784380","server_ip":"118.185.137.196","insertTime":1742045717,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045665,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045692,"endTime":1742045711,"duration":19}],"#3":[{"startTime":1742045711,"endTime":1742045717,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 798
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_798
            [uid] => u595
            [unique_id] => 36075_798_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045663
            [channelDTime] => 1742045717
            [channelDuration] => 54
            [cSTime] => 1742045692
            [cETime] => 1742045717
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 06294784380
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045717
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045665
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045692
                                    [endTime] => 1742045711
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045711
                                    [endTime] => 1742045717
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 341
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.2799999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 68.48000000000067
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 341
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.2799999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96475.95000001328
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045719
{"compaign_id":"36075","contact_id":"950","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_950","uid":"u595","unique_id":"36075_950_138-u595","ivrId":"3158","channelOTime":1742045698,"channelDTime":1742045717,"channelDuration":19,"cSTime":1742045710,"cETime":1742045717,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09641421978","server_ip":"118.185.137.196","insertTime":1742045717,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045702,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 950
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_950
            [uid] => u595
            [unique_id] => 36075_950_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045698
            [channelDTime] => 1742045717
            [channelDuration] => 19
            [cSTime] => 1742045710
            [cETime] => 1742045717
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09641421978
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045717
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045702
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 343
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.439999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 68.32000000000068
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 343
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.439999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96475.79000001328
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045719
{"compaign_id":"36075","contact_id":"835","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_835","uid":"u595","unique_id":"36075_835_138-u595","ivrId":"3158","channelOTime":1742045672,"channelDTime":1742045718,"channelDuration":46,"cSTime":1742045694,"cETime":1742045718,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09391076971","server_ip":"118.185.137.196","insertTime":1742045718,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045674,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045694,"endTime":1742045712,"duration":18}],"#3":[{"startTime":1742045712,"endTime":1742045718,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 835
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_835
            [uid] => u595
            [unique_id] => 36075_835_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045672
            [channelDTime] => 1742045718
            [channelDuration] => 46
            [cSTime] => 1742045694
            [cETime] => 1742045718
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09391076971
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045718
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045674
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045694
                                    [endTime] => 1742045712
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045712
                                    [endTime] => 1742045718
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 344
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.5199999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 68.24000000000068
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 344
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.5199999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96475.71000001328
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045719
{"compaign_id":"36075","contact_id":"971","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_971","uid":"u595","unique_id":"36075_971_138-u595","ivrId":"3158","channelOTime":1742045703,"channelDTime":1742045719,"channelDuration":16,"cSTime":1742045712,"cETime":1742045719,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09979680001","server_ip":"118.185.137.196","insertTime":1742045719,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045706,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 971
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_971
            [uid] => u595
            [unique_id] => 36075_971_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045703
            [channelDTime] => 1742045719
            [channelDuration] => 16
            [cSTime] => 1742045712
            [cETime] => 1742045719
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09979680001
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045719
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045706
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 346
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.6799999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 68.08000000000068
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 346
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.6799999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96475.55000001327
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045720
{"compaign_id":"36075","contact_id":"995","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_995","uid":"u595","unique_id":"36075_995_138-u595","ivrId":"3158","channelOTime":1742045709,"channelDTime":1742045720,"channelDuration":11,"cSTime":1742045718,"cETime":1742045720,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08639795802","server_ip":"118.185.137.196","insertTime":1742045720,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045710,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 995
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_995
            [uid] => u595
            [unique_id] => 36075_995_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045709
            [channelDTime] => 1742045720
            [channelDuration] => 11
            [cSTime] => 1742045718
            [cETime] => 1742045720
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08639795802
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045720
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045710
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 347
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.7599999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 68.00000000000068
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 347
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.7599999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96475.47000001327
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045721
{"compaign_id":"36075","contact_id":"860","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_860","uid":"u595","unique_id":"36075_860_138-u595","ivrId":"3158","channelOTime":1742045677,"channelDTime":1742045720,"channelDuration":43,"cSTime":1742045697,"cETime":1742045720,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09659751573","server_ip":"118.185.137.196","insertTime":1742045720,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045679,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045697,"endTime":1742045720,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 860
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_860
            [uid] => u595
            [unique_id] => 36075_860_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045677
            [channelDTime] => 1742045720
            [channelDuration] => 43
            [cSTime] => 1742045697
            [cETime] => 1742045720
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09659751573
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045720
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045679
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045697
                                    [endTime] => 1742045720
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 348
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.839999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 67.92000000000068
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 348
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.839999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96475.39000001327
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045722
{"compaign_id":"36075","contact_id":"996","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_996","uid":"u595","unique_id":"36075_996_138-u595","ivrId":"3158","channelOTime":1742045709,"channelDTime":1742045721,"channelDuration":12,"cSTime":1742045718,"cETime":1742045721,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09704098208","server_ip":"118.185.137.196","insertTime":1742045721,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045714,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 996
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_996
            [uid] => u595
            [unique_id] => 36075_996_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045709
            [channelDTime] => 1742045721
            [channelDuration] => 12
            [cSTime] => 1742045718
            [cETime] => 1742045721
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09704098208
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045721
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045714
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 350
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.999999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 67.76000000000069
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 350
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 27.999999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96475.23000001327
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045723
{"compaign_id":"36075","contact_id":"972","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_972","uid":"u595","unique_id":"36075_972_138-u595","ivrId":"3158","channelOTime":1742045703,"channelDTime":1742045722,"channelDuration":19,"cSTime":1742045716,"cETime":1742045722,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08638352074","server_ip":"118.185.137.196","insertTime":1742045722,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045709,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 972
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_972
            [uid] => u595
            [unique_id] => 36075_972_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045703
            [channelDTime] => 1742045722
            [channelDuration] => 19
            [cSTime] => 1742045716
            [cETime] => 1742045722
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08638352074
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045722
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045709
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 351
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.079999999999895
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 67.68000000000069
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 351
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.079999999999895
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96475.15000001327
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045724
{"compaign_id":"36075","contact_id":"975","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_975","uid":"u595","unique_id":"36075_975_138-u595","ivrId":"3158","channelOTime":1742045703,"channelDTime":1742045725,"channelDuration":22,"cSTime":1742045712,"cETime":1742045725,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09532563966","server_ip":"118.185.137.196","insertTime":1742045725,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045704,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 975
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_975
            [uid] => u595
            [unique_id] => 36075_975_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045703
            [channelDTime] => 1742045725
            [channelDuration] => 22
            [cSTime] => 1742045712
            [cETime] => 1742045725
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09532563966
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045725
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045704
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 352
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.159999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 67.60000000000069
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 352
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.159999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96475.07000001326
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045727
{"compaign_id":"36075","contact_id":"919","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_919","uid":"u595","unique_id":"36075_919_138-u595","ivrId":"3158","channelOTime":1742045690,"channelDTime":1742045725,"channelDuration":35,"cSTime":1742045703,"cETime":1742045725,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09885683288","server_ip":"118.185.137.196","insertTime":1742045725,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045693,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045703,"endTime":1742045727,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 919
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_919
            [uid] => u595
            [unique_id] => 36075_919_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045690
            [channelDTime] => 1742045725
            [channelDuration] => 35
            [cSTime] => 1742045703
            [cETime] => 1742045725
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09885683288
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045725
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045693
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045703
                                    [endTime] => 1742045727
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 353
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.239999999999892
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 67.52000000000069
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 353
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.239999999999892
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96474.99000001326
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045727
{"compaign_id":"36075","contact_id":"973","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_973","uid":"u595","unique_id":"36075_973_138-u595","ivrId":"3158","channelOTime":1742045703,"channelDTime":1742045726,"channelDuration":23,"cSTime":1742045717,"cETime":1742045726,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06393901807","server_ip":"118.185.137.196","insertTime":1742045726,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045705,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 973
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_973
            [uid] => u595
            [unique_id] => 36075_973_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045703
            [channelDTime] => 1742045726
            [channelDuration] => 23
            [cSTime] => 1742045717
            [cETime] => 1742045726
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06393901807
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045726
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045705
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 355
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.399999999999892
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 67.3600000000007
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 355
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.399999999999892
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96474.83000001326
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045727
{"compaign_id":"36075","contact_id":"938","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_938","uid":"u595","unique_id":"36075_938_138-u595","ivrId":"3158","channelOTime":1742045696,"channelDTime":1742045726,"channelDuration":30,"cSTime":1742045721,"cETime":1742045726,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08638687288","server_ip":"118.185.137.196","insertTime":1742045726,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045699,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 938
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_938
            [uid] => u595
            [unique_id] => 36075_938_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045696
            [channelDTime] => 1742045726
            [channelDuration] => 30
            [cSTime] => 1742045721
            [cETime] => 1742045726
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08638687288
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045726
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045699
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 356
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.47999999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 67.2800000000007
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 356
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.47999999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96474.75000001326
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045728
{"compaign_id":"36075","contact_id":"1014","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1014","uid":"u595","unique_id":"36075_1014_138-u595","ivrId":"3158","channelOTime":1742045713,"channelDTime":1742045726,"channelDuration":13,"cSTime":1742045723,"cETime":1742045726,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07893410198","server_ip":"118.185.137.196","insertTime":1742045726,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045715,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1014
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1014
            [uid] => u595
            [unique_id] => 36075_1014_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045713
            [channelDTime] => 1742045726
            [channelDuration] => 13
            [cSTime] => 1742045723
            [cETime] => 1742045726
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07893410198
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045726
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045715
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 357
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.55999999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 67.2000000000007
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 357
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.55999999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96474.67000001326
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045728
{"compaign_id":"36075","contact_id":"982","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_982","uid":"u595","unique_id":"36075_982_138-u595","ivrId":"3158","channelOTime":1742045706,"channelDTime":1742045727,"channelDuration":21,"cSTime":1742045716,"cETime":1742045727,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09435232026","server_ip":"118.185.137.196","insertTime":1742045727,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045708,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 982
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_982
            [uid] => u595
            [unique_id] => 36075_982_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045706
            [channelDTime] => 1742045727
            [channelDuration] => 21
            [cSTime] => 1742045716
            [cETime] => 1742045727
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09435232026
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045727
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045708
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 358
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.639999999999887
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 67.1200000000007
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 358
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.639999999999887
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96474.59000001325
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045728
{"compaign_id":"36075","contact_id":"883","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_883","uid":"u595","unique_id":"36075_883_138-u595","ivrId":"3158","channelOTime":1742045683,"channelDTime":1742045727,"channelDuration":44,"cSTime":1742045703,"cETime":1742045727,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09986820008","server_ip":"118.185.137.196","insertTime":1742045727,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045685,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045703,"endTime":1742045727,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 883
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_883
            [uid] => u595
            [unique_id] => 36075_883_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045683
            [channelDTime] => 1742045727
            [channelDuration] => 44
            [cSTime] => 1742045703
            [cETime] => 1742045727
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09986820008
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045727
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045685
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045703
                                    [endTime] => 1742045727
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 359
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.719999999999885
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 67.0400000000007
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 359
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.719999999999885
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96474.51000001325
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045729
{"compaign_id":"36075","contact_id":"984","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_984","uid":"u595","unique_id":"36075_984_138-u595","ivrId":"3158","channelOTime":1742045707,"channelDTime":1742045728,"channelDuration":21,"cSTime":1742045714,"cETime":1742045728,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08086793635","server_ip":"118.185.137.196","insertTime":1742045728,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045708,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 984
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_984
            [uid] => u595
            [unique_id] => 36075_984_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045707
            [channelDTime] => 1742045728
            [channelDuration] => 21
            [cSTime] => 1742045714
            [cETime] => 1742045728
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08086793635
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045728
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045708
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 361
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.879999999999885
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 66.8800000000007
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 361
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.879999999999885
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96474.35000001325
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045729
{"compaign_id":"36075","contact_id":"911","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_911","uid":"u595","unique_id":"36075_911_138-u595","ivrId":"3158","channelOTime":1742045689,"channelDTime":1742045731,"channelDuration":42,"cSTime":1742045707,"cETime":1742045731,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07400740465","server_ip":"118.185.137.196","insertTime":1742045731,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045691,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045707,"endTime":1742045725,"duration":18}],"#3":[{"startTime":1742045725,"endTime":1742045731,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 911
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_911
            [uid] => u595
            [unique_id] => 36075_911_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045689
            [channelDTime] => 1742045731
            [channelDuration] => 42
            [cSTime] => 1742045707
            [cETime] => 1742045731
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07400740465
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045731
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045691
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045707
                                    [endTime] => 1742045725
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045725
                                    [endTime] => 1742045731
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 362
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.959999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 66.80000000000071
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 362
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 28.959999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96474.27000001325
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045733
{"compaign_id":"36075","contact_id":"940","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_940","uid":"u595","unique_id":"36075_940_138-u595","ivrId":"3158","channelOTime":1742045696,"channelDTime":1742045731,"channelDuration":35,"cSTime":1742045713,"cETime":1742045731,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07506806160","server_ip":"118.185.137.196","insertTime":1742045731,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045698,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 940
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_940
            [uid] => u595
            [unique_id] => 36075_940_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045696
            [channelDTime] => 1742045731
            [channelDuration] => 35
            [cSTime] => 1742045713
            [cETime] => 1742045731
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07506806160
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045731
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045698
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 364
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.119999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 66.64000000000071
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 364
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.119999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96474.11000001324
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045733
{"compaign_id":"36075","contact_id":"903","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_903","uid":"u595","unique_id":"36075_903_138-u595","ivrId":"3158","channelOTime":1742045687,"channelDTime":1742045731,"channelDuration":44,"cSTime":1742045715,"cETime":1742045731,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08093278567","server_ip":"118.185.137.196","insertTime":1742045731,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045693,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 903
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_903
            [uid] => u595
            [unique_id] => 36075_903_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045687
            [channelDTime] => 1742045731
            [channelDuration] => 44
            [cSTime] => 1742045715
            [cETime] => 1742045731
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08093278567
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045731
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045693
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 366
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.279999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 66.48000000000071
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 366
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.279999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96473.95000001324
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045733
{"compaign_id":"36075","contact_id":"1009","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1009","uid":"u595","unique_id":"36075_1009_138-u595","ivrId":"3158","channelOTime":1742045712,"channelDTime":1742045732,"channelDuration":20,"cSTime":1742045726,"cETime":1742045732,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08448123089","server_ip":"118.185.137.196","insertTime":1742045732,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045713,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1009
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1009
            [uid] => u595
            [unique_id] => 36075_1009_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045712
            [channelDTime] => 1742045732
            [channelDuration] => 20
            [cSTime] => 1742045726
            [cETime] => 1742045732
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08448123089
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045732
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045713
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 368
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.439999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 66.32000000000072
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 368
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.439999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96473.79000001324
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045734
{"compaign_id":"36075","contact_id":"1020","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1020","uid":"u595","unique_id":"36075_1020_138-u595","ivrId":"3158","channelOTime":1742045714,"channelDTime":1742045733,"channelDuration":19,"cSTime":1742045724,"cETime":1742045733,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09608970345","server_ip":"118.185.137.196","insertTime":1742045733,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045716,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1020
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1020
            [uid] => u595
            [unique_id] => 36075_1020_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045714
            [channelDTime] => 1742045733
            [channelDuration] => 19
            [cSTime] => 1742045724
            [cETime] => 1742045733
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09608970345
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045733
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045716
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 369
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.519999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 66.24000000000072
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 369
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.519999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96473.71000001323
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045735
{"compaign_id":"36075","contact_id":"1037","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1037","uid":"u595","unique_id":"36075_1037_138-u595","ivrId":"3158","channelOTime":1742045725,"channelDTime":1742045735,"channelDuration":10,"cSTime":1742045732,"cETime":1742045735,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06380965237","server_ip":"118.185.137.196","insertTime":1742045735,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045727,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1037
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1037
            [uid] => u595
            [unique_id] => 36075_1037_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045725
            [channelDTime] => 1742045735
            [channelDuration] => 10
            [cSTime] => 1742045732
            [cETime] => 1742045735
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06380965237
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045735
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045727
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 370
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.59999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 66.16000000000072
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 370
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.59999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96473.63000001323
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045736
{"compaign_id":"36075","contact_id":"1013","total_duration":"0","answer_duration":0,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1013","uid":"u595","unique_id":"36075_1013_138-u595","ivrId":"3158","channelOTime":1742045713,"channelDTime":1742045736,"channelDuration":23,"cSTime":1742045736,"cETime":1742045736,"cDuration":0,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08638509233","server_ip":"118.185.137.196","insertTime":1742045736,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045717,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1013
    [total_duration] => 0
    [answer_duration] => 0
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1013
            [uid] => u595
            [unique_id] => 36075_1013_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045713
            [channelDTime] => 1742045736
            [channelDuration] => 23
            [cSTime] => 1742045736
            [cETime] => 1742045736
            [cDuration] => 0
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08638509233
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045736
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045717
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 371
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.67999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 66.08000000000072
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 371
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.67999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96473.55000001323
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)
1742045738
{"compaign_id":"36075","contact_id":"977","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_977","uid":"u595","unique_id":"36075_977_138-u595","ivrId":"3158","channelOTime":1742045704,"channelDTime":1742045738,"channelDuration":34,"cSTime":1742045714,"cETime":1742045738,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09608687283","server_ip":"118.185.137.196","insertTime":1742045738,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045706,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045714,"endTime":1742045738,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 977
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_977
            [uid] => u595
            [unique_id] => 36075_977_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045704
            [channelDTime] => 1742045738
            [channelDuration] => 34
            [cSTime] => 1742045714
            [cETime] => 1742045738
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09608687283
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045738
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045706
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045714
                                    [endTime] => 1742045738
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 371
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.67999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 66.08000000000072
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 371
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.67999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96473.55000001323
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045740
{"compaign_id":"36075","contact_id":"1034","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1034","uid":"u595","unique_id":"36075_1034_138-u595","ivrId":"3158","channelOTime":1742045724,"channelDTime":1742045738,"channelDuration":14,"cSTime":1742045735,"cETime":1742045738,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08528279493","server_ip":"118.185.137.196","insertTime":1742045738,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045726,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1034
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1034
            [uid] => u595
            [unique_id] => 36075_1034_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045724
            [channelDTime] => 1742045738
            [channelDuration] => 14
            [cSTime] => 1742045735
            [cETime] => 1742045738
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08528279493
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045738
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045726
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 373
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.83999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 65.92000000000073
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 373
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.83999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96473.39000001323
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045740
{"compaign_id":"36075","contact_id":"993","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_993","uid":"u595","unique_id":"36075_993_138-u595","ivrId":"3158","channelOTime":1742045709,"channelDTime":1742045738,"channelDuration":29,"cSTime":1742045717,"cETime":1742045738,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08949414319","server_ip":"118.185.137.196","insertTime":1742045738,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045710,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045717,"endTime":1742045736,"duration":19}],"#3":[{"startTime":1742045736,"endTime":1742045738,"duration":2}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 993
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_993
            [uid] => u595
            [unique_id] => 36075_993_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045709
            [channelDTime] => 1742045738
            [channelDuration] => 29
            [cSTime] => 1742045717
            [cETime] => 1742045738
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08949414319
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045738
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045710
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045717
                                    [endTime] => 1742045736
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045736
                                    [endTime] => 1742045738
                                    [duration] => 2
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 374
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.919999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 65.84000000000073
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 374
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 29.919999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96473.31000001323
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045740
{"compaign_id":"36075","contact_id":"991","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_991","uid":"u595","unique_id":"36075_991_138-u595","ivrId":"3158","channelOTime":1742045708,"channelDTime":1742045739,"channelDuration":31,"cSTime":1742045728,"cETime":1742045739,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07607144976","server_ip":"118.185.137.196","insertTime":1742045739,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045711,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 991
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_991
            [uid] => u595
            [unique_id] => 36075_991_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045708
            [channelDTime] => 1742045739
            [channelDuration] => 31
            [cSTime] => 1742045728
            [cETime] => 1742045739
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07607144976
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045739
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045711
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 376
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.079999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 65.68000000000073
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 376
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.079999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96473.15000001322
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045741
{"compaign_id":"36075","contact_id":"1006","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1006","uid":"u595","unique_id":"36075_1006_138-u595","ivrId":"3158","channelOTime":1742045711,"channelDTime":1742045740,"channelDuration":29,"cSTime":1742045722,"cETime":1742045740,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07520331840","server_ip":"118.185.137.196","insertTime":1742045740,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045717,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1006
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1006
            [uid] => u595
            [unique_id] => 36075_1006_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045711
            [channelDTime] => 1742045740
            [channelDuration] => 29
            [cSTime] => 1742045722
            [cETime] => 1742045740
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07520331840
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045740
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045717
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 377
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.159999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 65.60000000000073
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 377
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.159999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96473.07000001322
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045742
{"compaign_id":"36075","contact_id":"1033","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1033","uid":"u595","unique_id":"36075_1033_138-u595","ivrId":"3158","channelOTime":1742045724,"channelDTime":1742045740,"channelDuration":16,"cSTime":1742045733,"cETime":1742045740,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08978704279","server_ip":"118.185.137.196","insertTime":1742045740,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045725,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1033
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1033
            [uid] => u595
            [unique_id] => 36075_1033_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045724
            [channelDTime] => 1742045740
            [channelDuration] => 16
            [cSTime] => 1742045733
            [cETime] => 1742045740
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08978704279
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045740
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045725
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 379
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.319999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 65.44000000000074
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 379
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.319999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96472.91000001322
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045742
{"compaign_id":"36075","contact_id":"1041","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1041","uid":"u595","unique_id":"36075_1041_138-u595","ivrId":"3158","channelOTime":1742045725,"channelDTime":1742045743,"channelDuration":18,"cSTime":1742045739,"cETime":1742045743,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09479909517","server_ip":"118.185.137.196","insertTime":1742045743,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045727,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1041
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1041
            [uid] => u595
            [unique_id] => 36075_1041_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045725
            [channelDTime] => 1742045743
            [channelDuration] => 18
            [cSTime] => 1742045739
            [cETime] => 1742045743
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09479909517
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045743
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045727
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 380
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.399999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 65.36000000000074
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 380
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.399999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96472.83000001321
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045744
{"compaign_id":"36075","contact_id":"1056","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1056","uid":"u595","unique_id":"36075_1056_138-u595","ivrId":"3158","channelOTime":1742045728,"channelDTime":1742045746,"channelDuration":18,"cSTime":1742045736,"cETime":1742045746,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07739343888","server_ip":"118.185.137.196","insertTime":1742045746,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045731,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1056
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1056
            [uid] => u595
            [unique_id] => 36075_1056_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045728
            [channelDTime] => 1742045746
            [channelDuration] => 18
            [cSTime] => 1742045736
            [cETime] => 1742045746
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07739343888
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045746
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045731
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 381
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.479999999999873
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 65.28000000000074
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 381
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.479999999999873
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96472.75000001321
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045748
{"compaign_id":"36075","contact_id":"1060","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1060","uid":"u595","unique_id":"36075_1060_138-u595","ivrId":"3158","channelOTime":1742045729,"channelDTime":1742045746,"channelDuration":17,"cSTime":1742045743,"cETime":1742045746,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07797699479","server_ip":"118.185.137.196","insertTime":1742045746,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045737,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1060
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1060
            [uid] => u595
            [unique_id] => 36075_1060_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045729
            [channelDTime] => 1742045746
            [channelDuration] => 17
            [cSTime] => 1742045743
            [cETime] => 1742045746
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07797699479
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045746
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045737
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 382
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.55999999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 65.20000000000074
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 382
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.55999999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96472.67000001321
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045748
{"compaign_id":"36075","contact_id":"986","total_duration":"28","answer_duration":28,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_986","uid":"u595","unique_id":"36075_986_138-u595","ivrId":"3158","channelOTime":1742045707,"channelDTime":1742045748,"channelDuration":41,"cSTime":1742045720,"cETime":1742045748,"cDuration":28,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07980165700","server_ip":"118.185.137.196","insertTime":1742045748,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045709,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045720,"endTime":1742045742,"duration":22}],"#3":[{"startTime":1742045742,"endTime":1742045748,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 986
    [total_duration] => 28
    [answer_duration] => 28
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_986
            [uid] => u595
            [unique_id] => 36075_986_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045707
            [channelDTime] => 1742045748
            [channelDuration] => 41
            [cSTime] => 1742045720
            [cETime] => 1742045748
            [cDuration] => 28
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07980165700
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045748
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045709
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045720
                                    [endTime] => 1742045742
                                    [duration] => 22
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045742
                                    [endTime] => 1742045748
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 383
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.63999999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 65.12000000000074
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 383
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.63999999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96472.59000001321
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045749
{"compaign_id":"36075","contact_id":"1072","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1072","uid":"u595","unique_id":"36075_1072_138-u595","ivrId":"3158","channelOTime":1742045732,"channelDTime":1742045749,"channelDuration":17,"cSTime":1742045745,"cETime":1742045749,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08433428333","server_ip":"118.185.137.196","insertTime":1742045749,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045735,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1072
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1072
            [uid] => u595
            [unique_id] => 36075_1072_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045732
            [channelDTime] => 1742045749
            [channelDuration] => 17
            [cSTime] => 1742045745
            [cETime] => 1742045749
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08433428333
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045749
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045735
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 385
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.79999999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 64.96000000000075
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 385
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.79999999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96472.4300000132
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045750
{"compaign_id":"36075","contact_id":"1066","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1066","uid":"u595","unique_id":"36075_1066_138-u595","ivrId":"3158","channelOTime":1742045730,"channelDTime":1742045752,"channelDuration":22,"cSTime":1742045743,"cETime":1742045752,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09832323955","server_ip":"118.185.137.196","insertTime":1742045752,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045733,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1066
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1066
            [uid] => u595
            [unique_id] => 36075_1066_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045730
            [channelDTime] => 1742045752
            [channelDuration] => 22
            [cSTime] => 1742045743
            [cETime] => 1742045752
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09832323955
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045752
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045733
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 386
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.879999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 64.88000000000075
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 386
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.879999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96472.3500000132
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045753
{"compaign_id":"36075","contact_id":"1078","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1078","uid":"u595","unique_id":"36075_1078_138-u595","ivrId":"3158","channelOTime":1742045733,"channelDTime":1742045752,"channelDuration":19,"cSTime":1742045744,"cETime":1742045752,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08017620049","server_ip":"118.185.137.196","insertTime":1742045752,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045736,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1078
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1078
            [uid] => u595
            [unique_id] => 36075_1078_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045733
            [channelDTime] => 1742045752
            [channelDuration] => 19
            [cSTime] => 1742045744
            [cETime] => 1742045752
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08017620049
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045752
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045736
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 387
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.959999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 64.80000000000075
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 387
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 30.959999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96472.2700000132
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045754
{"compaign_id":"36075","contact_id":"1068","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1068","uid":"u595","unique_id":"36075_1068_138-u595","ivrId":"3158","channelOTime":1742045731,"channelDTime":1742045753,"channelDuration":22,"cSTime":1742045740,"cETime":1742045753,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06291508118","server_ip":"118.185.137.196","insertTime":1742045753,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045737,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1068
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1068
            [uid] => u595
            [unique_id] => 36075_1068_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045731
            [channelDTime] => 1742045753
            [channelDuration] => 22
            [cSTime] => 1742045740
            [cETime] => 1742045753
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06291508118
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045753
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045737
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 388
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.039999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 64.72000000000075
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 388
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.039999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96472.1900000132
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045755
{"compaign_id":"36075","contact_id":"1039","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1039","uid":"u595","unique_id":"36075_1039_138-u595","ivrId":"3158","channelOTime":1742045725,"channelDTime":1742045754,"channelDuration":29,"cSTime":1742045742,"cETime":1742045754,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09725481444","server_ip":"118.185.137.196","insertTime":1742045754,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045728,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1039
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1039
            [uid] => u595
            [unique_id] => 36075_1039_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045725
            [channelDTime] => 1742045754
            [channelDuration] => 29
            [cSTime] => 1742045742
            [cETime] => 1742045754
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09725481444
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045754
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045728
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 389
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.119999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 64.64000000000075
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 389
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.119999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96472.1100000132
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045756
{"compaign_id":"36075","contact_id":"1046","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1046","uid":"u595","unique_id":"36075_1046_138-u595","ivrId":"3158","channelOTime":1742045726,"channelDTime":1742045756,"channelDuration":30,"cSTime":1742045733,"cETime":1742045756,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07038904230","server_ip":"118.185.137.196","insertTime":1742045756,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045733,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045733,"endTime":1742045756,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1046
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1046
            [uid] => u595
            [unique_id] => 36075_1046_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045726
            [channelDTime] => 1742045756
            [channelDuration] => 30
            [cSTime] => 1742045733
            [cETime] => 1742045756
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07038904230
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045756
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045733
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045733
                                    [endTime] => 1742045756
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 390
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.19999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 64.56000000000076
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 390
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.19999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96472.0300000132
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045758
{"compaign_id":"36075","contact_id":"1043","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1043","uid":"u595","unique_id":"36075_1043_138-u595","ivrId":"3158","channelOTime":1742045726,"channelDTime":1742045758,"channelDuration":32,"cSTime":1742045733,"cETime":1742045758,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09781945975","server_ip":"118.185.137.196","insertTime":1742045758,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045728,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045733,"endTime":1742045752,"duration":19}],"#3":[{"startTime":1742045752,"endTime":1742045758,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1043
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1043
            [uid] => u595
            [unique_id] => 36075_1043_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045726
            [channelDTime] => 1742045758
            [channelDuration] => 32
            [cSTime] => 1742045733
            [cETime] => 1742045758
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09781945975
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045758
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045728
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045733
                                    [endTime] => 1742045752
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045752
                                    [endTime] => 1742045758
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 392
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.35999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 64.40000000000076
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 392
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.35999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96471.8700000132
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045760
{"compaign_id":"36075","contact_id":"1128","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1128","uid":"u595","unique_id":"36075_1128_138-u595","ivrId":"3158","channelOTime":1742045750,"channelDTime":1742045759,"channelDuration":9,"cSTime":1742045757,"cETime":1742045759,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06299471457","server_ip":"118.185.137.196","insertTime":1742045759,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045752,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1128
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1128
            [uid] => u595
            [unique_id] => 36075_1128_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045750
            [channelDTime] => 1742045759
            [channelDuration] => 9
            [cSTime] => 1742045757
            [cETime] => 1742045759
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06299471457
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045759
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045752
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 394
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.51999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 64.24000000000076
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 394
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.51999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96471.71000001319
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045761
{"compaign_id":"36075","contact_id":"1118","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1118","uid":"u595","unique_id":"36075_1118_138-u595","ivrId":"3158","channelOTime":1742045748,"channelDTime":1742045760,"channelDuration":12,"cSTime":1742045755,"cETime":1742045760,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09901962497","server_ip":"118.185.137.196","insertTime":1742045760,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045750,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1118
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1118
            [uid] => u595
            [unique_id] => 36075_1118_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045748
            [channelDTime] => 1742045760
            [channelDuration] => 12
            [cSTime] => 1742045755
            [cETime] => 1742045760
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09901962497
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045760
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045750
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 395
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.59999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 64.16000000000076
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 395
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.59999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96471.63000001319
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045762
{"compaign_id":"36075","contact_id":"1113","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1113","uid":"u595","unique_id":"36075_1113_138-u595","ivrId":"3158","channelOTime":1742045747,"channelDTime":1742045761,"channelDuration":14,"cSTime":1742045753,"cETime":1742045761,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06302132088","server_ip":"118.185.137.196","insertTime":1742045761,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045749,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1113
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1113
            [uid] => u595
            [unique_id] => 36075_1113_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045747
            [channelDTime] => 1742045761
            [channelDuration] => 14
            [cSTime] => 1742045753
            [cETime] => 1742045761
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06302132088
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045761
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045749
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 396
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.679999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 64.08000000000077
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 396
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.679999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96471.55000001319
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045763
2025-03-15 19:06:03[LOG]Starting Cron
2025-03-15 19:06:03[LOG]Process is already running
{"compaign_id":"36075","contact_id":"1040","total_duration":"27","answer_duration":27,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1040","uid":"u595","unique_id":"36075_1040_138-u595","ivrId":"3158","channelOTime":1742045725,"channelDTime":1742045762,"channelDuration":37,"cSTime":1742045735,"cETime":1742045762,"cDuration":27,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09140853653","server_ip":"118.185.137.196","insertTime":1742045762,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045726,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045735,"endTime":1742045756,"duration":21}],"#3":[{"startTime":1742045756,"endTime":1742045762,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1040
    [total_duration] => 27
    [answer_duration] => 27
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1040
            [uid] => u595
            [unique_id] => 36075_1040_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045725
            [channelDTime] => 1742045762
            [channelDuration] => 37
            [cSTime] => 1742045735
            [cETime] => 1742045762
            [cDuration] => 27
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09140853653
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045762
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045726
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045735
                                    [endTime] => 1742045756
                                    [duration] => 21
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045756
                                    [endTime] => 1742045762
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 397
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.759999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 64.00000000000077
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 397
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.759999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96471.47000001319
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045763
{"compaign_id":"36075","contact_id":"1123","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1123","uid":"u595","unique_id":"36075_1123_138-u595","ivrId":"3158","channelOTime":1742045749,"channelDTime":1742045765,"channelDuration":16,"cSTime":1742045762,"cETime":1742045765,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09641503889","server_ip":"118.185.137.196","insertTime":1742045765,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045751,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1123
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1123
            [uid] => u595
            [unique_id] => 36075_1123_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045749
            [channelDTime] => 1742045765
            [channelDuration] => 16
            [cSTime] => 1742045762
            [cETime] => 1742045765
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09641503889
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045765
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045751
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 399
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.919999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 63.84000000000077
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 399
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.919999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96471.31000001318
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045767
{"compaign_id":"36075","contact_id":"1058","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1058","uid":"u595","unique_id":"36075_1058_138-u595","ivrId":"3158","channelOTime":1742045729,"channelDTime":1742045767,"channelDuration":38,"cSTime":1742045744,"cETime":1742045767,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08003226220","server_ip":"118.185.137.196","insertTime":1742045767,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045732,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045744,"endTime":1742045767,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1058
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1058
            [uid] => u595
            [unique_id] => 36075_1058_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045729
            [channelDTime] => 1742045767
            [channelDuration] => 38
            [cSTime] => 1742045744
            [cETime] => 1742045767
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08003226220
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045767
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045732
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045744
                                    [endTime] => 1742045767
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 400
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.999999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 63.76000000000077
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 400
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 31.999999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96471.23000001318
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045769
{"compaign_id":"36075","contact_id":"1142","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1142","uid":"u595","unique_id":"36075_1142_138-u595","ivrId":"3158","channelOTime":1742045755,"channelDTime":1742045769,"channelDuration":14,"cSTime":1742045765,"cETime":1742045769,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08279892651","server_ip":"118.185.137.196","insertTime":1742045769,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045757,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1142
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1142
            [uid] => u595
            [unique_id] => 36075_1142_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045755
            [channelDTime] => 1742045769
            [channelDuration] => 14
            [cSTime] => 1742045765
            [cETime] => 1742045769
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08279892651
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045769
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045757
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 402
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.159999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 63.600000000000776
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 402
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.159999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96471.07000001318
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045770
{"compaign_id":"36075","contact_id":"1131","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1131","uid":"u595","unique_id":"36075_1131_138-u595","ivrId":"3158","channelOTime":1742045753,"channelDTime":1742045770,"channelDuration":17,"cSTime":1742045764,"cETime":1742045770,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08057303666","server_ip":"118.185.137.196","insertTime":1742045770,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045755,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1131
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1131
            [uid] => u595
            [unique_id] => 36075_1131_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045753
            [channelDTime] => 1742045770
            [channelDuration] => 17
            [cSTime] => 1742045764
            [cETime] => 1742045770
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08057303666
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045770
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045755
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 403
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.23999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 63.52000000000078
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 403
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.23999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96470.99000001317
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045772
{"compaign_id":"36075","contact_id":"1137","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1137","uid":"u595","unique_id":"36075_1137_138-u595","ivrId":"3158","channelOTime":1742045754,"channelDTime":1742045772,"channelDuration":18,"cSTime":1742045768,"cETime":1742045772,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07637957774","server_ip":"118.185.137.196","insertTime":1742045772,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045757,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1137
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1137
            [uid] => u595
            [unique_id] => 36075_1137_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045754
            [channelDTime] => 1742045772
            [channelDuration] => 18
            [cSTime] => 1742045768
            [cETime] => 1742045772
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07637957774
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045772
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045757
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 404
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.31999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 63.44000000000078
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 404
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.31999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96470.91000001317
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045774
{"compaign_id":"36075","contact_id":"1096","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1096","uid":"u595","unique_id":"36075_1096_138-u595","ivrId":"3158","channelOTime":1742045744,"channelDTime":1742045773,"channelDuration":29,"cSTime":1742045756,"cETime":1742045773,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09779140515","server_ip":"118.185.137.196","insertTime":1742045773,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045745,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1096
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1096
            [uid] => u595
            [unique_id] => 36075_1096_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045744
            [channelDTime] => 1742045773
            [channelDuration] => 29
            [cSTime] => 1742045756
            [cETime] => 1742045773
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09779140515
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045773
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045745
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 405
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.39999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 63.36000000000078
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 405
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.39999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96470.83000001317
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045774
{"compaign_id":"36075","contact_id":"1173","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1173","uid":"u595","unique_id":"36075_1173_138-u595","ivrId":"3158","channelOTime":1742045761,"channelDTime":1742045775,"channelDuration":14,"cSTime":1742045767,"cETime":1742045775,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08800309021","server_ip":"118.185.137.196","insertTime":1742045775,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045763,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1173
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1173
            [uid] => u595
            [unique_id] => 36075_1173_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045761
            [channelDTime] => 1742045775
            [channelDuration] => 14
            [cSTime] => 1742045767
            [cETime] => 1742045775
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08800309021
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045775
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045763
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 407
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.559999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 63.200000000000784
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 407
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.559999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96470.67000001317
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045776
{"compaign_id":"36075","contact_id":"1196","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1196","uid":"u595","unique_id":"36075_1196_138-u595","ivrId":"3158","channelOTime":1742045767,"channelDTime":1742045776,"channelDuration":9,"cSTime":1742045773,"cETime":1742045776,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07739103797","server_ip":"118.185.137.196","insertTime":1742045776,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045769,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1196
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1196
            [uid] => u595
            [unique_id] => 36075_1196_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045767
            [channelDTime] => 1742045776
            [channelDuration] => 9
            [cSTime] => 1742045773
            [cETime] => 1742045776
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07739103797
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045776
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045769
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 408
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.639999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 63.120000000000786
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 408
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.639999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96470.59000001317
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045777
{"compaign_id":"36075","contact_id":"1143","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1143","uid":"u595","unique_id":"36075_1143_138-u595","ivrId":"3158","channelOTime":1742045755,"channelDTime":1742045777,"channelDuration":22,"cSTime":1742045765,"cETime":1742045777,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08953230854","server_ip":"118.185.137.196","insertTime":1742045777,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045757,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1143
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1143
            [uid] => u595
            [unique_id] => 36075_1143_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045755
            [channelDTime] => 1742045777
            [channelDuration] => 22
            [cSTime] => 1742045765
            [cETime] => 1742045777
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08953230854
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045777
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045757
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 409
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.71999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 63.04000000000079
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 409
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.71999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96470.51000001316
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045778
{"compaign_id":"36075","contact_id":"1114","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1114","uid":"u595","unique_id":"36075_1114_138-u595","ivrId":"3158","channelOTime":1742045747,"channelDTime":1742045777,"channelDuration":30,"cSTime":1742045760,"cETime":1742045777,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07010563557","server_ip":"118.185.137.196","insertTime":1742045777,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045749,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1114
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1114
            [uid] => u595
            [unique_id] => 36075_1114_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045747
            [channelDTime] => 1742045777
            [channelDuration] => 30
            [cSTime] => 1742045760
            [cETime] => 1742045777
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07010563557
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045777
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045749
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 410
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.79999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 62.96000000000079
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 410
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.79999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96470.43000001316
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045779
{"compaign_id":"36075","contact_id":"1181","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1181","uid":"u595","unique_id":"36075_1181_138-u595","ivrId":"3158","channelOTime":1742045764,"channelDTime":1742045777,"channelDuration":13,"cSTime":1742045774,"cETime":1742045777,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07096419897","server_ip":"118.185.137.196","insertTime":1742045777,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045765,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1181
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1181
            [uid] => u595
            [unique_id] => 36075_1181_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045764
            [channelDTime] => 1742045777
            [channelDuration] => 13
            [cSTime] => 1742045774
            [cETime] => 1742045777
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07096419897
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045777
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045765
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 412
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.95999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 62.80000000000079
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 412
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 32.95999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96470.27000001316
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045779
{"compaign_id":"36075","contact_id":"1187","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1187","uid":"u595","unique_id":"36075_1187_138-u595","ivrId":"3158","channelOTime":1742045766,"channelDTime":1742045777,"channelDuration":11,"cSTime":1742045774,"cETime":1742045777,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07304138629","server_ip":"118.185.137.196","insertTime":1742045777,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045767,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1187
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1187
            [uid] => u595
            [unique_id] => 36075_1187_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045766
            [channelDTime] => 1742045777
            [channelDuration] => 11
            [cSTime] => 1742045774
            [cETime] => 1742045777
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07304138629
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045777
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045767
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 413
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.039999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 62.720000000000795
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 413
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.039999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96470.19000001316
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045779
{"compaign_id":"36075","contact_id":"1108","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1108","uid":"u595","unique_id":"36075_1108_138-u595","ivrId":"3158","channelOTime":1742045746,"channelDTime":1742045778,"channelDuration":32,"cSTime":1742045759,"cETime":1742045778,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09503148639","server_ip":"118.185.137.196","insertTime":1742045778,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045749,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1108
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1108
            [uid] => u595
            [unique_id] => 36075_1108_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045746
            [channelDTime] => 1742045778
            [channelDuration] => 32
            [cSTime] => 1742045759
            [cETime] => 1742045778
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09503148639
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045778
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045749
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 414
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.119999999999834
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 62.640000000000796
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 414
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.119999999999834
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96470.11000001316
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045780
{"compaign_id":"36075","contact_id":"1167","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1167","uid":"u595","unique_id":"36075_1167_138-u595","ivrId":"3158","channelOTime":1742045760,"channelDTime":1742045779,"channelDuration":19,"cSTime":1742045769,"cETime":1742045779,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07723849483","server_ip":"118.185.137.196","insertTime":1742045779,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045763,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1167
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1167
            [uid] => u595
            [unique_id] => 36075_1167_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045760
            [channelDTime] => 1742045779
            [channelDuration] => 19
            [cSTime] => 1742045769
            [cETime] => 1742045779
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07723849483
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045779
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045763
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 416
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.27999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 62.4800000000008
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 416
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.27999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96469.95000001315
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045780
{"compaign_id":"36075","contact_id":"1169","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1169","uid":"u595","unique_id":"36075_1169_138-u595","ivrId":"3158","channelOTime":1742045760,"channelDTime":1742045780,"channelDuration":20,"cSTime":1742045771,"cETime":1742045780,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08529915114","server_ip":"118.185.137.196","insertTime":1742045780,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045763,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1169
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1169
            [uid] => u595
            [unique_id] => 36075_1169_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045760
            [channelDTime] => 1742045780
            [channelDuration] => 20
            [cSTime] => 1742045771
            [cETime] => 1742045780
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08529915114
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045780
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045763
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 417
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.35999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 62.4000000000008
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 417
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.35999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96469.87000001315
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045781
{"compaign_id":"36075","contact_id":"1102","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1102","uid":"u595","unique_id":"36075_1102_138-u595","ivrId":"3158","channelOTime":1742045745,"channelDTime":1742045782,"channelDuration":37,"cSTime":1742045757,"cETime":1742045782,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09794478961","server_ip":"118.185.137.196","insertTime":1742045782,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045748,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045757,"endTime":1742045776,"duration":19}],"#3":[{"startTime":1742045776,"endTime":1742045782,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1102
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1102
            [uid] => u595
            [unique_id] => 36075_1102_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045745
            [channelDTime] => 1742045782
            [channelDuration] => 37
            [cSTime] => 1742045757
            [cETime] => 1742045782
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09794478961
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045782
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045748
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045757
                                    [endTime] => 1742045776
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045776
                                    [endTime] => 1742045782
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 418
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.43999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 62.3200000000008
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 418
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.43999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96469.79000001315
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045783
{"compaign_id":"36075","contact_id":"1160","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1160","uid":"u595","unique_id":"36075_1160_138-u595","ivrId":"3158","channelOTime":1742045758,"channelDTime":1742045782,"channelDuration":24,"cSTime":1742045779,"cETime":1742045782,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09064667675","server_ip":"118.185.137.196","insertTime":1742045782,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045761,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1160
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1160
            [uid] => u595
            [unique_id] => 36075_1160_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045758
            [channelDTime] => 1742045782
            [channelDuration] => 24
            [cSTime] => 1742045779
            [cETime] => 1742045782
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09064667675
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045782
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045761
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 420
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.599999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 62.16000000000081
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 420
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.599999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96469.63000001315
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045784
{"compaign_id":"36075","contact_id":"1083","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1083","uid":"u595","unique_id":"36075_1083_138-u595","ivrId":"3158","channelOTime":1742045741,"channelDTime":1742045782,"channelDuration":41,"cSTime":1742045759,"cETime":1742045782,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08660490770","server_ip":"118.185.137.196","insertTime":1742045782,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045743,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045759,"endTime":1742045782,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1083
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1083
            [uid] => u595
            [unique_id] => 36075_1083_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045741
            [channelDTime] => 1742045782
            [channelDuration] => 41
            [cSTime] => 1742045759
            [cETime] => 1742045782
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08660490770
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045782
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045743
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045759
                                    [endTime] => 1742045782
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 421
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.67999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 62.08000000000081
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 421
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.67999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96469.55000001314
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045784
{"compaign_id":"36075","contact_id":"1097","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1097","uid":"u595","unique_id":"36075_1097_138-u595","ivrId":"3158","channelOTime":1742045744,"channelDTime":1742045783,"channelDuration":39,"cSTime":1742045759,"cETime":1742045783,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07295924096","server_ip":"118.185.137.196","insertTime":1742045783,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045747,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045759,"endTime":1742045783,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1097
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1097
            [uid] => u595
            [unique_id] => 36075_1097_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045744
            [channelDTime] => 1742045783
            [channelDuration] => 39
            [cSTime] => 1742045759
            [cETime] => 1742045783
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07295924096
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045783
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045747
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045759
                                    [endTime] => 1742045783
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 423
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.83999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 61.92000000000081
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 423
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.83999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96469.39000001314
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045784
{"compaign_id":"36075","contact_id":"1228","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1228","uid":"u595","unique_id":"36075_1228_138-u595","ivrId":"3158","channelOTime":1742045774,"channelDTime":1742045783,"channelDuration":9,"cSTime":1742045781,"cETime":1742045783,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09638649616","server_ip":"118.185.137.196","insertTime":1742045783,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045777,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1228
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1228
            [uid] => u595
            [unique_id] => 36075_1228_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045774
            [channelDTime] => 1742045783
            [channelDuration] => 9
            [cSTime] => 1742045781
            [cETime] => 1742045783
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09638649616
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045783
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045777
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 425
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.999999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 61.760000000000815
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 425
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 33.999999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96469.23000001314
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045785
{"compaign_id":"36075","contact_id":"1109","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1109","uid":"u595","unique_id":"36075_1109_138-u595","ivrId":"3158","channelOTime":1742045746,"channelDTime":1742045784,"channelDuration":38,"cSTime":1742045767,"cETime":1742045784,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06006512320","server_ip":"118.185.137.196","insertTime":1742045784,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045749,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1109
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1109
            [uid] => u595
            [unique_id] => 36075_1109_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045746
            [channelDTime] => 1742045784
            [channelDuration] => 38
            [cSTime] => 1742045767
            [cETime] => 1742045784
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06006512320
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045784
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045749
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 426
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.079999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 61.68000000000082
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 426
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.079999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96469.15000001313
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045786
{"compaign_id":"36075","contact_id":"1218","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1218","uid":"u595","unique_id":"36075_1218_138-u595","ivrId":"3158","channelOTime":1742045772,"channelDTime":1742045785,"channelDuration":13,"cSTime":1742045779,"cETime":1742045785,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08445932037","server_ip":"118.185.137.196","insertTime":1742045785,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045774,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1218
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1218
            [uid] => u595
            [unique_id] => 36075_1218_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045772
            [channelDTime] => 1742045785
            [channelDuration] => 13
            [cSTime] => 1742045779
            [cETime] => 1742045785
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08445932037
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045785
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045774
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 428
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.23999999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 61.52000000000082
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 428
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.23999999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96468.99000001313
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045787
{"compaign_id":"36075","contact_id":"1164","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1164","uid":"u595","unique_id":"36075_1164_138-u595","ivrId":"3158","channelOTime":1742045759,"channelDTime":1742045787,"channelDuration":28,"cSTime":1742045777,"cETime":1742045787,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07070774571","server_ip":"118.185.137.196","insertTime":1742045787,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045763,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1164
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1164
            [uid] => u595
            [unique_id] => 36075_1164_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045759
            [channelDTime] => 1742045787
            [channelDuration] => 28
            [cSTime] => 1742045777
            [cETime] => 1742045787
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07070774571
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045787
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045763
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 429
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.31999999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 61.44000000000082
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 429
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.31999999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96468.91000001313
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045788
{"compaign_id":"36075","contact_id":"1200","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1200","uid":"u595","unique_id":"36075_1200_138-u595","ivrId":"3158","channelOTime":1742045768,"channelDTime":1742045787,"channelDuration":19,"cSTime":1742045784,"cETime":1742045787,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07248161371","server_ip":"118.185.137.196","insertTime":1742045787,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045769,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1200
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1200
            [uid] => u595
            [unique_id] => 36075_1200_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045768
            [channelDTime] => 1742045787
            [channelDuration] => 19
            [cSTime] => 1742045784
            [cETime] => 1742045787
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07248161371
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045787
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045769
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 430
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.39999999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 61.360000000000824
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 430
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.39999999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96468.83000001313
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045788
{"compaign_id":"36075","contact_id":"1104","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1104","uid":"u595","unique_id":"36075_1104_138-u595","ivrId":"3158","channelOTime":1742045745,"channelDTime":1742045788,"channelDuration":43,"cSTime":1742045765,"cETime":1742045788,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09540890361","server_ip":"118.185.137.196","insertTime":1742045788,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045748,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045765,"endTime":1742045788,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1104
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1104
            [uid] => u595
            [unique_id] => 36075_1104_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045745
            [channelDTime] => 1742045788
            [channelDuration] => 43
            [cSTime] => 1742045765
            [cETime] => 1742045788
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09540890361
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045788
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045748
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045765
                                    [endTime] => 1742045788
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 431
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.479999999999805
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 61.280000000000825
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 431
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.479999999999805
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96468.75000001313
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045790
{"compaign_id":"36075","contact_id":"1205","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1205","uid":"u595","unique_id":"36075_1205_138-u595","ivrId":"3158","channelOTime":1742045769,"channelDTime":1742045788,"channelDuration":19,"cSTime":1742045780,"cETime":1742045788,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06396884978","server_ip":"118.185.137.196","insertTime":1742045788,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045771,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1205
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1205
            [uid] => u595
            [unique_id] => 36075_1205_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045769
            [channelDTime] => 1742045788
            [channelDuration] => 19
            [cSTime] => 1742045780
            [cETime] => 1742045788
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06396884978
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045788
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045771
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 433
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.6399999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 61.12000000000083
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 433
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.6399999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96468.59000001312
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045790
{"compaign_id":"36075","contact_id":"1217","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1217","uid":"u595","unique_id":"36075_1217_138-u595","ivrId":"3158","channelOTime":1742045772,"channelDTime":1742045789,"channelDuration":17,"cSTime":1742045784,"cETime":1742045789,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09848131106","server_ip":"118.185.137.196","insertTime":1742045789,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045773,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1217
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1217
            [uid] => u595
            [unique_id] => 36075_1217_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045772
            [channelDTime] => 1742045789
            [channelDuration] => 17
            [cSTime] => 1742045784
            [cETime] => 1742045789
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09848131106
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045789
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045773
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 434
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.7199999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 61.04000000000083
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 434
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.7199999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96468.51000001312
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045791
{"compaign_id":"36075","contact_id":"1221","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1221","uid":"u595","unique_id":"36075_1221_138-u595","ivrId":"3158","channelOTime":1742045772,"channelDTime":1742045790,"channelDuration":18,"cSTime":1742045779,"cETime":1742045790,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09361744742","server_ip":"118.185.137.196","insertTime":1742045790,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045774,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1221
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1221
            [uid] => u595
            [unique_id] => 36075_1221_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045772
            [channelDTime] => 1742045790
            [channelDuration] => 18
            [cSTime] => 1742045779
            [cETime] => 1742045790
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09361744742
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045790
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045774
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 435
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.7999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 60.96000000000083
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 435
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.7999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96468.43000001312
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045792
{"compaign_id":"36075","contact_id":"1207","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1207","uid":"u595","unique_id":"36075_1207_138-u595","ivrId":"3158","channelOTime":1742045770,"channelDTime":1742045790,"channelDuration":20,"cSTime":1742045783,"cETime":1742045790,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09124002989","server_ip":"118.185.137.196","insertTime":1742045790,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045777,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1207
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1207
            [uid] => u595
            [unique_id] => 36075_1207_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045770
            [channelDTime] => 1742045790
            [channelDuration] => 20
            [cSTime] => 1742045783
            [cETime] => 1742045790
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09124002989
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045790
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045777
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 436
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.8799999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 60.880000000000834
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 436
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.8799999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96468.35000001312
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045792
{"compaign_id":"36075","contact_id":"1166","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1166","uid":"u595","unique_id":"36075_1166_138-u595","ivrId":"3158","channelOTime":1742045760,"channelDTime":1742045791,"channelDuration":31,"cSTime":1742045767,"cETime":1742045791,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06205099343","server_ip":"118.185.137.196","insertTime":1742045791,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045762,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045767,"endTime":1742045791,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1166
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1166
            [uid] => u595
            [unique_id] => 36075_1166_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045760
            [channelDTime] => 1742045791
            [channelDuration] => 31
            [cSTime] => 1742045767
            [cETime] => 1742045791
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06205099343
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045791
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045762
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045767
                                    [endTime] => 1742045791
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 437
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.959999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 60.800000000000836
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 437
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 34.959999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96468.27000001312
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045792
{"compaign_id":"36075","contact_id":"1237","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1237","uid":"u595","unique_id":"36075_1237_138-u595","ivrId":"3158","channelOTime":1742045777,"channelDTime":1742045791,"channelDuration":14,"cSTime":1742045788,"cETime":1742045791,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08794847067","server_ip":"118.185.137.196","insertTime":1742045791,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045781,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1237
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1237
            [uid] => u595
            [unique_id] => 36075_1237_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045777
            [channelDTime] => 1742045791
            [channelDuration] => 14
            [cSTime] => 1742045788
            [cETime] => 1742045791
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08794847067
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045791
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045781
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 439
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.11999999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 60.64000000000084
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 439
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.11999999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96468.11000001311
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045793
{"compaign_id":"36075","contact_id":"1191","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1191","uid":"u595","unique_id":"36075_1191_138-u595","ivrId":"3158","channelOTime":1742045766,"channelDTime":1742045792,"channelDuration":26,"cSTime":1742045774,"cETime":1742045792,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09982734852","server_ip":"118.185.137.196","insertTime":1742045792,"ivrData":{"#2":["0"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045767,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045774,"endTime":1742045792,"duration":18}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1191
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1191
            [uid] => u595
            [unique_id] => 36075_1191_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045766
            [channelDTime] => 1742045792
            [channelDuration] => 26
            [cSTime] => 1742045774
            [cETime] => 1742045792
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09982734852
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045792
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 0
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045767
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045774
                                    [endTime] => 1742045792
                                    [duration] => 18
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 440
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.19999999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 60.56000000000084
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 440
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.19999999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96468.03000001311
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045793
{"compaign_id":"36075","contact_id":"1172","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1172","uid":"u595","unique_id":"36075_1172_138-u595","ivrId":"3158","channelOTime":1742045761,"channelDTime":1742045794,"channelDuration":33,"cSTime":1742045774,"cETime":1742045794,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09304666122","server_ip":"118.185.137.196","insertTime":1742045794,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045764,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1172
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1172
            [uid] => u595
            [unique_id] => 36075_1172_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045761
            [channelDTime] => 1742045794
            [channelDuration] => 33
            [cSTime] => 1742045774
            [cETime] => 1742045794
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09304666122
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045794
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045764
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 442
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.359999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 60.400000000000844
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 442
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.359999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96467.8700000131
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045796
{"compaign_id":"36075","contact_id":"1165","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1165","uid":"u595","unique_id":"36075_1165_138-u595","ivrId":"3158","channelOTime":1742045759,"channelDTime":1742045795,"channelDuration":36,"cSTime":1742045788,"cETime":1742045795,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07992015161","server_ip":"118.185.137.196","insertTime":1742045795,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045762,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1165
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1165
            [uid] => u595
            [unique_id] => 36075_1165_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045759
            [channelDTime] => 1742045795
            [channelDuration] => 36
            [cSTime] => 1742045788
            [cETime] => 1742045795
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07992015161
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045795
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045762
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 444
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.51999999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 60.24000000000085
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 444
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.51999999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96467.7100000131
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045797
{"compaign_id":"36075","contact_id":"1194","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1194","uid":"u595","unique_id":"36075_1194_138-u595","ivrId":"3158","channelOTime":1742045767,"channelDTime":1742045797,"channelDuration":30,"cSTime":1742045776,"cETime":1742045797,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09347133142","server_ip":"118.185.137.196","insertTime":1742045797,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045769,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1194
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1194
            [uid] => u595
            [unique_id] => 36075_1194_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045767
            [channelDTime] => 1742045797
            [channelDuration] => 30
            [cSTime] => 1742045776
            [cETime] => 1742045797
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09347133142
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045797
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045769
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 445
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.59999999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 60.16000000000085
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 445
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.59999999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96467.6300000131
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045799
{"compaign_id":"36075","contact_id":"1203","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1203","uid":"u595","unique_id":"36075_1203_138-u595","ivrId":"3158","channelOTime":1742045769,"channelDTime":1742045797,"channelDuration":28,"cSTime":1742045781,"cETime":1742045797,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07098190622","server_ip":"118.185.137.196","insertTime":1742045797,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045770,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1203
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1203
            [uid] => u595
            [unique_id] => 36075_1203_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045769
            [channelDTime] => 1742045797
            [channelDuration] => 28
            [cSTime] => 1742045781
            [cETime] => 1742045797
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07098190622
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045797
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045770
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 447
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.75999999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 60.00000000000085
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 447
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.75999999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96467.4700000131
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045799
{"compaign_id":"36075","contact_id":"1236","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1236","uid":"u595","unique_id":"36075_1236_138-u595","ivrId":"3158","channelOTime":1742045777,"channelDTime":1742045799,"channelDuration":22,"cSTime":1742045796,"cETime":1742045799,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09859463797","server_ip":"118.185.137.196","insertTime":1742045799,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045779,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1236
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1236
            [uid] => u595
            [unique_id] => 36075_1236_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045777
            [channelDTime] => 1742045799
            [channelDuration] => 22
            [cSTime] => 1742045796
            [cETime] => 1742045799
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09859463797
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045799
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045779
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 449
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.919999999999774
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 59.840000000000856
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 449
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.919999999999774
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96467.3100000131
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045801
{"compaign_id":"36075","contact_id":"1258","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1258","uid":"u595","unique_id":"36075_1258_138-u595","ivrId":"3158","channelOTime":1742045782,"channelDTime":1742045800,"channelDuration":18,"cSTime":1742045792,"cETime":1742045800,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07461911742","server_ip":"118.185.137.196","insertTime":1742045800,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045787,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1258
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1258
            [uid] => u595
            [unique_id] => 36075_1258_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045782
            [channelDTime] => 1742045800
            [channelDuration] => 18
            [cSTime] => 1742045792
            [cETime] => 1742045800
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07461911742
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045800
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045787
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 450
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.99999999999977
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 59.76000000000086
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 450
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 35.99999999999977
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96467.23000001309
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045801
{"compaign_id":"36075","contact_id":"1264","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1264","uid":"u595","unique_id":"36075_1264_138-u595","ivrId":"3158","channelOTime":1742045783,"channelDTime":1742045800,"channelDuration":17,"cSTime":1742045798,"cETime":1742045800,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07042476453","server_ip":"118.185.137.196","insertTime":1742045800,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045786,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1264
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1264
            [uid] => u595
            [unique_id] => 36075_1264_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045783
            [channelDTime] => 1742045800
            [channelDuration] => 17
            [cSTime] => 1742045798
            [cETime] => 1742045800
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07042476453
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045800
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045786
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 451
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.07999999999977
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 59.68000000000086
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 451
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.07999999999977
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96467.15000001309
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045802
{"compaign_id":"36075","contact_id":"1259","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1259","uid":"u595","unique_id":"36075_1259_138-u595","ivrId":"3158","channelOTime":1742045782,"channelDTime":1742045801,"channelDuration":19,"cSTime":1742045794,"cETime":1742045801,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08541845812","server_ip":"118.185.137.196","insertTime":1742045801,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045785,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1259
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1259
            [uid] => u595
            [unique_id] => 36075_1259_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045782
            [channelDTime] => 1742045801
            [channelDuration] => 19
            [cSTime] => 1742045794
            [cETime] => 1742045801
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08541845812
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045801
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045785
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 452
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.15999999999977
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 59.60000000000086
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 452
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.15999999999977
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96467.07000001309
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045803
{"compaign_id":"36075","contact_id":"1287","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1287","uid":"u595","unique_id":"36075_1287_138-u595","ivrId":"3158","channelOTime":1742045789,"channelDTime":1742045802,"channelDuration":13,"cSTime":1742045795,"cETime":1742045802,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09518548213","server_ip":"118.185.137.196","insertTime":1742045802,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045791,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1287
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1287
            [uid] => u595
            [unique_id] => 36075_1287_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045789
            [channelDTime] => 1742045802
            [channelDuration] => 13
            [cSTime] => 1742045795
            [cETime] => 1742045802
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09518548213
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045802
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045791
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 453
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.23999999999977
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 59.52000000000086
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 453
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.23999999999977
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96466.99000001309
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045803
{"compaign_id":"36075","contact_id":"1293","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1293","uid":"u595","unique_id":"36075_1293_138-u595","ivrId":"3158","channelOTime":1742045791,"channelDTime":1742045802,"channelDuration":11,"cSTime":1742045800,"cETime":1742045802,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09301355947","server_ip":"118.185.137.196","insertTime":1742045802,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045793,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1293
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1293
            [uid] => u595
            [unique_id] => 36075_1293_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045791
            [channelDTime] => 1742045802
            [channelDuration] => 11
            [cSTime] => 1742045800
            [cETime] => 1742045802
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09301355947
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045802
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045793
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 454
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.319999999999766
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 59.440000000000865
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 454
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.319999999999766
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96466.91000001309
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045804
{"compaign_id":"36075","contact_id":"1249","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1249","uid":"u595","unique_id":"36075_1249_138-u595","ivrId":"3158","channelOTime":1742045780,"channelDTime":1742045803,"channelDuration":23,"cSTime":1742045794,"cETime":1742045803,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09307292752","server_ip":"118.185.137.196","insertTime":1742045803,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045785,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1249
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1249
            [uid] => u595
            [unique_id] => 36075_1249_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045780
            [channelDTime] => 1742045803
            [channelDuration] => 23
            [cSTime] => 1742045794
            [cETime] => 1742045803
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09307292752
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045803
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045785
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 455
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.399999999999764
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 59.360000000000866
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 455
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.399999999999764
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96466.83000001308
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045805
{"compaign_id":"36075","contact_id":"1298","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1298","uid":"u595","unique_id":"36075_1298_138-u595","ivrId":"3158","channelOTime":1742045792,"channelDTime":1742045804,"channelDuration":12,"cSTime":1742045802,"cETime":1742045804,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07021509043","server_ip":"118.185.137.196","insertTime":1742045804,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045793,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1298
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1298
            [uid] => u595
            [unique_id] => 36075_1298_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045792
            [channelDTime] => 1742045804
            [channelDuration] => 12
            [cSTime] => 1742045802
            [cETime] => 1742045804
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07021509043
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045804
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045793
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 456
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.47999999999976
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 59.28000000000087
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 456
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.47999999999976
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96466.75000001308
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045806
{"compaign_id":"36075","contact_id":"1197","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1197","uid":"u595","unique_id":"36075_1197_138-u595","ivrId":"3158","channelOTime":1742045768,"channelDTime":1742045804,"channelDuration":36,"cSTime":1742045781,"cETime":1742045804,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08802315542","server_ip":"118.185.137.196","insertTime":1742045804,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045770,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045781,"endTime":1742045804,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1197
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1197
            [uid] => u595
            [unique_id] => 36075_1197_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045768
            [channelDTime] => 1742045804
            [channelDuration] => 36
            [cSTime] => 1742045781
            [cETime] => 1742045804
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08802315542
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045804
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045770
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045781
                                    [endTime] => 1742045804
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 457
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.55999999999976
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 59.20000000000087
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 457
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.55999999999976
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96466.67000001308
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045806
{"compaign_id":"36075","contact_id":"1314","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1314","uid":"u595","unique_id":"36075_1314_138-u595","ivrId":"3158","channelOTime":1742045795,"channelDTime":1742045805,"channelDuration":10,"cSTime":1742045803,"cETime":1742045805,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09910924893","server_ip":"118.185.137.196","insertTime":1742045805,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045797,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1314
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1314
            [uid] => u595
            [unique_id] => 36075_1314_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045795
            [channelDTime] => 1742045805
            [channelDuration] => 10
            [cSTime] => 1742045803
            [cETime] => 1742045805
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09910924893
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045805
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045797
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 459
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.71999999999976
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 59.04000000000087
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 459
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.71999999999976
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96466.51000001308
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045807
{"compaign_id":"36075","contact_id":"1186","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1186","uid":"u595","unique_id":"36075_1186_138-u595","ivrId":"3158","channelOTime":1742045765,"channelDTime":1742045807,"channelDuration":42,"cSTime":1742045787,"cETime":1742045807,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08949681293","server_ip":"118.185.137.196","insertTime":1742045807,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045767,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1186
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1186
            [uid] => u595
            [unique_id] => 36075_1186_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045765
            [channelDTime] => 1742045807
            [channelDuration] => 42
            [cSTime] => 1742045787
            [cETime] => 1742045807
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08949681293
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045807
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045767
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 460
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.799999999999756
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 58.960000000000875
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 460
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.799999999999756
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96466.43000001308
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045809
{"compaign_id":"36075","contact_id":"1278","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1278","uid":"u595","unique_id":"36075_1278_138-u595","ivrId":"3158","channelOTime":1742045786,"channelDTime":1742045808,"channelDuration":22,"cSTime":1742045797,"cETime":1742045808,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06289672640","server_ip":"118.185.137.196","insertTime":1742045808,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045787,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1278
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1278
            [uid] => u595
            [unique_id] => 36075_1278_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045786
            [channelDTime] => 1742045808
            [channelDuration] => 22
            [cSTime] => 1742045797
            [cETime] => 1742045808
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06289672640
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045808
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045787
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 462
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.95999999999975
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 58.80000000000088
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 462
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 36.95999999999975
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96466.27000001307
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045809
{"compaign_id":"36075","contact_id":"1195","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1195","uid":"u595","unique_id":"36075_1195_138-u595","ivrId":"3158","channelOTime":1742045767,"channelDTime":1742045808,"channelDuration":41,"cSTime":1742045785,"cETime":1742045808,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07674831433","server_ip":"118.185.137.196","insertTime":1742045808,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045769,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045785,"endTime":1742045808,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1195
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1195
            [uid] => u595
            [unique_id] => 36075_1195_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045767
            [channelDTime] => 1742045808
            [channelDuration] => 41
            [cSTime] => 1742045785
            [cETime] => 1742045808
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07674831433
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045808
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045769
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045785
                                    [endTime] => 1742045808
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 463
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.03999999999975
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 58.72000000000088
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 463
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.03999999999975
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96466.19000001307
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045810
{"compaign_id":"36075","contact_id":"1250","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1250","uid":"u595","unique_id":"36075_1250_138-u595","ivrId":"3158","channelOTime":1742045780,"channelDTime":1742045808,"channelDuration":28,"cSTime":1742045794,"cETime":1742045808,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09911276323","server_ip":"118.185.137.196","insertTime":1742045808,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045782,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1250
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1250
            [uid] => u595
            [unique_id] => 36075_1250_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045780
            [channelDTime] => 1742045808
            [channelDuration] => 28
            [cSTime] => 1742045794
            [cETime] => 1742045808
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09911276323
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045808
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045782
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 465
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.19999999999975
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 58.56000000000088
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 465
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.19999999999975
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96466.03000001307
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045810
{"compaign_id":"36075","contact_id":"1257","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1257","uid":"u595","unique_id":"36075_1257_138-u595","ivrId":"3158","channelOTime":1742045781,"channelDTime":1742045808,"channelDuration":27,"cSTime":1742045799,"cETime":1742045808,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08587917691","server_ip":"118.185.137.196","insertTime":1742045808,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045785,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1257
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1257
            [uid] => u595
            [unique_id] => 36075_1257_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045781
            [channelDTime] => 1742045808
            [channelDuration] => 27
            [cSTime] => 1742045799
            [cETime] => 1742045808
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08587917691
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045808
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045785
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 466
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.279999999999745
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 58.480000000000885
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 466
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.279999999999745
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96465.95000001306
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045810
{"compaign_id":"36075","contact_id":"1270","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1270","uid":"u595","unique_id":"36075_1270_138-u595","ivrId":"3158","channelOTime":1742045784,"channelDTime":1742045809,"channelDuration":25,"cSTime":1742045805,"cETime":1742045809,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06290287741","server_ip":"118.185.137.196","insertTime":1742045809,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045786,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1270
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1270
            [uid] => u595
            [unique_id] => 36075_1270_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045784
            [channelDTime] => 1742045809
            [channelDuration] => 25
            [cSTime] => 1742045805
            [cETime] => 1742045809
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06290287741
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045809
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045786
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 467
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.359999999999744
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 58.40000000000089
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 467
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.359999999999744
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96465.87000001306
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045810
{"compaign_id":"36075","contact_id":"1288","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1288","uid":"u595","unique_id":"36075_1288_138-u595","ivrId":"3158","channelOTime":1742045790,"channelDTime":1742045811,"channelDuration":21,"cSTime":1742045804,"cETime":1742045811,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09834506994","server_ip":"118.185.137.196","insertTime":1742045811,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045792,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1288
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1288
            [uid] => u595
            [unique_id] => 36075_1288_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045790
            [channelDTime] => 1742045811
            [channelDuration] => 21
            [cSTime] => 1742045804
            [cETime] => 1742045811
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09834506994
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045811
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045792
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 468
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.43999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 58.32000000000089
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 468
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.43999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96465.79000001306
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045813
{"compaign_id":"36075","contact_id":"1300","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1300","uid":"u595","unique_id":"36075_1300_138-u595","ivrId":"3158","channelOTime":1742045792,"channelDTime":1742045812,"channelDuration":20,"cSTime":1742045807,"cETime":1742045812,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08431352162","server_ip":"118.185.137.196","insertTime":1742045812,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045795,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1300
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1300
            [uid] => u595
            [unique_id] => 36075_1300_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045792
            [channelDTime] => 1742045812
            [channelDuration] => 20
            [cSTime] => 1742045807
            [cETime] => 1742045812
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08431352162
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045812
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045795
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 469
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.51999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 58.24000000000089
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 469
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.51999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96465.71000001306
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045814
{"compaign_id":"36075","contact_id":"1296","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1296","uid":"u595","unique_id":"36075_1296_138-u595","ivrId":"3158","channelOTime":1742045791,"channelDTime":1742045813,"channelDuration":22,"cSTime":1742045810,"cETime":1742045813,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09817239267","server_ip":"118.185.137.196","insertTime":1742045813,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045793,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1296
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1296
            [uid] => u595
            [unique_id] => 36075_1296_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045791
            [channelDTime] => 1742045813
            [channelDuration] => 22
            [cSTime] => 1742045810
            [cETime] => 1742045813
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09817239267
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045813
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045793
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 470
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.59999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 58.16000000000089
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 470
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.59999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96465.63000001306
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045815
{"compaign_id":"36075","contact_id":"1272","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1272","uid":"u595","unique_id":"36075_1272_138-u595","ivrId":"3158","channelOTime":1742045784,"channelDTime":1742045814,"channelDuration":30,"cSTime":1742045797,"cETime":1742045814,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09006668587","server_ip":"118.185.137.196","insertTime":1742045814,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045787,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1272
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1272
            [uid] => u595
            [unique_id] => 36075_1272_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045784
            [channelDTime] => 1742045814
            [channelDuration] => 30
            [cSTime] => 1742045797
            [cETime] => 1742045814
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09006668587
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045814
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045787
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 471
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.67999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 58.080000000000894
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 471
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.67999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96465.55000001306
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045815
{"compaign_id":"36075","contact_id":"1285","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1285","uid":"u595","unique_id":"36075_1285_138-u595","ivrId":"3158","channelOTime":1742045789,"channelDTime":1742045816,"channelDuration":27,"cSTime":1742045792,"cETime":1742045816,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06393937337","server_ip":"118.185.137.196","insertTime":1742045816,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045790,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045792,"endTime":1742045816,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1285
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1285
            [uid] => u595
            [unique_id] => 36075_1285_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045789
            [channelDTime] => 1742045816
            [channelDuration] => 27
            [cSTime] => 1742045792
            [cETime] => 1742045816
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06393937337
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045816
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045790
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045792
                                    [endTime] => 1742045816
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 473
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.83999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 57.9200000000009
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 473
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.83999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96465.39000001305
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045817
{"compaign_id":"36075","contact_id":"1253","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1253","uid":"u595","unique_id":"36075_1253_138-u595","ivrId":"3158","channelOTime":1742045781,"channelDTime":1742045817,"channelDuration":36,"cSTime":1742045793,"cETime":1742045817,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09468295556","server_ip":"118.185.137.196","insertTime":1742045817,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045783,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045793,"endTime":1742045817,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1253
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1253
            [uid] => u595
            [unique_id] => 36075_1253_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045781
            [channelDTime] => 1742045817
            [channelDuration] => 36
            [cSTime] => 1742045793
            [cETime] => 1742045817
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09468295556
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045817
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045783
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045793
                                    [endTime] => 1742045817
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 475
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.99999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 57.7600000000009
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 475
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 37.99999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96465.23000001305
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045819
{"compaign_id":"36075","contact_id":"1304","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1304","uid":"u595","unique_id":"36075_1304_138-u595","ivrId":"3158","channelOTime":1742045793,"channelDTime":1742045818,"channelDuration":25,"cSTime":1742045803,"cETime":1742045818,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09985183798","server_ip":"118.185.137.196","insertTime":1742045818,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045795,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1304
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1304
            [uid] => u595
            [unique_id] => 36075_1304_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045793
            [channelDTime] => 1742045818
            [channelDuration] => 25
            [cSTime] => 1742045803
            [cETime] => 1742045818
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09985183798
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045818
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045795
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 477
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.15999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 57.600000000000904
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 477
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.15999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96465.07000001305
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045820
{"compaign_id":"36075","contact_id":"1307","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1307","uid":"u595","unique_id":"36075_1307_138-u595","ivrId":"3158","channelOTime":1742045793,"channelDTime":1742045819,"channelDuration":26,"cSTime":1742045811,"cETime":1742045819,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09505975045","server_ip":"118.185.137.196","insertTime":1742045819,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045795,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1307
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1307
            [uid] => u595
            [unique_id] => 36075_1307_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045793
            [channelDTime] => 1742045819
            [channelDuration] => 26
            [cSTime] => 1742045811
            [cETime] => 1742045819
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09505975045
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045819
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045795
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 478
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.239999999999725
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 57.520000000000906
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 478
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.239999999999725
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96464.99000001304
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045820
{"compaign_id":"36075","contact_id":"1330","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1330","uid":"u595","unique_id":"36075_1330_138-u595","ivrId":"3158","channelOTime":1742045800,"channelDTime":1742045819,"channelDuration":19,"cSTime":1742045807,"cETime":1742045819,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08431116841","server_ip":"118.185.137.196","insertTime":1742045819,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045801,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1330
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1330
            [uid] => u595
            [unique_id] => 36075_1330_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045800
            [channelDTime] => 1742045819
            [channelDuration] => 19
            [cSTime] => 1742045807
            [cETime] => 1742045819
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08431116841
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045819
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045801
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 479
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.31999999999972
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 57.44000000000091
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 479
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.31999999999972
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96464.91000001304
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045821
{"compaign_id":"36075","contact_id":"1239","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1239","uid":"u595","unique_id":"36075_1239_138-u595","ivrId":"3158","channelOTime":1742045778,"channelDTime":1742045820,"channelDuration":42,"cSTime":1742045796,"cETime":1742045820,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09326659256","server_ip":"118.185.137.196","insertTime":1742045820,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045781,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045796,"endTime":1742045820,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1239
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1239
            [uid] => u595
            [unique_id] => 36075_1239_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045778
            [channelDTime] => 1742045820
            [channelDuration] => 42
            [cSTime] => 1742045796
            [cETime] => 1742045820
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09326659256
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045820
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045781
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045796
                                    [endTime] => 1742045820
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 480
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.39999999999972
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 57.36000000000091
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 480
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.39999999999972
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96464.83000001304
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045821
{"compaign_id":"36075","contact_id":"1370","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1370","uid":"u595","unique_id":"36075_1370_138-u595","ivrId":"3158","channelOTime":1742045808,"channelDTime":1742045821,"channelDuration":13,"cSTime":1742045817,"cETime":1742045821,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08126493698","server_ip":"118.185.137.196","insertTime":1742045821,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045811,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1370
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1370
            [uid] => u595
            [unique_id] => 36075_1370_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045808
            [channelDTime] => 1742045821
            [channelDuration] => 13
            [cSTime] => 1742045817
            [cETime] => 1742045821
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08126493698
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045821
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045811
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found 2025-03-15 19:07:02[LOG]Starting Cron
2025-03-15 19:07:02[LOG]Process is already running
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 482
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.55999999999972
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 57.20000000000091
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 482
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.55999999999972
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96464.67000001304
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045822
{"compaign_id":"36075","contact_id":"1376","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1376","uid":"u595","unique_id":"36075_1376_138-u595","ivrId":"3158","channelOTime":1742045809,"channelDTime":1742045822,"channelDuration":13,"cSTime":1742045818,"cETime":1742045822,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07738110645","server_ip":"118.185.137.196","insertTime":1742045822,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045810,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1376
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1376
            [uid] => u595
            [unique_id] => 36075_1376_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045809
            [channelDTime] => 1742045822
            [channelDuration] => 13
            [cSTime] => 1742045818
            [cETime] => 1742045822
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07738110645
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045822
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045810
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 483
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.639999999999716
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 57.120000000000914
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 483
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.639999999999716
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96464.59000001304
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045824
{"compaign_id":"36075","contact_id":"1329","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1329","uid":"u595","unique_id":"36075_1329_138-u595","ivrId":"3158","channelOTime":1742045798,"channelDTime":1742045823,"channelDuration":25,"cSTime":1742045806,"cETime":1742045823,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08770434295","server_ip":"118.185.137.196","insertTime":1742045823,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045799,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1329
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1329
            [uid] => u595
            [unique_id] => 36075_1329_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045798
            [channelDTime] => 1742045823
            [channelDuration] => 25
            [cSTime] => 1742045806
            [cETime] => 1742045823
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08770434295
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045823
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045799
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 484
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.719999999999715
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 57.040000000000916
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 484
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.719999999999715
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96464.51000001303
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045824
{"compaign_id":"36075","contact_id":"1325","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1325","uid":"u595","unique_id":"36075_1325_138-u595","ivrId":"3158","channelOTime":1742045797,"channelDTime":1742045825,"channelDuration":28,"cSTime":1742045817,"cETime":1742045825,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08081314205","server_ip":"118.185.137.196","insertTime":1742045825,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045806,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1325
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1325
            [uid] => u595
            [unique_id] => 36075_1325_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045797
            [channelDTime] => 1742045825
            [channelDuration] => 28
            [cSTime] => 1742045817
            [cETime] => 1742045825
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08081314205
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045825
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045806
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 486
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.87999999999971
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 56.88000000000092
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 486
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.87999999999971
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96464.35000001303
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045826
{"compaign_id":"36075","contact_id":"1381","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1381","uid":"u595","unique_id":"36075_1381_138-u595","ivrId":"3158","channelOTime":1742045812,"channelDTime":1742045826,"channelDuration":14,"cSTime":1742045822,"cETime":1742045826,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09998614212","server_ip":"118.185.137.196","insertTime":1742045826,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045813,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1381
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1381
            [uid] => u595
            [unique_id] => 36075_1381_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045812
            [channelDTime] => 1742045826
            [channelDuration] => 14
            [cSTime] => 1742045822
            [cETime] => 1742045826
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09998614212
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045826
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045813
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 487
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.95999999999971
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 56.80000000000092
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 487
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 38.95999999999971
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96464.27000001303
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045827
{"compaign_id":"36075","contact_id":"1312","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1312","uid":"u595","unique_id":"36075_1312_138-u595","ivrId":"3158","channelOTime":1742045794,"channelDTime":1742045826,"channelDuration":32,"cSTime":1742045821,"cETime":1742045826,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09381420995","server_ip":"118.185.137.196","insertTime":1742045826,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045799,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1312
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1312
            [uid] => u595
            [unique_id] => 36075_1312_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045794
            [channelDTime] => 1742045826
            [channelDuration] => 32
            [cSTime] => 1742045821
            [cETime] => 1742045826
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09381420995
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045826
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045799
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 488
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.03999999999971
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 56.72000000000092
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 488
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.03999999999971
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96464.19000001303
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045828
{"compaign_id":"36075","contact_id":"1267","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1267","uid":"u595","unique_id":"36075_1267_138-u595","ivrId":"3158","channelOTime":1742045783,"channelDTime":1742045826,"channelDuration":43,"cSTime":1742045803,"cETime":1742045826,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09101270366","server_ip":"118.185.137.196","insertTime":1742045826,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045785,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045803,"endTime":1742045826,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1267
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1267
            [uid] => u595
            [unique_id] => 36075_1267_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045783
            [channelDTime] => 1742045826
            [channelDuration] => 43
            [cSTime] => 1742045803
            [cETime] => 1742045826
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09101270366
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045826
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045785
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045803
                                    [endTime] => 1742045826
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 489
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.119999999999706
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 56.640000000000924
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 489
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.119999999999706
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96464.11000001302
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045828
{"compaign_id":"36075","contact_id":"1340","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1340","uid":"u595","unique_id":"36075_1340_138-u595","ivrId":"3158","channelOTime":1742045802,"channelDTime":1742045826,"channelDuration":24,"cSTime":1742045813,"cETime":1742045826,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08918870387","server_ip":"118.185.137.196","insertTime":1742045826,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045804,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1340
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1340
            [uid] => u595
            [unique_id] => 36075_1340_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045802
            [channelDTime] => 1742045826
            [channelDuration] => 24
            [cSTime] => 1742045813
            [cETime] => 1742045826
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08918870387
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045826
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045804
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 491
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.2799999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 56.48000000000093
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 491
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.2799999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96463.95000001302
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045828
{"compaign_id":"36075","contact_id":"1316","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1316","uid":"u595","unique_id":"36075_1316_138-u595","ivrId":"3158","channelOTime":1742045795,"channelDTime":1742045827,"channelDuration":32,"cSTime":1742045825,"cETime":1742045827,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06204927545","server_ip":"118.185.137.196","insertTime":1742045827,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045799,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1316
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1316
            [uid] => u595
            [unique_id] => 36075_1316_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045795
            [channelDTime] => 1742045827
            [channelDuration] => 32
            [cSTime] => 1742045825
            [cETime] => 1742045827
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06204927545
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045827
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045799
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 492
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.3599999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 56.40000000000093
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 492
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.3599999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96463.87000001302
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045829
{"compaign_id":"36075","contact_id":"1275","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1275","uid":"u595","unique_id":"36075_1275_138-u595","ivrId":"3158","channelOTime":1742045785,"channelDTime":1742045829,"channelDuration":44,"cSTime":1742045806,"cETime":1742045829,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09177204657","server_ip":"118.185.137.196","insertTime":1742045829,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045788,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045806,"endTime":1742045829,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1275
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1275
            [uid] => u595
            [unique_id] => 36075_1275_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045785
            [channelDTime] => 1742045829
            [channelDuration] => 44
            [cSTime] => 1742045806
            [cETime] => 1742045829
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09177204657
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045829
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045788
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045806
                                    [endTime] => 1742045829
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 493
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.4399999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 56.32000000000093
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 493
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.4399999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96463.79000001302
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045831
{"compaign_id":"36075","contact_id":"1352","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1352","uid":"u595","unique_id":"36075_1352_138-u595","ivrId":"3158","channelOTime":1742045804,"channelDTime":1742045829,"channelDuration":25,"cSTime":1742045820,"cETime":1742045829,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09016173577","server_ip":"118.185.137.196","insertTime":1742045829,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045806,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1352
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1352
            [uid] => u595
            [unique_id] => 36075_1352_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045804
            [channelDTime] => 1742045829
            [channelDuration] => 25
            [cSTime] => 1742045820
            [cETime] => 1742045829
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09016173577
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045829
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045806
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 495
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.599999999999696
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 56.160000000000935
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 495
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.599999999999696
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96463.63000001301
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045831
{"compaign_id":"36075","contact_id":"1350","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1350","uid":"u595","unique_id":"36075_1350_138-u595","ivrId":"3158","channelOTime":1742045804,"channelDTime":1742045830,"channelDuration":26,"cSTime":1742045819,"cETime":1742045830,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08618018405","server_ip":"118.185.137.196","insertTime":1742045830,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045806,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1350
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1350
            [uid] => u595
            [unique_id] => 36075_1350_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045804
            [channelDTime] => 1742045830
            [channelDuration] => 26
            [cSTime] => 1742045819
            [cETime] => 1742045830
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08618018405
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045830
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045806
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 496
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.679999999999694
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 56.080000000000936
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 496
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.679999999999694
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96463.55000001301
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045831
{"compaign_id":"36075","contact_id":"1383","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1383","uid":"u595","unique_id":"36075_1383_138-u595","ivrId":"3158","channelOTime":1742045812,"channelDTime":1742045831,"channelDuration":19,"cSTime":1742045819,"cETime":1742045831,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09387362262","server_ip":"118.185.137.196","insertTime":1742045831,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045814,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1383
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1383
            [uid] => u595
            [unique_id] => 36075_1383_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045812
            [channelDTime] => 1742045831
            [channelDuration] => 19
            [cSTime] => 1742045819
            [cETime] => 1742045831
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09387362262
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045831
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045814
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 497
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.75999999999969
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 56.00000000000094
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 497
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.75999999999969
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96463.47000001301
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045832
{"compaign_id":"36075","contact_id":"1333","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1333","uid":"u595","unique_id":"36075_1333_138-u595","ivrId":"3158","channelOTime":1742045800,"channelDTime":1742045831,"channelDuration":31,"cSTime":1742045821,"cETime":1742045831,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06294191320","server_ip":"118.185.137.196","insertTime":1742045831,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045802,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1333
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1333
            [uid] => u595
            [unique_id] => 36075_1333_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045800
            [channelDTime] => 1742045831
            [channelDuration] => 31
            [cSTime] => 1742045821
            [cETime] => 1742045831
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06294191320
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045831
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045802
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 498
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.83999999999969
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 55.92000000000094
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 498
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.83999999999969
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96463.39000001301
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045833
{"compaign_id":"36075","contact_id":"1342","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1342","uid":"u595","unique_id":"36075_1342_138-u595","ivrId":"3158","channelOTime":1742045802,"channelDTime":1742045832,"channelDuration":30,"cSTime":1742045808,"cETime":1742045832,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09336055182","server_ip":"118.185.137.196","insertTime":1742045832,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045805,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045808,"endTime":1742045832,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1342
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1342
            [uid] => u595
            [unique_id] => 36075_1342_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045802
            [channelDTime] => 1742045832
            [channelDuration] => 30
            [cSTime] => 1742045808
            [cETime] => 1742045832
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09336055182
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045832
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045805
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045808
                                    [endTime] => 1742045832
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 499
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.91999999999969
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 55.84000000000094
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 499
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 39.91999999999969
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96463.310000013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045833
{"compaign_id":"36075","contact_id":"1396","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1396","uid":"u595","unique_id":"36075_1396_138-u595","ivrId":"3158","channelOTime":1742045815,"channelDTime":1742045832,"channelDuration":17,"cSTime":1742045829,"cETime":1742045832,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06200790366","server_ip":"118.185.137.196","insertTime":1742045832,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045816,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1396
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1396
            [uid] => u595
            [unique_id] => 36075_1396_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045815
            [channelDTime] => 1742045832
            [channelDuration] => 17
            [cSTime] => 1742045829
            [cETime] => 1742045832
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06200790366
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045832
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045816
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 501
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.079999999999686
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 55.680000000000945
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 501
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.079999999999686
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96463.150000013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045834
{"compaign_id":"36075","contact_id":"1292","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1292","uid":"u595","unique_id":"36075_1292_138-u595","ivrId":"3158","channelOTime":1742045790,"channelDTime":1742045832,"channelDuration":42,"cSTime":1742045809,"cETime":1742045832,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09000722111","server_ip":"118.185.137.196","insertTime":1742045832,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045793,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045809,"endTime":1742045832,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1292
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1292
            [uid] => u595
            [unique_id] => 36075_1292_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045790
            [channelDTime] => 1742045832
            [channelDuration] => 42
            [cSTime] => 1742045809
            [cETime] => 1742045832
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09000722111
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045832
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045793
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045809
                                    [endTime] => 1742045832
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 502
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.159999999999684
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 55.600000000000946
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 502
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.159999999999684
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96463.070000013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045834
{"compaign_id":"36075","contact_id":"1392","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1392","uid":"u595","unique_id":"36075_1392_138-u595","ivrId":"3158","channelOTime":1742045814,"channelDTime":1742045832,"channelDuration":18,"cSTime":1742045825,"cETime":1742045832,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07993173676","server_ip":"118.185.137.196","insertTime":1742045832,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045816,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1392
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1392
            [uid] => u595
            [unique_id] => 36075_1392_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045814
            [channelDTime] => 1742045832
            [channelDuration] => 18
            [cSTime] => 1742045825
            [cETime] => 1742045832
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07993173676
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045832
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045816
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 504
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.31999999999968
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 55.44000000000095
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 504
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.31999999999968
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96462.910000013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045834
{"compaign_id":"36075","contact_id":"1428","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1428","uid":"u595","unique_id":"36075_1428_138-u595","ivrId":"3158","channelOTime":1742045821,"channelDTime":1742045834,"channelDuration":13,"cSTime":1742045830,"cETime":1742045834,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09589109367","server_ip":"118.185.137.196","insertTime":1742045834,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045822,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1428
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1428
            [uid] => u595
            [unique_id] => 36075_1428_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045821
            [channelDTime] => 1742045834
            [channelDuration] => 13
            [cSTime] => 1742045830
            [cETime] => 1742045834
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09589109367
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045834
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045822
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 505
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.39999999999968
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 55.36000000000095
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 505
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.39999999999968
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96462.830000013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045836
{"compaign_id":"36075","contact_id":"1388","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1388","uid":"u595","unique_id":"36075_1388_138-u595","ivrId":"3158","channelOTime":1742045813,"channelDTime":1742045836,"channelDuration":23,"cSTime":1742045831,"cETime":1742045836,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09685939307","server_ip":"118.185.137.196","insertTime":1742045836,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045815,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1388
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1388
            [uid] => u595
            [unique_id] => 36075_1388_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045813
            [channelDTime] => 1742045836
            [channelDuration] => 23
            [cSTime] => 1742045831
            [cETime] => 1742045836
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09685939307
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045836
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045815
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 506
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.47999999999968
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 55.28000000000095
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 506
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.47999999999968
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96462.750000013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045837
{"compaign_id":"36075","contact_id":"1322","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1322","uid":"u595","unique_id":"36075_1322_138-u595","ivrId":"3158","channelOTime":1742045796,"channelDTime":1742045837,"channelDuration":41,"cSTime":1742045813,"cETime":1742045837,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07002744285","server_ip":"118.185.137.196","insertTime":1742045837,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045799,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045813,"endTime":1742045837,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1322
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1322
            [uid] => u595
            [unique_id] => 36075_1322_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045796
            [channelDTime] => 1742045837
            [channelDuration] => 41
            [cSTime] => 1742045813
            [cETime] => 1742045837
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07002744285
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045837
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045799
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045813
                                    [endTime] => 1742045837
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 507
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.559999999999675
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 55.200000000000955
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 507
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.559999999999675
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96462.670000013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045838
{"compaign_id":"36075","contact_id":"1358","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1358","uid":"u595","unique_id":"36075_1358_138-u595","ivrId":"3158","channelOTime":1742045805,"channelDTime":1742045838,"channelDuration":33,"cSTime":1742045820,"cETime":1742045838,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08340393584","server_ip":"118.185.137.196","insertTime":1742045838,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045806,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1358
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1358
            [uid] => u595
            [unique_id] => 36075_1358_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045805
            [channelDTime] => 1742045838
            [channelDuration] => 33
            [cSTime] => 1742045820
            [cETime] => 1742045838
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08340393584
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045838
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045806
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 509
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.71999999999967
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 55.04000000000096
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 509
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.71999999999967
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96462.51000001299
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045839
{"compaign_id":"36075","contact_id":"1334","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1334","uid":"u595","unique_id":"36075_1334_138-u595","ivrId":"3158","channelOTime":1742045800,"channelDTime":1742045838,"channelDuration":38,"cSTime":1742045816,"cETime":1742045838,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08877500581","server_ip":"118.185.137.196","insertTime":1742045838,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045802,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045816,"endTime":1742045840,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1334
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1334
            [uid] => u595
            [unique_id] => 36075_1334_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045800
            [channelDTime] => 1742045838
            [channelDuration] => 38
            [cSTime] => 1742045816
            [cETime] => 1742045838
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08877500581
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045838
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045802
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045816
                                    [endTime] => 1742045840
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 511
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.87999999999967
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 54.88000000000096
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 511
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 40.87999999999967
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96462.35000001299
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045840
{"compaign_id":"36075","contact_id":"1373","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1373","uid":"u595","unique_id":"36075_1373_138-u595","ivrId":"3158","channelOTime":1742045808,"channelDTime":1742045838,"channelDuration":30,"cSTime":1742045816,"cETime":1742045838,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08185895156","server_ip":"118.185.137.196","insertTime":1742045838,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045811,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045816,"endTime":1742045839,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1373
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1373
            [uid] => u595
            [unique_id] => 36075_1373_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045808
            [channelDTime] => 1742045838
            [channelDuration] => 30
            [cSTime] => 1742045816
            [cETime] => 1742045838
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08185895156
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045838
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045811
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045816
                                    [endTime] => 1742045839
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 513
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.039999999999665
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 54.720000000000965
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 513
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.039999999999665
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96462.19000001298
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045840
{"compaign_id":"36075","contact_id":"1409","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1409","uid":"u595","unique_id":"36075_1409_138-u595","ivrId":"3158","channelOTime":1742045817,"channelDTime":1742045839,"channelDuration":22,"cSTime":1742045828,"cETime":1742045839,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06289703600","server_ip":"118.185.137.196","insertTime":1742045839,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045819,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1409
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1409
            [uid] => u595
            [unique_id] => 36075_1409_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045817
            [channelDTime] => 1742045839
            [channelDuration] => 22
            [cSTime] => 1742045828
            [cETime] => 1742045839
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06289703600
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045839
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045819
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 515
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.19999999999966
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 54.56000000000097
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 515
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.19999999999966
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96462.03000001298
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045841
{"compaign_id":"36075","contact_id":"1372","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1372","uid":"u595","unique_id":"36075_1372_138-u595","ivrId":"3158","channelOTime":1742045808,"channelDTime":1742045843,"channelDuration":35,"cSTime":1742045819,"cETime":1742045843,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07050476416","server_ip":"118.185.137.196","insertTime":1742045843,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045810,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045819,"endTime":1742045843,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1372
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1372
            [uid] => u595
            [unique_id] => 36075_1372_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045808
            [channelDTime] => 1742045843
            [channelDuration] => 35
            [cSTime] => 1742045819
            [cETime] => 1742045843
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07050476416
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045843
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045810
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045819
                                    [endTime] => 1742045843
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 516
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.27999999999966
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 54.48000000000097
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 516
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.27999999999966
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96461.95000001298
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045844
{"compaign_id":"36075","contact_id":"1353","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1353","uid":"u595","unique_id":"36075_1353_138-u595","ivrId":"3158","channelOTime":1742045804,"channelDTime":1742045845,"channelDuration":41,"cSTime":1742045822,"cETime":1742045845,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07887040701","server_ip":"118.185.137.196","insertTime":1742045845,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045806,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045822,"endTime":1742045845,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1353
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1353
            [uid] => u595
            [unique_id] => 36075_1353_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045804
            [channelDTime] => 1742045845
            [channelDuration] => 41
            [cSTime] => 1742045822
            [cETime] => 1742045845
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07887040701
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045845
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045806
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045822
                                    [endTime] => 1742045845
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 518
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.43999999999966
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 54.320000000000974
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 518
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.43999999999966
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96461.79000001297
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045847
{"compaign_id":"36075","contact_id":"1363","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1363","uid":"u595","unique_id":"36075_1363_138-u595","ivrId":"3158","channelOTime":1742045806,"channelDTime":1742045845,"channelDuration":39,"cSTime":1742045822,"cETime":1742045845,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09599712675","server_ip":"118.185.137.196","insertTime":1742045845,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045809,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045822,"endTime":1742045845,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1363
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1363
            [uid] => u595
            [unique_id] => 36075_1363_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045806
            [channelDTime] => 1742045845
            [channelDuration] => 39
            [cSTime] => 1742045822
            [cETime] => 1742045845
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09599712675
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045845
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045809
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045822
                                    [endTime] => 1742045845
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 520
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.59999999999965
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 54.16000000000098
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 520
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.59999999999965
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96461.63000001297
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045847
{"compaign_id":"36075","contact_id":"1431","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1431","uid":"u595","unique_id":"36075_1431_138-u595","ivrId":"3158","channelOTime":1742045829,"channelDTime":1742045850,"channelDuration":21,"cSTime":1742045833,"cETime":1742045850,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07737929570","server_ip":"118.185.137.196","insertTime":1742045850,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045832,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1431
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1431
            [uid] => u595
            [unique_id] => 36075_1431_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045829
            [channelDTime] => 1742045850
            [channelDuration] => 21
            [cSTime] => 1742045833
            [cETime] => 1742045850
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07737929570
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045850
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045832
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 522
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.75999999999965
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 54.00000000000098
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 522
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.75999999999965
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96461.47000001297
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045852
{"compaign_id":"36075","contact_id":"1472","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1472","uid":"u595","unique_id":"36075_1472_138-u595","ivrId":"3158","channelOTime":1742045837,"channelDTime":1742045850,"channelDuration":13,"cSTime":1742045847,"cETime":1742045850,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08431372850","server_ip":"118.185.137.196","insertTime":1742045850,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045838,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1472
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1472
            [uid] => u595
            [unique_id] => 36075_1472_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045837
            [channelDTime] => 1742045850
            [channelDuration] => 13
            [cSTime] => 1742045847
            [cETime] => 1742045850
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08431372850
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045850
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045838
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 524
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.919999999999646
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 53.840000000000984
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 524
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.919999999999646
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96461.31000001296
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045852
{"compaign_id":"36075","contact_id":"1470","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1470","uid":"u595","unique_id":"36075_1470_138-u595","ivrId":"3158","channelOTime":1742045837,"channelDTime":1742045851,"channelDuration":14,"cSTime":1742045847,"cETime":1742045851,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08824323494","server_ip":"118.185.137.196","insertTime":1742045851,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045838,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1470
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1470
            [uid] => u595
            [unique_id] => 36075_1470_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045837
            [channelDTime] => 1742045851
            [channelDuration] => 14
            [cSTime] => 1742045847
            [cETime] => 1742045851
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08824323494
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045851
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045838
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 525
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.999999999999645
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 53.760000000000986
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 525
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 41.999999999999645
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96461.23000001296
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045852
{"compaign_id":"36075","contact_id":"1404","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1404","uid":"u595","unique_id":"36075_1404_138-u595","ivrId":"3158","channelOTime":1742045816,"channelDTime":1742045853,"channelDuration":37,"cSTime":1742045828,"cETime":1742045853,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08837794370","server_ip":"118.185.137.196","insertTime":1742045853,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045818,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045828,"endTime":1742045847,"duration":19}],"#3":[{"startTime":1742045847,"endTime":1742045853,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1404
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1404
            [uid] => u595
            [unique_id] => 36075_1404_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045816
            [channelDTime] => 1742045853
            [channelDuration] => 37
            [cSTime] => 1742045828
            [cETime] => 1742045853
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08837794370
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045853
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045818
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045828
                                    [endTime] => 1742045847
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045847
                                    [endTime] => 1742045853
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 526
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.07999999999964
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 53.68000000000099
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 526
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.07999999999964
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96461.15000001296
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045855
{"compaign_id":"36075","contact_id":"1427","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1427","uid":"u595","unique_id":"36075_1427_138-u595","ivrId":"3158","channelOTime":1742045821,"channelDTime":1742045853,"channelDuration":32,"cSTime":1742045830,"cETime":1742045853,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08464803909","server_ip":"118.185.137.196","insertTime":1742045853,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045828,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045830,"endTime":1742045853,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1427
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1427
            [uid] => u595
            [unique_id] => 36075_1427_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045821
            [channelDTime] => 1742045853
            [channelDuration] => 32
            [cSTime] => 1742045830
            [cETime] => 1742045853
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08464803909
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045853
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045828
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045830
                                    [endTime] => 1742045853
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 528
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.23999999999964
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 53.52000000000099
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 528
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.23999999999964
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96460.99000001296
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045855
{"compaign_id":"36075","contact_id":"1484","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1484","uid":"u595","unique_id":"36075_1484_138-u595","ivrId":"3158","channelOTime":1742045841,"channelDTime":1742045853,"channelDuration":12,"cSTime":1742045851,"cETime":1742045853,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08978309462","server_ip":"118.185.137.196","insertTime":1742045853,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045844,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1484
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1484
            [uid] => u595
            [unique_id] => 36075_1484_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045841
            [channelDTime] => 1742045853
            [channelDuration] => 12
            [cSTime] => 1742045851
            [cETime] => 1742045853
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08978309462
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045853
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045844
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 530
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.399999999999636
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 53.360000000000994
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 530
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.399999999999636
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96460.83000001295
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045855
{"compaign_id":"36075","contact_id":"1437","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1437","uid":"u595","unique_id":"36075_1437_138-u595","ivrId":"3158","channelOTime":1742045830,"channelDTime":1742045854,"channelDuration":24,"cSTime":1742045843,"cETime":1742045854,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08794899274","server_ip":"118.185.137.196","insertTime":1742045854,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045831,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1437
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1437
            [uid] => u595
            [unique_id] => 36075_1437_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045830
            [channelDTime] => 1742045854
            [channelDuration] => 24
            [cSTime] => 1742045843
            [cETime] => 1742045854
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08794899274
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045854
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045831
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 531
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.479999999999634
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 53.280000000000996
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 531
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.479999999999634
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96460.75000001295
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045856
{"compaign_id":"36075","contact_id":"1457","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1457","uid":"u595","unique_id":"36075_1457_138-u595","ivrId":"3158","channelOTime":1742045834,"channelDTime":1742045854,"channelDuration":20,"cSTime":1742045843,"cETime":1742045854,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08340614472","server_ip":"118.185.137.196","insertTime":1742045854,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045836,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1457
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1457
            [uid] => u595
            [unique_id] => 36075_1457_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045834
            [channelDTime] => 1742045854
            [channelDuration] => 20
            [cSTime] => 1742045843
            [cETime] => 1742045854
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08340614472
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045854
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045836
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 532
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.55999999999963
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 53.200000000001
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 532
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.55999999999963
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96460.67000001295
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045856
{"compaign_id":"36075","contact_id":"1492","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1492","uid":"u595","unique_id":"36075_1492_138-u595","ivrId":"3158","channelOTime":1742045843,"channelDTime":1742045856,"channelDuration":13,"cSTime":1742045853,"cETime":1742045856,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08102874810","server_ip":"118.185.137.196","insertTime":1742045856,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045845,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1492
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1492
            [uid] => u595
            [unique_id] => 36075_1492_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045843
            [channelDTime] => 1742045856
            [channelDuration] => 13
            [cSTime] => 1742045853
            [cETime] => 1742045856
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08102874810
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045856
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045845
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 533
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.63999999999963
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 53.120000000001
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 533
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.63999999999963
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96460.59000001295
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045858
{"compaign_id":"36075","contact_id":"1469","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1469","uid":"u595","unique_id":"36075_1469_138-u595","ivrId":"3158","channelOTime":1742045836,"channelDTime":1742045856,"channelDuration":20,"cSTime":1742045853,"cETime":1742045856,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07562905848","server_ip":"118.185.137.196","insertTime":1742045856,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045846,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1469
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1469
            [uid] => u595
            [unique_id] => 36075_1469_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045836
            [channelDTime] => 1742045856
            [channelDuration] => 20
            [cSTime] => 1742045853
            [cETime] => 1742045856
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07562905848
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045856
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045846
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 534
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.71999999999963
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 53.040000000001
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 534
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.71999999999963
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96460.51000001295
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045858
{"compaign_id":"36075","contact_id":"1356","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1356","uid":"u595","unique_id":"36075_1356_138-u595","ivrId":"3158","channelOTime":1742045805,"channelDTime":1742045857,"channelDuration":52,"cSTime":1742045833,"cETime":1742045857,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08630339270","server_ip":"118.185.137.196","insertTime":1742045857,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045807,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045833,"endTime":1742045857,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1356
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1356
            [uid] => u595
            [unique_id] => 36075_1356_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045805
            [channelDTime] => 1742045857
            [channelDuration] => 52
            [cSTime] => 1742045833
            [cETime] => 1742045857
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08630339270
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045857
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045807
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045833
                                    [endTime] => 1742045857
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 535
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.79999999999963
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 52.960000000001
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 535
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.79999999999963
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96460.43000001294
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045858
{"compaign_id":"36075","contact_id":"1466","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1466","uid":"u595","unique_id":"36075_1466_138-u595","ivrId":"3158","channelOTime":1742045836,"channelDTime":1742045857,"channelDuration":21,"cSTime":1742045848,"cETime":1742045857,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08777350229","server_ip":"118.185.137.196","insertTime":1742045857,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045837,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1466
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1466
            [uid] => u595
            [unique_id] => 36075_1466_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045836
            [channelDTime] => 1742045857
            [channelDuration] => 21
            [cSTime] => 1742045848
            [cETime] => 1742045857
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08777350229
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045857
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045837
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 537
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.959999999999624
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 52.800000000001006
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 537
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 42.959999999999624
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96460.27000001294
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045859
{"compaign_id":"36075","contact_id":"1456","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1456","uid":"u595","unique_id":"36075_1456_138-u595","ivrId":"3158","channelOTime":1742045834,"channelDTime":1742045858,"channelDuration":24,"cSTime":1742045851,"cETime":1742045858,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06203996233","server_ip":"118.185.137.196","insertTime":1742045858,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045835,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1456
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1456
            [uid] => u595
            [unique_id] => 36075_1456_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045834
            [channelDTime] => 1742045858
            [channelDuration] => 24
            [cSTime] => 1742045851
            [cETime] => 1742045858
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06203996233
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045858
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045835
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 538
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.03999999999962
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 52.72000000000101
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 538
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.03999999999962
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96460.19000001294
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045860
{"compaign_id":"36075","contact_id":"1442","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1442","uid":"u595","unique_id":"36075_1442_138-u595","ivrId":"3158","channelOTime":1742045831,"channelDTime":1742045859,"channelDuration":28,"cSTime":1742045848,"cETime":1742045859,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09006352808","server_ip":"118.185.137.196","insertTime":1742045859,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045837,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1442
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1442
            [uid] => u595
            [unique_id] => 36075_1442_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045831
            [channelDTime] => 1742045859
            [channelDuration] => 28
            [cSTime] => 1742045848
            [cETime] => 1742045859
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09006352808
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045859
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045837
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 539
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.11999999999962
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 52.64000000000101
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 539
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.11999999999962
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96460.11000001294
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045861
{"compaign_id":"36075","contact_id":"1468","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1468","uid":"u595","unique_id":"36075_1468_138-u595","ivrId":"3158","channelOTime":1742045836,"channelDTime":1742045861,"channelDuration":25,"cSTime":1742045851,"cETime":1742045861,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09391948496","server_ip":"118.185.137.196","insertTime":1742045861,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045837,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1468
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1468
            [uid] => u595
            [unique_id] => 36075_1468_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045836
            [channelDTime] => 1742045861
            [channelDuration] => 25
            [cSTime] => 1742045851
            [cETime] => 1742045861
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09391948496
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045861
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045837
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 540
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.19999999999962
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 52.56000000000101
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 540
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.19999999999962
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96460.03000001294
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045863
{"compaign_id":"36075","contact_id":"1473","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1473","uid":"u595","unique_id":"36075_1473_138-u595","ivrId":"3158","channelOTime":1742045837,"channelDTime":1742045861,"channelDuration":24,"cSTime":1742045846,"cETime":1742045861,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09528338561","server_ip":"118.185.137.196","insertTime":1742045861,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045840,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1473
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1473
            [uid] => u595
            [unique_id] => 36075_1473_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045837
            [channelDTime] => 1742045861
            [channelDuration] => 24
            [cSTime] => 1742045846
            [cETime] => 1742045861
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09528338561
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045861
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045840
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 541
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.27999999999962
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 52.48000000000101
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 541
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.27999999999962
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96459.95000001293
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045863
{"compaign_id":"36075","contact_id":"1494","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1494","uid":"u595","unique_id":"36075_1494_138-u595","ivrId":"3158","channelOTime":1742045843,"channelDTime":1742045862,"channelDuration":19,"cSTime":1742045856,"cETime":1742045862,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09080643720","server_ip":"118.185.137.196","insertTime":1742045862,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045845,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1494
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1494
            [uid] => u595
            [unique_id] => 36075_1494_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045843
            [channelDTime] => 1742045862
            [channelDuration] => 19
            [cSTime] => 1742045856
            [cETime] => 1742045862
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09080643720
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045862
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045845
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 542
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.359999999999616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 52.400000000001015
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 542
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.359999999999616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96459.87000001293
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045863
{"compaign_id":"36075","contact_id":"1460","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1460","uid":"u595","unique_id":"36075_1460_138-u595","ivrId":"3158","channelOTime":1742045835,"channelDTime":1742045863,"channelDuration":28,"cSTime":1742045845,"cETime":1742045863,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06305308790","server_ip":"118.185.137.196","insertTime":1742045863,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045839,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1460
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1460
            [uid] => u595
            [unique_id] => 36075_1460_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045835
            [channelDTime] => 1742045863
            [channelDuration] => 28
            [cSTime] => 1742045845
            [cETime] => 1742045863
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06305308790
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045863
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045839
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 543
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.439999999999614
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 52.320000000001016
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 543
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.439999999999614
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96459.79000001293
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045865
{"compaign_id":"36075","contact_id":"1498","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1498","uid":"u595","unique_id":"36075_1498_138-u595","ivrId":"3158","channelOTime":1742045844,"channelDTime":1742045863,"channelDuration":19,"cSTime":1742045854,"cETime":1742045863,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09895844483","server_ip":"118.185.137.196","insertTime":1742045863,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045847,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1498
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1498
            [uid] => u595
            [unique_id] => 36075_1498_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045844
            [channelDTime] => 1742045863
            [channelDuration] => 19
            [cSTime] => 1742045854
            [cETime] => 1742045863
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09895844483
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045863
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045847
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 545
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.59999999999961
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 52.16000000000102
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 545
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.59999999999961
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96459.63000001293
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045865
{"compaign_id":"36075","contact_id":"1452","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1452","uid":"u595","unique_id":"36075_1452_138-u595","ivrId":"3158","channelOTime":1742045833,"channelDTime":1742045865,"channelDuration":32,"cSTime":1742045842,"cETime":1742045865,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09310609008","server_ip":"118.185.137.196","insertTime":1742045865,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045835,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045842,"endTime":1742045865,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1452
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1452
            [uid] => u595
            [unique_id] => 36075_1452_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045833
            [channelDTime] => 1742045865
            [channelDuration] => 32
            [cSTime] => 1742045842
            [cETime] => 1742045865
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09310609008
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045865
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045835
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045842
                                    [endTime] => 1742045865
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 546
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.67999999999961
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 52.08000000000102
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 546
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.67999999999961
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96459.55000001293
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045867
{"compaign_id":"36075","contact_id":"1547","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1547","uid":"u595","unique_id":"36075_1547_138-u595","ivrId":"3158","channelOTime":1742045856,"channelDTime":1742045867,"channelDuration":11,"cSTime":1742045860,"cETime":1742045867,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06291379364","server_ip":"118.185.137.196","insertTime":1742045867,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045858,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1547
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1547
            [uid] => u595
            [unique_id] => 36075_1547_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045856
            [channelDTime] => 1742045867
            [channelDuration] => 11
            [cSTime] => 1742045860
            [cETime] => 1742045867
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06291379364
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045867
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045858
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 548
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.839999999999606
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 51.920000000001025
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 548
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.839999999999606
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96459.39000001292
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045869
{"compaign_id":"36075","contact_id":"1528","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1528","uid":"u595","unique_id":"36075_1528_138-u595","ivrId":"3158","channelOTime":1742045850,"channelDTime":1742045868,"channelDuration":18,"cSTime":1742045859,"cETime":1742045868,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09082668926","server_ip":"118.185.137.196","insertTime":1742045868,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045852,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1528
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1528
            [uid] => u595
            [unique_id] => 36075_1528_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045850
            [channelDTime] => 1742045868
            [channelDuration] => 18
            [cSTime] => 1742045859
            [cETime] => 1742045868
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09082668926
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045868
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045852
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 549
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.919999999999604
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 51.84000000000103
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 549
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.919999999999604
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96459.31000001292
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045870
{"compaign_id":"36075","contact_id":"1448","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1448","uid":"u595","unique_id":"36075_1448_138-u595","ivrId":"3158","channelOTime":1742045832,"channelDTime":1742045868,"channelDuration":36,"cSTime":1742045845,"cETime":1742045868,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09581939746","server_ip":"118.185.137.196","insertTime":1742045868,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045834,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045845,"endTime":1742045863,"duration":18}],"#3":[{"startTime":1742045863,"endTime":1742045868,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1448
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1448
            [uid] => u595
            [unique_id] => 36075_1448_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045832
            [channelDTime] => 1742045868
            [channelDuration] => 36
            [cSTime] => 1742045845
            [cETime] => 1742045868
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09581939746
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045868
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045834
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045845
                                    [endTime] => 1742045863
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045863
                                    [endTime] => 1742045868
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 550
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.9999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 51.76000000000103
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 550
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 43.9999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96459.23000001292
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045870
{"compaign_id":"36075","contact_id":"1526","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1526","uid":"u595","unique_id":"36075_1526_138-u595","ivrId":"3158","channelOTime":1742045850,"channelDTime":1742045869,"channelDuration":19,"cSTime":1742045860,"cETime":1742045869,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09321558554","server_ip":"118.185.137.196","insertTime":1742045869,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045852,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1526
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1526
            [uid] => u595
            [unique_id] => 36075_1526_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045850
            [channelDTime] => 1742045869
            [channelDuration] => 19
            [cSTime] => 1742045860
            [cETime] => 1742045869
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09321558554
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045869
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045852
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 552
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.1599999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 51.60000000000103
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 552
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.1599999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96459.07000001291
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045870
{"compaign_id":"36075","contact_id":"1486","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1486","uid":"u595","unique_id":"36075_1486_138-u595","ivrId":"3158","channelOTime":1742045842,"channelDTime":1742045869,"channelDuration":27,"cSTime":1742045860,"cETime":1742045869,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08881512859","server_ip":"118.185.137.196","insertTime":1742045869,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045847,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1486
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1486
            [uid] => u595
            [unique_id] => 36075_1486_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045842
            [channelDTime] => 1742045869
            [channelDuration] => 27
            [cSTime] => 1742045860
            [cETime] => 1742045869
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08881512859
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045869
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045847
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 553
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.2399999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 51.52000000000103
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 553
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.2399999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96458.99000001291
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045871
{"compaign_id":"36075","contact_id":"1474","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1474","uid":"u595","unique_id":"36075_1474_138-u595","ivrId":"3158","channelOTime":1742045837,"channelDTime":1742045870,"channelDuration":33,"cSTime":1742045847,"cETime":1742045870,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09567122407","server_ip":"118.185.137.196","insertTime":1742045870,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045840,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045847,"endTime":1742045864,"duration":17}],"#3":[{"startTime":1742045864,"endTime":1742045870,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1474
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1474
            [uid] => u595
            [unique_id] => 36075_1474_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045837
            [channelDTime] => 1742045870
            [channelDuration] => 33
            [cSTime] => 1742045847
            [cETime] => 1742045870
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09567122407
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045870
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045840
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045847
                                    [endTime] => 1742045864
                                    [duration] => 17
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045864
                                    [endTime] => 1742045870
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 554
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.319999999999595
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 51.440000000001035
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 554
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.319999999999595
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96458.91000001291
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045871
{"compaign_id":"36075","contact_id":"1495","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1495","uid":"u595","unique_id":"36075_1495_138-u595","ivrId":"3158","channelOTime":1742045844,"channelDTime":1742045871,"channelDuration":27,"cSTime":1742045867,"cETime":1742045871,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09205692778","server_ip":"118.185.137.196","insertTime":1742045871,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045848,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1495
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1495
            [uid] => u595
            [unique_id] => 36075_1495_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045844
            [channelDTime] => 1742045871
            [channelDuration] => 27
            [cSTime] => 1742045867
            [cETime] => 1742045871
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09205692778
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045871
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045848
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 556
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.47999999999959
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 51.28000000000104
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 556
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.47999999999959
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96458.75000001291
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045872
{"compaign_id":"36075","contact_id":"1465","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1465","uid":"u595","unique_id":"36075_1465_138-u595","ivrId":"3158","channelOTime":1742045836,"channelDTime":1742045871,"channelDuration":35,"cSTime":1742045859,"cETime":1742045871,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09026998534","server_ip":"118.185.137.196","insertTime":1742045871,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045838,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1465
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1465
            [uid] => u595
            [unique_id] => 36075_1465_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045836
            [channelDTime] => 1742045871
            [channelDuration] => 35
            [cSTime] => 1742045859
            [cETime] => 1742045871
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09026998534
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045871
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045838
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 557
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.55999999999959
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 51.20000000000104
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 557
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.55999999999959
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96458.6700000129
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045873
{"compaign_id":"36075","contact_id":"1541","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1541","uid":"u595","unique_id":"36075_1541_138-u595","ivrId":"3158","channelOTime":1742045855,"channelDTime":1742045872,"channelDuration":17,"cSTime":1742045864,"cETime":1742045872,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08076658398","server_ip":"118.185.137.196","insertTime":1742045872,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045856,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1541
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1541
            [uid] => u595
            [unique_id] => 36075_1541_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045855
            [channelDTime] => 1742045872
            [channelDuration] => 17
            [cSTime] => 1742045864
            [cETime] => 1742045872
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08076658398
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045872
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045856
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 558
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.63999999999959
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 51.12000000000104
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 558
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.63999999999959
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96458.5900000129
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045873
{"compaign_id":"36075","contact_id":"1519","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1519","uid":"u595","unique_id":"36075_1519_138-u595","ivrId":"3158","channelOTime":1742045848,"channelDTime":1742045872,"channelDuration":24,"cSTime":1742045866,"cETime":1742045872,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09992670851","server_ip":"118.185.137.196","insertTime":1742045872,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045852,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1519
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1519
            [uid] => u595
            [unique_id] => 36075_1519_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045848
            [channelDTime] => 1742045872
            [channelDuration] => 24
            [cSTime] => 1742045866
            [cETime] => 1742045872
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09992670851
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045872
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045852
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 559
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.71999999999959
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 51.040000000001044
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 559
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.71999999999959
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96458.5100000129
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045874
{"compaign_id":"36075","contact_id":"1496","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1496","uid":"u595","unique_id":"36075_1496_138-u595","ivrId":"3158","channelOTime":1742045844,"channelDTime":1742045873,"channelDuration":29,"cSTime":1742045858,"cETime":1742045873,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08943197728","server_ip":"118.185.137.196","insertTime":1742045873,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045846,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1496
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1496
            [uid] => u595
            [unique_id] => 36075_1496_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045844
            [channelDTime] => 1742045873
            [channelDuration] => 29
            [cSTime] => 1742045858
            [cETime] => 1742045873
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08943197728
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045873
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045846
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 560
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.799999999999585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 50.960000000001045
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 560
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.799999999999585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96458.4300000129
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045874
{"compaign_id":"36075","contact_id":"1544","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1544","uid":"u595","unique_id":"36075_1544_138-u595","ivrId":"3158","channelOTime":1742045856,"channelDTime":1742045873,"channelDuration":17,"cSTime":1742045868,"cETime":1742045873,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09337035649","server_ip":"118.185.137.196","insertTime":1742045873,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045857,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1544
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1544
            [uid] => u595
            [unique_id] => 36075_1544_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045856
            [channelDTime] => 1742045873
            [channelDuration] => 17
            [cSTime] => 1742045868
            [cETime] => 1742045873
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09337035649
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045873
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045857
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 561
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.87999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 50.88000000000105
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 561
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.87999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96458.3500000129
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045875
{"compaign_id":"36075","contact_id":"1564","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1564","uid":"u595","unique_id":"36075_1564_138-u595","ivrId":"3158","channelOTime":1742045860,"channelDTime":1742045874,"channelDuration":14,"cSTime":1742045870,"cETime":1742045874,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09535994009","server_ip":"118.185.137.196","insertTime":1742045874,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045864,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1564
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1564
            [uid] => u595
            [unique_id] => 36075_1564_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045860
            [channelDTime] => 1742045874
            [channelDuration] => 14
            [cSTime] => 1742045870
            [cETime] => 1742045874
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09535994009
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045874
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045864
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 562
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.95999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 50.80000000000105
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 562
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 44.95999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96458.2700000129
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045876
{"compaign_id":"36075","contact_id":"1560","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1560","uid":"u595","unique_id":"36075_1560_138-u595","ivrId":"3158","channelOTime":1742045859,"channelDTime":1742045874,"channelDuration":15,"cSTime":1742045870,"cETime":1742045874,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09026948808","server_ip":"118.185.137.196","insertTime":1742045874,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045861,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1560
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1560
            [uid] => u595
            [unique_id] => 36075_1560_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045859
            [channelDTime] => 1742045874
            [channelDuration] => 15
            [cSTime] => 1742045870
            [cETime] => 1742045874
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09026948808
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045874
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045861
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 563
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.03999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 50.72000000000105
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 563
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.03999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96458.1900000129
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045876
{"compaign_id":"36075","contact_id":"1493","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1493","uid":"u595","unique_id":"36075_1493_138-u595","ivrId":"3158","channelOTime":1742045843,"channelDTime":1742045875,"channelDuration":32,"cSTime":1742045852,"cETime":1742045875,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07877312317","server_ip":"118.185.137.196","insertTime":1742045875,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045845,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045852,"endTime":1742045875,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1493
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1493
            [uid] => u595
            [unique_id] => 36075_1493_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045843
            [channelDTime] => 1742045875
            [channelDuration] => 32
            [cSTime] => 1742045852
            [cETime] => 1742045875
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07877312317
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045875
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045845
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045852
                                    [endTime] => 1742045875
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 564
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.11999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 50.64000000000105
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 564
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.11999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96458.1100000129
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045877
{"compaign_id":"36075","contact_id":"1480","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1480","uid":"u595","unique_id":"36075_1480_138-u595","ivrId":"3158","channelOTime":1742045841,"channelDTime":1742045876,"channelDuration":35,"cSTime":1742045852,"cETime":1742045876,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08540894170","server_ip":"118.185.137.196","insertTime":1742045876,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045842,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045852,"endTime":1742045876,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1480
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1480
            [uid] => u595
            [unique_id] => 36075_1480_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045841
            [channelDTime] => 1742045876
            [channelDuration] => 35
            [cSTime] => 1742045852
            [cETime] => 1742045876
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08540894170
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045876
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045842
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045852
                                    [endTime] => 1742045876
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 566
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.279999999999575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 50.480000000001056
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 566
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.279999999999575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96457.95000001289
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045877
{"compaign_id":"36075","contact_id":"1574","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1574","uid":"u595","unique_id":"36075_1574_138-u595","ivrId":"3158","channelOTime":1742045862,"channelDTime":1742045876,"channelDuration":14,"cSTime":1742045870,"cETime":1742045876,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08299193180","server_ip":"118.185.137.196","insertTime":1742045876,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045863,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1574
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1574
            [uid] => u595
            [unique_id] => 36075_1574_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045862
            [channelDTime] => 1742045876
            [channelDuration] => 14
            [cSTime] => 1742045870
            [cETime] => 1742045876
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08299193180
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045876
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045863
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 568
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.43999999999957
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 50.32000000000106
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 568
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.43999999999957
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96457.79000001289
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045878
{"compaign_id":"36075","contact_id":"1569","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1569","uid":"u595","unique_id":"36075_1569_138-u595","ivrId":"3158","channelOTime":1742045861,"channelDTime":1742045878,"channelDuration":17,"cSTime":1742045873,"cETime":1742045878,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08210670061","server_ip":"118.185.137.196","insertTime":1742045878,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045863,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1569
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1569
            [uid] => u595
            [unique_id] => 36075_1569_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045861
            [channelDTime] => 1742045878
            [channelDuration] => 17
            [cSTime] => 1742045873
            [cETime] => 1742045878
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08210670061
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045878
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045863
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 569
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.51999999999957
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 50.24000000000106
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 569
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.51999999999957
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96457.71000001288
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045879
{"compaign_id":"36075","contact_id":"1511","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1511","uid":"u595","unique_id":"36075_1511_138-u595","ivrId":"3158","channelOTime":1742045847,"channelDTime":1742045878,"channelDuration":31,"cSTime":1742045855,"cETime":1742045878,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07760594820","server_ip":"118.185.137.196","insertTime":1742045878,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045850,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045855,"endTime":1742045878,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1511
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1511
            [uid] => u595
            [unique_id] => 36075_1511_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045847
            [channelDTime] => 1742045878
            [channelDuration] => 31
            [cSTime] => 1742045855
            [cETime] => 1742045878
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07760594820
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045878
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045850
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045855
                                    [endTime] => 1742045878
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 570
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.59999999999957
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 50.16000000000106
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 570
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.59999999999957
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96457.63000001288
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045880
{"compaign_id":"36075","contact_id":"1555","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1555","uid":"u595","unique_id":"36075_1555_138-u595","ivrId":"3158","channelOTime":1742045858,"channelDTime":1742045878,"channelDuration":20,"cSTime":1742045867,"cETime":1742045878,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06386543390","server_ip":"118.185.137.196","insertTime":1742045878,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045861,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1555
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1555
            [uid] => u595
            [unique_id] => 36075_1555_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045858
            [channelDTime] => 1742045878
            [channelDuration] => 20
            [cSTime] => 1742045867
            [cETime] => 1742045878
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06386543390
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045878
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045861
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 572
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.759999999999565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 50.000000000001066
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 572
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.759999999999565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96457.47000001288
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045880
{"compaign_id":"36075","contact_id":"1481","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1481","uid":"u595","unique_id":"36075_1481_138-u595","ivrId":"3158","channelOTime":1742045841,"channelDTime":1742045878,"channelDuration":37,"cSTime":1742045855,"cETime":1742045878,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07003455057","server_ip":"118.185.137.196","insertTime":1742045878,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045843,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045855,"endTime":1742045878,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1481
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1481
            [uid] => u595
            [unique_id] => 36075_1481_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045841
            [channelDTime] => 1742045878
            [channelDuration] => 37
            [cSTime] => 1742045855
            [cETime] => 1742045878
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07003455057
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045878
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045843
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045855
                                    [endTime] => 1742045878
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 573
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.83999999999956
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 49.92000000000107
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 573
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.83999999999956
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96457.39000001288
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045880
2025-03-15 19:08:02[LOG]Starting Cron
2025-03-15 19:08:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"1628","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1628","uid":"u595","unique_id":"36075_1628_138-u595","ivrId":"3158","channelOTime":1742045875,"channelDTime":1742045884,"channelDuration":9,"cSTime":1742045882,"cETime":1742045884,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07005503047","server_ip":"118.185.137.196","insertTime":1742045884,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045876,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1628
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1628
            [uid] => u595
            [unique_id] => 36075_1628_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045875
            [channelDTime] => 1742045884
            [channelDuration] => 9
            [cSTime] => 1742045882
            [cETime] => 1742045884
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07005503047
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045884
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045876
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 575
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.99999999999956
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 49.76000000000107
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 575
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 45.99999999999956
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96457.23000001287
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045886
{"compaign_id":"36075","contact_id":"1455","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1455","uid":"u595","unique_id":"36075_1455_138-u595","ivrId":"3158","channelOTime":1742045834,"channelDTime":1742045885,"channelDuration":51,"cSTime":1742045861,"cETime":1742045885,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08075169532","server_ip":"118.185.137.196","insertTime":1742045885,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045835,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045861,"endTime":1742045885,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1455
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1455
            [uid] => u595
            [unique_id] => 36075_1455_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045834
            [channelDTime] => 1742045885
            [channelDuration] => 51
            [cSTime] => 1742045861
            [cETime] => 1742045885
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08075169532
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045885
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045835
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045861
                                    [endTime] => 1742045885
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 576
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.07999999999956
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 49.68000000000107
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 576
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.07999999999956
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96457.15000001287
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045887
{"compaign_id":"36075","contact_id":"1489","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1489","uid":"u595","unique_id":"36075_1489_138-u595","ivrId":"3158","channelOTime":1742045842,"channelDTime":1742045886,"channelDuration":44,"cSTime":1742045868,"cETime":1742045886,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09150910749","server_ip":"118.185.137.196","insertTime":1742045886,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045845,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1489
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1489
            [uid] => u595
            [unique_id] => 36075_1489_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045842
            [channelDTime] => 1742045886
            [channelDuration] => 44
            [cSTime] => 1742045868
            [cETime] => 1742045886
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09150910749
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045886
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045845
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 578
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.239999999999554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 49.520000000001076
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 578
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.239999999999554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96456.99000001287
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045887
{"compaign_id":"36075","contact_id":"1613","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1613","uid":"u595","unique_id":"36075_1613_138-u595","ivrId":"3158","channelOTime":1742045872,"channelDTime":1742045886,"channelDuration":14,"cSTime":1742045883,"cETime":1742045886,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08483818031","server_ip":"118.185.137.196","insertTime":1742045886,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1613
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1613
            [uid] => u595
            [unique_id] => 36075_1613_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045872
            [channelDTime] => 1742045886
            [channelDuration] => 14
            [cSTime] => 1742045883
            [cETime] => 1742045886
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08483818031
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045886
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 580
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.39999999999955
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 49.36000000000108
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 580
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.39999999999955
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96456.83000001287
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045888
{"compaign_id":"36075","contact_id":"1539","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1539","uid":"u595","unique_id":"36075_1539_138-u595","ivrId":"3158","channelOTime":1742045855,"channelDTime":1742045888,"channelDuration":33,"cSTime":1742045882,"cETime":1742045888,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09886865771","server_ip":"118.185.137.196","insertTime":1742045888,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045859,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1539
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1539
            [uid] => u595
            [unique_id] => 36075_1539_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045855
            [channelDTime] => 1742045888
            [channelDuration] => 33
            [cSTime] => 1742045882
            [cETime] => 1742045888
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09886865771
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045888
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045859
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 581
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.47999999999955
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 49.28000000000108
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 581
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.47999999999955
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96456.75000001286
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045889
{"compaign_id":"36075","contact_id":"1622","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1622","uid":"u595","unique_id":"36075_1622_138-u595","ivrId":"3158","channelOTime":1742045873,"channelDTime":1742045888,"channelDuration":15,"cSTime":1742045883,"cETime":1742045888,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06302299246","server_ip":"118.185.137.196","insertTime":1742045888,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045875,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1622
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1622
            [uid] => u595
            [unique_id] => 36075_1622_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045873
            [channelDTime] => 1742045888
            [channelDuration] => 15
            [cSTime] => 1742045883
            [cETime] => 1742045888
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06302299246
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045888
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045875
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 582
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.55999999999955
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 49.20000000000108
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 582
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.55999999999955
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96456.67000001286
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045890
{"compaign_id":"36075","contact_id":"1592","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1592","uid":"u595","unique_id":"36075_1592_138-u595","ivrId":"3158","channelOTime":1742045867,"channelDTime":1742045888,"channelDuration":21,"cSTime":1742045879,"cETime":1742045888,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06206783979","server_ip":"118.185.137.196","insertTime":1742045888,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045871,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1592
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1592
            [uid] => u595
            [unique_id] => 36075_1592_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045867
            [channelDTime] => 1742045888
            [channelDuration] => 21
            [cSTime] => 1742045879
            [cETime] => 1742045888
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06206783979
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045888
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045871
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 583
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.639999999999546
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 49.120000000001085
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 583
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.639999999999546
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96456.59000001286
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045890
{"compaign_id":"36075","contact_id":"1597","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1597","uid":"u595","unique_id":"36075_1597_138-u595","ivrId":"3158","channelOTime":1742045868,"channelDTime":1742045889,"channelDuration":21,"cSTime":1742045883,"cETime":1742045889,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06367059289","server_ip":"118.185.137.196","insertTime":1742045889,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045871,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1597
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1597
            [uid] => u595
            [unique_id] => 36075_1597_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045868
            [channelDTime] => 1742045889
            [channelDuration] => 21
            [cSTime] => 1742045883
            [cETime] => 1742045889
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06367059289
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045889
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045871
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 584
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.719999999999544
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 49.040000000001086
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 584
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.719999999999544
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96456.51000001286
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045890
{"compaign_id":"36075","contact_id":"1623","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1623","uid":"u595","unique_id":"36075_1623_138-u595","ivrId":"3158","channelOTime":1742045874,"channelDTime":1742045891,"channelDuration":17,"cSTime":1742045886,"cETime":1742045891,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09861131970","server_ip":"118.185.137.196","insertTime":1742045891,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045877,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1623
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1623
            [uid] => u595
            [unique_id] => 36075_1623_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045874
            [channelDTime] => 1742045891
            [channelDuration] => 17
            [cSTime] => 1742045886
            [cETime] => 1742045891
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09861131970
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045891
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045877
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 585
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.79999999999954
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 48.96000000000109
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 585
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.79999999999954
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96456.43000001286
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045892
{"compaign_id":"36075","contact_id":"1584","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1584","uid":"u595","unique_id":"36075_1584_138-u595","ivrId":"3158","channelOTime":1742045866,"channelDTime":1742045891,"channelDuration":25,"cSTime":1742045876,"cETime":1742045891,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08260411494","server_ip":"118.185.137.196","insertTime":1742045891,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045868,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1584
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1584
            [uid] => u595
            [unique_id] => 36075_1584_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045866
            [channelDTime] => 1742045891
            [channelDuration] => 25
            [cSTime] => 1742045876
            [cETime] => 1742045891
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08260411494
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045891
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045868
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 586
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.87999999999954
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 48.88000000000109
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 586
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.87999999999954
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96456.35000001286
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045893
{"compaign_id":"36075","contact_id":"1556","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1556","uid":"u595","unique_id":"36075_1556_138-u595","ivrId":"3158","channelOTime":1742045858,"channelDTime":1742045892,"channelDuration":34,"cSTime":1742045875,"cETime":1742045892,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08777626874","server_ip":"118.185.137.196","insertTime":1742045892,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045860,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1556
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1556
            [uid] => u595
            [unique_id] => 36075_1556_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045858
            [channelDTime] => 1742045892
            [channelDuration] => 34
            [cSTime] => 1742045875
            [cETime] => 1742045892
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08777626874
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045892
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045860
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 587
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.95999999999954
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 48.80000000000109
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 587
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 46.95999999999954
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96456.27000001285
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045893
{"compaign_id":"36075","contact_id":"1582","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1582","uid":"u595","unique_id":"36075_1582_138-u595","ivrId":"3158","channelOTime":1742045865,"channelDTime":1742045892,"channelDuration":27,"cSTime":1742045876,"cETime":1742045892,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08755127823","server_ip":"118.185.137.196","insertTime":1742045892,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045870,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1582
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1582
            [uid] => u595
            [unique_id] => 36075_1582_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045865
            [channelDTime] => 1742045892
            [channelDuration] => 27
            [cSTime] => 1742045876
            [cETime] => 1742045892
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08755127823
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045892
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045870
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 589
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.119999999999536
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 48.640000000001095
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 589
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.119999999999536
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96456.11000001285
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045894
{"compaign_id":"36075","contact_id":"1557","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1557","uid":"u595","unique_id":"36075_1557_138-u595","ivrId":"3158","channelOTime":1742045858,"channelDTime":1742045892,"channelDuration":34,"cSTime":1742045877,"cETime":1742045892,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09535235970","server_ip":"118.185.137.196","insertTime":1742045892,"ivrData":{"#2":["1"],"#3":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045860,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045877,"endTime":1742045892,"duration":15}],"#3":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1557
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1557
            [uid] => u595
            [unique_id] => 36075_1557_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045858
            [channelDTime] => 1742045892
            [channelDuration] => 34
            [cSTime] => 1742045877
            [cETime] => 1742045892
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09535235970
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045892
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045860
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045877
                                    [endTime] => 1742045892
                                    [duration] => 15
                                )

                        )

                    [#3] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 591
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.27999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 48.4800000000011
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 591
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.27999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96455.95000001285
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045894
{"compaign_id":"36075","contact_id":"1629","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1629","uid":"u595","unique_id":"36075_1629_138-u595","ivrId":"3158","channelOTime":1742045875,"channelDTime":1742045893,"channelDuration":18,"cSTime":1742045886,"cETime":1742045893,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06302195145","server_ip":"118.185.137.196","insertTime":1742045893,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045877,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1629
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1629
            [uid] => u595
            [unique_id] => 36075_1629_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045875
            [channelDTime] => 1742045893
            [channelDuration] => 18
            [cSTime] => 1742045886
            [cETime] => 1742045893
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06302195145
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045893
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045877
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 592
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.35999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 48.4000000000011
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 592
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.35999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96455.87000001284
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045895
{"compaign_id":"36075","contact_id":"1631","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1631","uid":"u595","unique_id":"36075_1631_138-u595","ivrId":"3158","channelOTime":1742045883,"channelDTime":1742045894,"channelDuration":11,"cSTime":1742045890,"cETime":1742045894,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09007619533","server_ip":"118.185.137.196","insertTime":1742045894,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045884,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1631
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1631
            [uid] => u595
            [unique_id] => 36075_1631_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045883
            [channelDTime] => 1742045894
            [channelDuration] => 11
            [cSTime] => 1742045890
            [cETime] => 1742045894
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09007619533
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045894
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045884
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 593
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.43999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 48.3200000000011
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 593
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.43999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96455.79000001284
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045896
{"compaign_id":"36075","contact_id":"1586","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1586","uid":"u595","unique_id":"36075_1586_138-u595","ivrId":"3158","channelOTime":1742045866,"channelDTime":1742045897,"channelDuration":31,"cSTime":1742045874,"cETime":1742045897,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07603825972","server_ip":"118.185.137.196","insertTime":1742045897,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045869,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045874,"endTime":1742045897,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1586
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1586
            [uid] => u595
            [unique_id] => 36075_1586_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045866
            [channelDTime] => 1742045897
            [channelDuration] => 31
            [cSTime] => 1742045874
            [cETime] => 1742045897
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07603825972
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045897
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045869
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045874
                                    [endTime] => 1742045897
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 594
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.51999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 48.2400000000011
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 594
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.51999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96455.71000001284
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045899
{"compaign_id":"36075","contact_id":"1619","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1619","uid":"u595","unique_id":"36075_1619_138-u595","ivrId":"3158","channelOTime":1742045873,"channelDTime":1742045899,"channelDuration":26,"cSTime":1742045887,"cETime":1742045899,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07063437642","server_ip":"118.185.137.196","insertTime":1742045899,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045875,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1619
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1619
            [uid] => u595
            [unique_id] => 36075_1619_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045873
            [channelDTime] => 1742045899
            [channelDuration] => 26
            [cSTime] => 1742045887
            [cETime] => 1742045899
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07063437642
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045899
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045875
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 596
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.679999999999524
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 48.08000000000111
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 596
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.679999999999524
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96455.55000001284
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045900
{"compaign_id":"36075","contact_id":"1656","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1656","uid":"u595","unique_id":"36075_1656_138-u595","ivrId":"3158","channelOTime":1742045888,"channelDTime":1742045903,"channelDuration":15,"cSTime":1742045894,"cETime":1742045903,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09075073345","server_ip":"118.185.137.196","insertTime":1742045903,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045889,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1656
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1656
            [uid] => u595
            [unique_id] => 36075_1656_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045888
            [channelDTime] => 1742045903
            [channelDuration] => 15
            [cSTime] => 1742045894
            [cETime] => 1742045903
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09075073345
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045903
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045889
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 597
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.75999999999952
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 48.00000000000111
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 597
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.75999999999952
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96455.47000001284
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045904
{"compaign_id":"36075","contact_id":"1568","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1568","uid":"u595","unique_id":"36075_1568_138-u595","ivrId":"3158","channelOTime":1742045860,"channelDTime":1742045905,"channelDuration":45,"cSTime":1742045889,"cETime":1742045905,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07001802914","server_ip":"118.185.137.196","insertTime":1742045905,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045862,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1568
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1568
            [uid] => u595
            [unique_id] => 36075_1568_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045860
            [channelDTime] => 1742045905
            [channelDuration] => 45
            [cSTime] => 1742045889
            [cETime] => 1742045905
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07001802914
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045905
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045862
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 598
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.83999999999952
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 47.92000000000111
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 598
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.83999999999952
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96455.39000001283
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045907
{"compaign_id":"36075","contact_id":"1606","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1606","uid":"u595","unique_id":"36075_1606_138-u595","ivrId":"3158","channelOTime":1742045870,"channelDTime":1742045906,"channelDuration":36,"cSTime":1742045900,"cETime":1742045906,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08015428758","server_ip":"118.185.137.196","insertTime":1742045906,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045873,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1606
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1606
            [uid] => u595
            [unique_id] => 36075_1606_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045870
            [channelDTime] => 1742045906
            [channelDuration] => 36
            [cSTime] => 1742045900
            [cETime] => 1742045906
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08015428758
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045906
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045873
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 600
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.99999999999952
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 47.760000000001114
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 600
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 47.99999999999952
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96455.23000001283
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045908
{"compaign_id":"36075","contact_id":"1687","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1687","uid":"u595","unique_id":"36075_1687_138-u595","ivrId":"3158","channelOTime":1742045896,"channelDTime":1742045906,"channelDuration":10,"cSTime":1742045904,"cETime":1742045906,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09508330291","server_ip":"118.185.137.196","insertTime":1742045906,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045898,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1687
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1687
            [uid] => u595
            [unique_id] => 36075_1687_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045896
            [channelDTime] => 1742045906
            [channelDuration] => 10
            [cSTime] => 1742045904
            [cETime] => 1742045906
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09508330291
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045906
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045898
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 601
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.079999999999515
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 47.680000000001115
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 601
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.079999999999515
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96455.15000001283
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045908
{"compaign_id":"36075","contact_id":"1633","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1633","uid":"u595","unique_id":"36075_1633_138-u595","ivrId":"3158","channelOTime":1742045883,"channelDTime":1742045908,"channelDuration":25,"cSTime":1742045891,"cETime":1742045908,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08329474286","server_ip":"118.185.137.196","insertTime":1742045908,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045884,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1633
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1633
            [uid] => u595
            [unique_id] => 36075_1633_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045883
            [channelDTime] => 1742045908
            [channelDuration] => 25
            [cSTime] => 1742045891
            [cETime] => 1742045908
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08329474286
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045908
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045884
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 602
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.15999999999951
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 47.60000000000112
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 602
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.15999999999951
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96455.07000001283
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045909
{"compaign_id":"36075","contact_id":"1578","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1578","uid":"u595","unique_id":"36075_1578_138-u595","ivrId":"3158","channelOTime":1742045862,"channelDTime":1742045908,"channelDuration":46,"cSTime":1742045884,"cETime":1742045908,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07588677891","server_ip":"118.185.137.196","insertTime":1742045908,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045865,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045884,"endTime":1742045908,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1578
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1578
            [uid] => u595
            [unique_id] => 36075_1578_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045862
            [channelDTime] => 1742045908
            [channelDuration] => 46
            [cSTime] => 1742045884
            [cETime] => 1742045908
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07588677891
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045908
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045865
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045884
                                    [endTime] => 1742045908
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 604
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.31999999999951
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 47.44000000000112
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 604
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.31999999999951
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96454.91000001282
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045909
{"compaign_id":"36075","contact_id":"1635","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1635","uid":"u595","unique_id":"36075_1635_138-u595","ivrId":"3158","channelOTime":1742045883,"channelDTime":1742045908,"channelDuration":25,"cSTime":1742045902,"cETime":1742045908,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08434487679","server_ip":"118.185.137.196","insertTime":1742045908,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045885,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1635
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1635
            [uid] => u595
            [unique_id] => 36075_1635_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045883
            [channelDTime] => 1742045908
            [channelDuration] => 25
            [cSTime] => 1742045902
            [cETime] => 1742045908
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08434487679
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045908
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045885
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 606
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.47999999999951
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 47.280000000001124
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 606
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.47999999999951
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96454.75000001282
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045910
{"compaign_id":"36075","contact_id":"1636","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1636","uid":"u595","unique_id":"36075_1636_138-u595","ivrId":"3158","channelOTime":1742045884,"channelDTime":1742045910,"channelDuration":26,"cSTime":1742045898,"cETime":1742045910,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08123550266","server_ip":"118.185.137.196","insertTime":1742045910,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045886,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1636
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1636
            [uid] => u595
            [unique_id] => 36075_1636_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045884
            [channelDTime] => 1742045910
            [channelDuration] => 26
            [cSTime] => 1742045898
            [cETime] => 1742045910
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08123550266
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045910
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045886
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 607
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.559999999999505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 47.200000000001125
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 607
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.559999999999505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96454.67000001282
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045912
{"compaign_id":"36075","contact_id":"1669","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1669","uid":"u595","unique_id":"36075_1669_138-u595","ivrId":"3158","channelOTime":1742045890,"channelDTime":1742045911,"channelDuration":21,"cSTime":1742045901,"cETime":1742045911,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09665707748","server_ip":"118.185.137.196","insertTime":1742045911,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045892,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1669
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1669
            [uid] => u595
            [unique_id] => 36075_1669_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045890
            [channelDTime] => 1742045911
            [channelDuration] => 21
            [cSTime] => 1742045901
            [cETime] => 1742045911
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09665707748
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045911
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045892
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 608
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.6399999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 47.12000000000113
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 608
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.6399999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96454.59000001282
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045912
{"compaign_id":"36075","contact_id":"1660","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1660","uid":"u595","unique_id":"36075_1660_138-u595","ivrId":"3158","channelOTime":1742045888,"channelDTime":1742045912,"channelDuration":24,"cSTime":1742045909,"cETime":1742045912,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09967083316","server_ip":"118.185.137.196","insertTime":1742045912,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045892,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1660
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1660
            [uid] => u595
            [unique_id] => 36075_1660_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045888
            [channelDTime] => 1742045912
            [channelDuration] => 24
            [cSTime] => 1742045909
            [cETime] => 1742045912
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09967083316
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045912
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045892
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 609
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.7199999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 47.04000000000113
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 609
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.7199999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96454.51000001281
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045914
{"compaign_id":"36075","contact_id":"1665","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1665","uid":"u595","unique_id":"36075_1665_138-u595","ivrId":"3158","channelOTime":1742045889,"channelDTime":1742045912,"channelDuration":23,"cSTime":1742045902,"cETime":1742045912,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08096225383","server_ip":"118.185.137.196","insertTime":1742045912,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045892,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1665
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1665
            [uid] => u595
            [unique_id] => 36075_1665_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045889
            [channelDTime] => 1742045912
            [channelDuration] => 23
            [cSTime] => 1742045902
            [cETime] => 1742045912
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08096225383
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045912
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045892
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 610
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.7999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 46.96000000000113
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 610
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.7999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96454.43000001281
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045914
{"compaign_id":"36075","contact_id":"1680","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1680","uid":"u595","unique_id":"36075_1680_138-u595","ivrId":"3158","channelOTime":1742045894,"channelDTime":1742045913,"channelDuration":19,"cSTime":1742045908,"cETime":1742045913,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07995667775","server_ip":"118.185.137.196","insertTime":1742045913,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045899,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1680
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1680
            [uid] => u595
            [unique_id] => 36075_1680_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045894
            [channelDTime] => 1742045913
            [channelDuration] => 19
            [cSTime] => 1742045908
            [cETime] => 1742045913
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07995667775
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045913
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045899
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 611
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.8799999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 46.88000000000113
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 611
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.8799999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96454.35000001281
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045915
{"compaign_id":"36075","contact_id":"1659","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1659","uid":"u595","unique_id":"36075_1659_138-u595","ivrId":"3158","channelOTime":1742045888,"channelDTime":1742045915,"channelDuration":27,"cSTime":1742045907,"cETime":1742045915,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08339831353","server_ip":"118.185.137.196","insertTime":1742045915,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045890,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1659
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1659
            [uid] => u595
            [unique_id] => 36075_1659_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045888
            [channelDTime] => 1742045915
            [channelDuration] => 27
            [cSTime] => 1742045907
            [cETime] => 1742045915
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08339831353
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045915
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045890
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 612
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.959999999999496
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 46.800000000001134
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 612
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 48.959999999999496
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96454.27000001281
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045916
{"compaign_id":"36075","contact_id":"1696","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1696","uid":"u595","unique_id":"36075_1696_138-u595","ivrId":"3158","channelOTime":1742045897,"channelDTime":1742045915,"channelDuration":18,"cSTime":1742045907,"cETime":1742045915,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08897250378","server_ip":"118.185.137.196","insertTime":1742045915,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045899,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1696
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1696
            [uid] => u595
            [unique_id] => 36075_1696_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045897
            [channelDTime] => 1742045915
            [channelDuration] => 18
            [cSTime] => 1742045907
            [cETime] => 1742045915
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08897250378
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045915
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045899
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 613
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.039999999999495
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 46.720000000001136
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 613
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.039999999999495
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96454.19000001281
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045917
{"compaign_id":"36075","contact_id":"1655","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1655","uid":"u595","unique_id":"36075_1655_138-u595","ivrId":"3158","channelOTime":1742045887,"channelDTime":1742045915,"channelDuration":28,"cSTime":1742045903,"cETime":1742045915,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07352287414","server_ip":"118.185.137.196","insertTime":1742045915,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045889,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1655
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1655
            [uid] => u595
            [unique_id] => 36075_1655_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045887
            [channelDTime] => 1742045915
            [channelDuration] => 28
            [cSTime] => 1742045903
            [cETime] => 1742045915
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07352287414
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045915
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045889
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 614
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.11999999999949
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 46.64000000000114
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 614
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.11999999999949
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96454.1100000128
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045917
{"compaign_id":"36075","contact_id":"1658","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1658","uid":"u595","unique_id":"36075_1658_138-u595","ivrId":"3158","channelOTime":1742045888,"channelDTime":1742045916,"channelDuration":28,"cSTime":1742045894,"cETime":1742045916,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09394453294","server_ip":"118.185.137.196","insertTime":1742045916,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045891,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045894,"endTime":1742045918,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1658
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1658
            [uid] => u595
            [unique_id] => 36075_1658_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045888
            [channelDTime] => 1742045916
            [channelDuration] => 28
            [cSTime] => 1742045894
            [cETime] => 1742045916
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09394453294
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045916
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045891
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045894
                                    [endTime] => 1742045918
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 615
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.19999999999949
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 46.56000000000114
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 615
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.19999999999949
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96454.0300000128
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045917
{"compaign_id":"36075","contact_id":"1611","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1611","uid":"u595","unique_id":"36075_1611_138-u595","ivrId":"3158","channelOTime":1742045871,"channelDTime":1742045916,"channelDuration":45,"cSTime":1742045892,"cETime":1742045916,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09608523285","server_ip":"118.185.137.196","insertTime":1742045916,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045874,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045892,"endTime":1742045916,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1611
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1611
            [uid] => u595
            [unique_id] => 36075_1611_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045871
            [channelDTime] => 1742045916
            [channelDuration] => 45
            [cSTime] => 1742045892
            [cETime] => 1742045916
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09608523285
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045916
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045874
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045892
                                    [endTime] => 1742045916
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 617
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.35999999999949
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 46.40000000000114
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 617
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.35999999999949
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96453.8700000128
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045918
{"compaign_id":"36075","contact_id":"1690","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1690","uid":"u595","unique_id":"36075_1690_138-u595","ivrId":"3158","channelOTime":1742045896,"channelDTime":1742045916,"channelDuration":20,"cSTime":1742045907,"cETime":1742045916,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09701937830","server_ip":"118.185.137.196","insertTime":1742045916,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045901,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1690
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1690
            [uid] => u595
            [unique_id] => 36075_1690_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045896
            [channelDTime] => 1742045916
            [channelDuration] => 20
            [cSTime] => 1742045907
            [cETime] => 1742045916
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09701937830
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045916
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045901
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 619
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.519999999999484
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 46.240000000001146
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 619
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.519999999999484
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96453.7100000128
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045918
{"compaign_id":"36075","contact_id":"1704","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1704","uid":"u595","unique_id":"36075_1704_138-u595","ivrId":"3158","channelOTime":1742045899,"channelDTime":1742045918,"channelDuration":19,"cSTime":1742045914,"cETime":1742045918,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06009664392","server_ip":"118.185.137.196","insertTime":1742045918,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045905,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1704
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1704
            [uid] => u595
            [unique_id] => 36075_1704_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045899
            [channelDTime] => 1742045918
            [channelDuration] => 19
            [cSTime] => 1742045914
            [cETime] => 1742045918
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06009664392
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045918
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045905
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 620
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.59999999999948
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 46.16000000000115
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 620
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.59999999999948
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96453.6300000128
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045920
{"compaign_id":"36075","contact_id":"1718","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1718","uid":"u595","unique_id":"36075_1718_138-u595","ivrId":"3158","channelOTime":1742045902,"channelDTime":1742045918,"channelDuration":16,"cSTime":1742045914,"cETime":1742045918,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07499948850","server_ip":"118.185.137.196","insertTime":1742045918,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045904,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1718
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1718
            [uid] => u595
            [unique_id] => 36075_1718_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045902
            [channelDTime] => 1742045918
            [channelDuration] => 16
            [cSTime] => 1742045914
            [cETime] => 1742045918
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07499948850
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045918
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045904
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 621
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.67999999999948
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 46.08000000000115
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 621
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.67999999999948
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96453.5500000128
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045920
{"compaign_id":"36075","contact_id":"1604","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1604","uid":"u595","unique_id":"36075_1604_138-u595","ivrId":"3158","channelOTime":1742045870,"channelDTime":1742045918,"channelDuration":48,"cSTime":1742045895,"cETime":1742045918,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07077580186","server_ip":"118.185.137.196","insertTime":1742045918,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045879,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045895,"endTime":1742045918,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1604
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1604
            [uid] => u595
            [unique_id] => 36075_1604_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045870
            [channelDTime] => 1742045918
            [channelDuration] => 48
            [cSTime] => 1742045895
            [cETime] => 1742045918
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07077580186
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045918
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045879
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045895
                                    [endTime] => 1742045918
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 622
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.75999999999948
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 46.00000000000115
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 622
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.75999999999948
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96453.47000001279
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045920
{"compaign_id":"36075","contact_id":"1721","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1721","uid":"u595","unique_id":"36075_1721_138-u595","ivrId":"3158","channelOTime":1742045902,"channelDTime":1742045920,"channelDuration":18,"cSTime":1742045908,"cETime":1742045920,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09740162370","server_ip":"118.185.137.196","insertTime":1742045920,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045905,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1721
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1721
            [uid] => u595
            [unique_id] => 36075_1721_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045902
            [channelDTime] => 1742045920
            [channelDuration] => 18
            [cSTime] => 1742045908
            [cETime] => 1742045920
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09740162370
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045920
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045905
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 624
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.919999999999476
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 45.840000000001154
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 624
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.919999999999476
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96453.31000001279
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045921
{"compaign_id":"36075","contact_id":"1670","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1670","uid":"u595","unique_id":"36075_1670_138-u595","ivrId":"3158","channelOTime":1742045890,"channelDTime":1742045920,"channelDuration":30,"cSTime":1742045897,"cETime":1742045920,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07226064442","server_ip":"118.185.137.196","insertTime":1742045920,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045893,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045897,"endTime":1742045920,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1670
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1670
            [uid] => u595
            [unique_id] => 36075_1670_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045890
            [channelDTime] => 1742045920
            [channelDuration] => 30
            [cSTime] => 1742045897
            [cETime] => 1742045920
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07226064442
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045920
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045893
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045897
                                    [endTime] => 1742045920
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 625
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.999999999999474
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 45.760000000001156
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 625
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 49.999999999999474
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96453.23000001279
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045922
{"compaign_id":"36075","contact_id":"1668","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1668","uid":"u595","unique_id":"36075_1668_138-u595","ivrId":"3158","channelOTime":1742045890,"channelDTime":1742045920,"channelDuration":30,"cSTime":1742045904,"cETime":1742045920,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09149987534","server_ip":"118.185.137.196","insertTime":1742045920,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045894,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1668
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1668
            [uid] => u595
            [unique_id] => 36075_1668_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045890
            [channelDTime] => 1742045920
            [channelDuration] => 30
            [cSTime] => 1742045904
            [cETime] => 1742045920
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09149987534
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045920
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045894
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 627
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.15999999999947
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 45.60000000000116
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 627
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.15999999999947
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96453.07000001278
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045922
{"compaign_id":"36075","contact_id":"1727","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1727","uid":"u595","unique_id":"36075_1727_138-u595","ivrId":"3158","channelOTime":1742045904,"channelDTime":1742045921,"channelDuration":17,"cSTime":1742045915,"cETime":1742045921,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08904464436","server_ip":"118.185.137.196","insertTime":1742045921,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045906,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1727
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1727
            [uid] => u595
            [unique_id] => 36075_1727_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045904
            [channelDTime] => 1742045921
            [channelDuration] => 17
            [cSTime] => 1742045915
            [cETime] => 1742045921
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08904464436
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045921
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045906
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 629
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.31999999999947
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 45.44000000000116
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 629
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.31999999999947
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96452.91000001278
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045922
{"compaign_id":"36075","contact_id":"1692","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1692","uid":"u595","unique_id":"36075_1692_138-u595","ivrId":"3158","channelOTime":1742045897,"channelDTime":1742045923,"channelDuration":26,"cSTime":1742045919,"cETime":1742045923,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08085988901","server_ip":"118.185.137.196","insertTime":1742045923,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045899,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1692
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1692
            [uid] => u595
            [unique_id] => 36075_1692_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045897
            [channelDTime] => 1742045923
            [channelDuration] => 26
            [cSTime] => 1742045919
            [cETime] => 1742045923
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08085988901
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045923
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045899
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 630
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.399999999999466
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 45.360000000001165
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 630
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.399999999999466
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96452.83000001278
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045925
{"compaign_id":"36075","contact_id":"1682","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1682","uid":"u595","unique_id":"36075_1682_138-u595","ivrId":"3158","channelOTime":1742045895,"channelDTime":1742045925,"channelDuration":30,"cSTime":1742045901,"cETime":1742045925,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09842893960","server_ip":"118.185.137.196","insertTime":1742045925,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045896,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045901,"endTime":1742045925,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1682
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1682
            [uid] => u595
            [unique_id] => 36075_1682_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045895
            [channelDTime] => 1742045925
            [channelDuration] => 30
            [cSTime] => 1742045901
            [cETime] => 1742045925
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09842893960
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045925
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045896
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045901
                                    [endTime] => 1742045925
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 631
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.479999999999464
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 45.280000000001166
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 631
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.479999999999464
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96452.75000001278
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045926
{"compaign_id":"36075","contact_id":"1735","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1735","uid":"u595","unique_id":"36075_1735_138-u595","ivrId":"3158","channelOTime":1742045912,"channelDTime":1742045929,"channelDuration":17,"cSTime":1742045921,"cETime":1742045929,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08933835173","server_ip":"118.185.137.196","insertTime":1742045929,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045915,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1735
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1735
            [uid] => u595
            [unique_id] => 36075_1735_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045912
            [channelDTime] => 1742045929
            [channelDuration] => 17
            [cSTime] => 1742045921
            [cETime] => 1742045929
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08933835173
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045929
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045915
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 633
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.63999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 45.12000000000117
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 633
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.63999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96452.59000001277
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045931
{"compaign_id":"36075","contact_id":"1738","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1738","uid":"u595","unique_id":"36075_1738_138-u595","ivrId":"3158","channelOTime":1742045913,"channelDTime":1742045930,"channelDuration":17,"cSTime":1742045921,"cETime":1742045930,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09953002587","server_ip":"118.185.137.196","insertTime":1742045930,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045916,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1738
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1738
            [uid] => u595
            [unique_id] => 36075_1738_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045913
            [channelDTime] => 1742045930
            [channelDuration] => 17
            [cSTime] => 1742045921
            [cETime] => 1742045930
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09953002587
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045930
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045916
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 634
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.71999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 45.04000000000117
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 634
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.71999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96452.51000001277
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045932
{"compaign_id":"36075","contact_id":"1685","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1685","uid":"u595","unique_id":"36075_1685_138-u595","ivrId":"3158","channelOTime":1742045895,"channelDTime":1742045930,"channelDuration":35,"cSTime":1742045912,"cETime":1742045930,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07783907414","server_ip":"118.185.137.196","insertTime":1742045930,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045896,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1685
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1685
            [uid] => u595
            [unique_id] => 36075_1685_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045895
            [channelDTime] => 1742045930
            [channelDuration] => 35
            [cSTime] => 1742045912
            [cETime] => 1742045930
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07783907414
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045930
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045896
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 635
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.79999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 44.96000000000117
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 635
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.79999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96452.43000001277
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045932
{"compaign_id":"36075","contact_id":"1683","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1683","uid":"u595","unique_id":"36075_1683_138-u595","ivrId":"3158","channelOTime":1742045895,"channelDTime":1742045931,"channelDuration":36,"cSTime":1742045910,"cETime":1742045931,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09354363909","server_ip":"118.185.137.196","insertTime":1742045931,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045896,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1683
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1683
            [uid] => u595
            [unique_id] => 36075_1683_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045895
            [channelDTime] => 1742045931
            [channelDuration] => 36
            [cSTime] => 1742045910
            [cETime] => 1742045931
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09354363909
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045931
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045896
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 637
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.959999999999454
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 44.80000000000118
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 637
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 50.959999999999454
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96452.27000001277
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045932
{"compaign_id":"36075","contact_id":"1700","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1700","uid":"u595","unique_id":"36075_1700_138-u595","ivrId":"3158","channelOTime":1742045898,"channelDTime":1742045931,"channelDuration":33,"cSTime":1742045926,"cETime":1742045931,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07397447026","server_ip":"118.185.137.196","insertTime":1742045931,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045904,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1700
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1700
            [uid] => u595
            [unique_id] => 36075_1700_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045898
            [channelDTime] => 1742045931
            [channelDuration] => 33
            [cSTime] => 1742045926
            [cETime] => 1742045931
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07397447026
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045931
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045904
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 639
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.11999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 44.64000000000118
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 639
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.11999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96452.11000001276
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045933
{"compaign_id":"36075","contact_id":"1712","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1712","uid":"u595","unique_id":"36075_1712_138-u595","ivrId":"3158","channelOTime":1742045901,"channelDTime":1742045932,"channelDuration":31,"cSTime":1742045908,"cETime":1742045932,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08707742169","server_ip":"118.185.137.196","insertTime":1742045932,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045902,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045908,"endTime":1742045932,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1712
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1712
            [uid] => u595
            [unique_id] => 36075_1712_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045901
            [channelDTime] => 1742045932
            [channelDuration] => 31
            [cSTime] => 1742045908
            [cETime] => 1742045932
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08707742169
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045932
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045902
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045908
                                    [endTime] => 1742045932
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 640
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.19999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 44.56000000000118
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 640
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.19999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96452.03000001276
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045934
{"compaign_id":"36075","contact_id":"1750","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1750","uid":"u595","unique_id":"36075_1750_138-u595","ivrId":"3158","channelOTime":1742045915,"channelDTime":1742045933,"channelDuration":18,"cSTime":1742045929,"cETime":1742045933,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06003364926","server_ip":"118.185.137.196","insertTime":1742045933,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045918,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1750
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1750
            [uid] => u595
            [unique_id] => 36075_1750_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045915
            [channelDTime] => 1742045933
            [channelDuration] => 18
            [cSTime] => 1742045929
            [cETime] => 1742045933
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06003364926
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045933
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045918
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 642
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.359999999999445
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 44.400000000001185
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 642
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.359999999999445
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96451.87000001276
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045935
{"compaign_id":"36075","contact_id":"1779","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1779","uid":"u595","unique_id":"36075_1779_138-u595","ivrId":"3158","channelOTime":1742045921,"channelDTime":1742045934,"channelDuration":13,"cSTime":1742045930,"cETime":1742045934,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09064559233","server_ip":"118.185.137.196","insertTime":1742045934,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045925,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1779
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1779
            [uid] => u595
            [unique_id] => 36075_1779_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045921
            [channelDTime] => 1742045934
            [channelDuration] => 13
            [cSTime] => 1742045930
            [cETime] => 1742045934
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09064559233
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045934
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045925
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 643
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.43999999999944
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 44.32000000000119
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 643
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.43999999999944
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96451.79000001276
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045935
{"compaign_id":"36075","contact_id":"1726","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1726","uid":"u595","unique_id":"36075_1726_138-u595","ivrId":"3158","channelOTime":1742045903,"channelDTime":1742045935,"channelDuration":32,"cSTime":1742045930,"cETime":1742045935,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07006562401","server_ip":"118.185.137.196","insertTime":1742045935,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045906,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1726
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1726
            [uid] => u595
            [unique_id] => 36075_1726_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045903
            [channelDTime] => 1742045935
            [channelDuration] => 32
            [cSTime] => 1742045930
            [cETime] => 1742045935
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07006562401
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045935
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045906
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 644
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.51999999999944
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 44.24000000000119
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 644
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.51999999999944
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96451.71000001275
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045936
{"compaign_id":"36075","contact_id":"1647","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1647","uid":"u595","unique_id":"36075_1647_138-u595","ivrId":"3158","channelOTime":1742045886,"channelDTime":1742045935,"channelDuration":49,"cSTime":1742045912,"cETime":1742045935,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09491862371","server_ip":"118.185.137.196","insertTime":1742045935,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045888,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045912,"endTime":1742045935,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1647
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1647
            [uid] => u595
            [unique_id] => 36075_1647_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045886
            [channelDTime] => 1742045935
            [channelDuration] => 49
            [cSTime] => 1742045912
            [cETime] => 1742045935
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09491862371
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045935
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045888
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045912
                                    [endTime] => 1742045935
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 645
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.59999999999944
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 44.16000000000119
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 645
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.59999999999944
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96451.63000001275
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045937
{"compaign_id":"36075","contact_id":"1731","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1731","uid":"u595","unique_id":"36075_1731_138-u595","ivrId":"3158","channelOTime":1742045912,"channelDTime":1742045936,"channelDuration":24,"cSTime":1742045928,"cETime":1742045936,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09023871263","server_ip":"118.185.137.196","insertTime":1742045936,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045915,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1731
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1731
            [uid] => u595
            [unique_id] => 36075_1731_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045912
            [channelDTime] => 1742045936
            [channelDuration] => 24
            [cSTime] => 1742045928
            [cETime] => 1742045936
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09023871263
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045936
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045915
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 647
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.75999999999944
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 44.000000000001194
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 647
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.75999999999944
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96451.47000001275
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045938
{"compaign_id":"36075","contact_id":"1741","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1741","uid":"u595","unique_id":"36075_1741_138-u595","ivrId":"3158","channelOTime":1742045914,"channelDTime":1742045937,"channelDuration":23,"cSTime":1742045925,"cETime":1742045937,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09110403526","server_ip":"118.185.137.196","insertTime":1742045937,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045915,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045925,"endTime":1742045931,"duration":6}],"#3":[{"startTime":1742045931,"endTime":1742045937,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1741
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1741
            [uid] => u595
            [unique_id] => 36075_1741_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045914
            [channelDTime] => 1742045937
            [channelDuration] => 23
            [cSTime] => 1742045925
            [cETime] => 1742045937
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09110403526
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045937
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045915
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045925
                                    [endTime] => 1742045931
                                    [duration] => 6
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045931
                                    [endTime] => 1742045937
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 648
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.839999999999435
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 43.920000000001195
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 648
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.839999999999435
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96451.39000001275
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045939
{"compaign_id":"36075","contact_id":"1768","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1768","uid":"u595","unique_id":"36075_1768_138-u595","ivrId":"3158","channelOTime":1742045919,"channelDTime":1742045938,"channelDuration":19,"cSTime":1742045934,"cETime":1742045938,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08669254717","server_ip":"118.185.137.196","insertTime":1742045938,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045922,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1768
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1768
            [uid] => u595
            [unique_id] => 36075_1768_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045919
            [channelDTime] => 1742045938
            [channelDuration] => 19
            [cSTime] => 1742045934
            [cETime] => 1742045938
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08669254717
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045938
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045922
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 649
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.91999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 43.8400000000012
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 649
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.91999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96451.31000001275
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045939
{"compaign_id":"36075","contact_id":"1773","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1773","uid":"u595","unique_id":"36075_1773_138-u595","ivrId":"3158","channelOTime":1742045920,"channelDTime":1742045938,"channelDuration":18,"cSTime":1742045932,"cETime":1742045938,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07011538399","server_ip":"118.185.137.196","insertTime":1742045938,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045922,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1773
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1773
            [uid] => u595
            [unique_id] => 36075_1773_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045920
            [channelDTime] => 1742045938
            [channelDuration] => 18
            [cSTime] => 1742045932
            [cETime] => 1742045938
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07011538399
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045938
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045922
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 650
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.99999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 43.7600000000012
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 650
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 51.99999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96451.23000001274
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045940
{"compaign_id":"36075","contact_id":"1746","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1746","uid":"u595","unique_id":"36075_1746_138-u595","ivrId":"3158","channelOTime":1742045915,"channelDTime":1742045938,"channelDuration":23,"cSTime":1742045923,"cETime":1742045938,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09319628357","server_ip":"118.185.137.196","insertTime":1742045938,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045917,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1746
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1746
            [uid] => u595
            [unique_id] => 36075_1746_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045915
            [channelDTime] => 1742045938
            [channelDuration] => 23
            [cSTime] => 1742045923
            [cETime] => 1742045938
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09319628357
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045938
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045917
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 651
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.07999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 43.6800000000012
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 651
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.07999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96451.15000001274
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045940
{"compaign_id":"36075","contact_id":"1691","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1691","uid":"u595","unique_id":"36075_1691_138-u595","ivrId":"3158","channelOTime":1742045896,"channelDTime":1742045939,"channelDuration":43,"cSTime":1742045915,"cETime":1742045939,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09634680022","server_ip":"118.185.137.196","insertTime":1742045939,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045898,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045915,"endTime":1742045939,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1691
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1691
            [uid] => u595
            [unique_id] => 36075_1691_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045896
            [channelDTime] => 1742045939
            [channelDuration] => 43
            [cSTime] => 1742045915
            [cETime] => 1742045939
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09634680022
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045939
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045898
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045915
                                    [endTime] => 1742045939
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 652
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.15999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 43.6000000000012
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 652
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.15999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96451.07000001274
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045940
2025-03-15 19:09:01[LOG]Starting Cron
2025-03-15 19:09:01[LOG]Process is already running
{"compaign_id":"36075","contact_id":"1756","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1756","uid":"u595","unique_id":"36075_1756_138-u595","ivrId":"3158","channelOTime":1742045917,"channelDTime":1742045940,"channelDuration":23,"cSTime":1742045929,"cETime":1742045940,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09344118623","server_ip":"118.185.137.196","insertTime":1742045940,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045919,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1756
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1756
            [uid] => u595
            [unique_id] => 36075_1756_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045917
            [channelDTime] => 1742045940
            [channelDuration] => 23
            [cSTime] => 1742045929
            [cETime] => 1742045940
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09344118623
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045940
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045919
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 654
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.319999999999425
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 43.440000000001206
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 654
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.319999999999425
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96450.91000001274
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045942
{"compaign_id":"36075","contact_id":"1744","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1744","uid":"u595","unique_id":"36075_1744_138-u595","ivrId":"3158","channelOTime":1742045914,"channelDTime":1742045940,"channelDuration":26,"cSTime":1742045917,"cETime":1742045940,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07760069020","server_ip":"118.185.137.196","insertTime":1742045940,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045917,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045917,"endTime":1742045940,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1744
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1744
            [uid] => u595
            [unique_id] => 36075_1744_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045914
            [channelDTime] => 1742045940
            [channelDuration] => 26
            [cSTime] => 1742045917
            [cETime] => 1742045940
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07760069020
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045940
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045917
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045917
                                    [endTime] => 1742045940
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 655
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.39999999999942
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 43.36000000000121
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 655
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.39999999999942
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96450.83000001273
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045942
{"compaign_id":"36075","contact_id":"1748","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1748","uid":"u595","unique_id":"36075_1748_138-u595","ivrId":"3158","channelOTime":1742045915,"channelDTime":1742045941,"channelDuration":26,"cSTime":1742045927,"cETime":1742045941,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09113106562","server_ip":"118.185.137.196","insertTime":1742045941,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045918,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1748
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1748
            [uid] => u595
            [unique_id] => 36075_1748_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045915
            [channelDTime] => 1742045941
            [channelDuration] => 26
            [cSTime] => 1742045927
            [cETime] => 1742045941
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09113106562
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045941
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045918
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 657
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.55999999999942
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 43.20000000000121
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 657
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.55999999999942
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96450.67000001273
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045943
{"compaign_id":"36075","contact_id":"1765","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1765","uid":"u595","unique_id":"36075_1765_138-u595","ivrId":"3158","channelOTime":1742045918,"channelDTime":1742045942,"channelDuration":24,"cSTime":1742045933,"cETime":1742045942,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07871318329","server_ip":"118.185.137.196","insertTime":1742045942,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045921,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1765
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1765
            [uid] => u595
            [unique_id] => 36075_1765_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045918
            [channelDTime] => 1742045942
            [channelDuration] => 24
            [cSTime] => 1742045933
            [cETime] => 1742045942
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07871318329
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045942
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045921
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 658
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.63999999999942
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 43.12000000000121
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 658
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.63999999999942
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96450.59000001273
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045944
{"compaign_id":"36075","contact_id":"1818","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1818","uid":"u595","unique_id":"36075_1818_138-u595","ivrId":"3158","channelOTime":1742045937,"channelDTime":1742045944,"channelDuration":7,"cSTime":1742045942,"cETime":1742045944,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07005459055","server_ip":"118.185.137.196","insertTime":1742045944,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045938,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1818
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1818
            [uid] => u595
            [unique_id] => 36075_1818_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045937
            [channelDTime] => 1742045944
            [channelDuration] => 7
            [cSTime] => 1742045942
            [cETime] => 1742045944
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07005459055
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045944
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045938
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 659
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.719999999999416
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 43.040000000001214
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 659
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.719999999999416
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96450.51000001273
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045945
{"compaign_id":"36075","contact_id":"1808","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1808","uid":"u595","unique_id":"36075_1808_138-u595","ivrId":"3158","channelOTime":1742045935,"channelDTime":1742045946,"channelDuration":11,"cSTime":1742045941,"cETime":1742045946,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08872497321","server_ip":"118.185.137.196","insertTime":1742045946,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045937,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1808
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1808
            [uid] => u595
            [unique_id] => 36075_1808_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045935
            [channelDTime] => 1742045946
            [channelDuration] => 11
            [cSTime] => 1742045941
            [cETime] => 1742045946
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08872497321
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045946
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045937
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 660
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.799999999999415
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 42.960000000001216
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 660
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.799999999999415
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96450.43000001273
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045947
{"compaign_id":"36075","contact_id":"1796","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1796","uid":"u595","unique_id":"36075_1796_138-u595","ivrId":"3158","channelOTime":1742045932,"channelDTime":1742045946,"channelDuration":14,"cSTime":1742045940,"cETime":1742045946,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08847643667","server_ip":"118.185.137.196","insertTime":1742045946,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045934,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1796
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1796
            [uid] => u595
            [unique_id] => 36075_1796_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045932
            [channelDTime] => 1742045946
            [channelDuration] => 14
            [cSTime] => 1742045940
            [cETime] => 1742045946
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08847643667
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045946
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045934
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 661
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.87999999999941
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 42.88000000000122
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 661
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.87999999999941
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96450.35000001272
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045948
{"compaign_id":"36075","contact_id":"1770","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1770","uid":"u595","unique_id":"36075_1770_138-u595","ivrId":"3158","channelOTime":1742045919,"channelDTime":1742045947,"channelDuration":28,"cSTime":1742045936,"cETime":1742045947,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09582902049","server_ip":"118.185.137.196","insertTime":1742045947,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045927,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1770
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1770
            [uid] => u595
            [unique_id] => 36075_1770_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045919
            [channelDTime] => 1742045947
            [channelDuration] => 28
            [cSTime] => 1742045936
            [cETime] => 1742045947
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09582902049
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045947
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045927
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 662
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.95999999999941
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 42.80000000000122
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 662
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 52.95999999999941
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96450.27000001272
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045949
{"compaign_id":"36075","contact_id":"1809","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1809","uid":"u595","unique_id":"36075_1809_138-u595","ivrId":"3158","channelOTime":1742045935,"channelDTime":1742045951,"channelDuration":16,"cSTime":1742045941,"cETime":1742045951,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09633485858","server_ip":"118.185.137.196","insertTime":1742045951,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045937,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1809
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1809
            [uid] => u595
            [unique_id] => 36075_1809_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045935
            [channelDTime] => 1742045951
            [channelDuration] => 16
            [cSTime] => 1742045941
            [cETime] => 1742045951
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09633485858
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045951
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045937
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 663
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.03999999999941
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 42.72000000000122
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 663
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.03999999999941
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96450.19000001272
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045953
{"compaign_id":"36075","contact_id":"1772","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1772","uid":"u595","unique_id":"36075_1772_138-u595","ivrId":"3158","channelOTime":1742045920,"channelDTime":1742045951,"channelDuration":31,"cSTime":1742045928,"cETime":1742045951,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08582844823","server_ip":"118.185.137.196","insertTime":1742045951,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045921,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045928,"endTime":1742045951,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1772
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1772
            [uid] => u595
            [unique_id] => 36075_1772_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045920
            [channelDTime] => 1742045951
            [channelDuration] => 31
            [cSTime] => 1742045928
            [cETime] => 1742045951
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08582844823
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045951
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045921
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045928
                                    [endTime] => 1742045951
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 664
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.11999999999941
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 42.64000000000122
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 664
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.11999999999941
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96450.11000001272
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045953
{"compaign_id":"36075","contact_id":"1815","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1815","uid":"u595","unique_id":"36075_1815_138-u595","ivrId":"3158","channelOTime":1742045936,"channelDTime":1742045952,"channelDuration":16,"cSTime":1742045941,"cETime":1742045952,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07799622955","server_ip":"118.185.137.196","insertTime":1742045952,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045938,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1815
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1815
            [uid] => u595
            [unique_id] => 36075_1815_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045936
            [channelDTime] => 1742045952
            [channelDuration] => 16
            [cSTime] => 1742045941
            [cETime] => 1742045952
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07799622955
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045952
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045938
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 666
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.279999999999404
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 42.480000000001226
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 666
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.279999999999404
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96449.95000001272
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045954
{"compaign_id":"36075","contact_id":"1760","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1760","uid":"u595","unique_id":"36075_1760_138-u595","ivrId":"3158","channelOTime":1742045917,"channelDTime":1742045953,"channelDuration":36,"cSTime":1742045929,"cETime":1742045953,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09648769238","server_ip":"118.185.137.196","insertTime":1742045953,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045923,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045929,"endTime":1742045953,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1760
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1760
            [uid] => u595
            [unique_id] => 36075_1760_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045917
            [channelDTime] => 1742045953
            [channelDuration] => 36
            [cSTime] => 1742045929
            [cETime] => 1742045953
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09648769238
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045953
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045923
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045929
                                    [endTime] => 1742045953
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 667
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.3599999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 42.40000000000123
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 667
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.3599999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96449.87000001271
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045954
{"compaign_id":"36075","contact_id":"1800","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1800","uid":"u595","unique_id":"36075_1800_138-u595","ivrId":"3158","channelOTime":1742045933,"channelDTime":1742045954,"channelDuration":21,"cSTime":1742045945,"cETime":1742045954,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09011404371","server_ip":"118.185.137.196","insertTime":1742045954,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045936,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1800
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1800
            [uid] => u595
            [unique_id] => 36075_1800_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045933
            [channelDTime] => 1742045954
            [channelDuration] => 21
            [cSTime] => 1742045945
            [cETime] => 1742045954
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09011404371
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045954
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045936
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 669
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.5199999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 42.24000000000123
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 669
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.5199999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96449.71000001271
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045956
{"compaign_id":"36075","contact_id":"1793","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1793","uid":"u595","unique_id":"36075_1793_138-u595","ivrId":"3158","channelOTime":1742045932,"channelDTime":1742045955,"channelDuration":23,"cSTime":1742045948,"cETime":1742045955,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09080350923","server_ip":"118.185.137.196","insertTime":1742045955,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045934,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1793
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1793
            [uid] => u595
            [unique_id] => 36075_1793_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045932
            [channelDTime] => 1742045955
            [channelDuration] => 23
            [cSTime] => 1742045948
            [cETime] => 1742045955
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09080350923
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045955
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045934
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 670
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.5999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 42.16000000000123
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 670
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.5999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96449.63000001271
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045956
{"compaign_id":"36075","contact_id":"1828","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1828","uid":"u595","unique_id":"36075_1828_138-u595","ivrId":"3158","channelOTime":1742045939,"channelDTime":1742045955,"channelDuration":16,"cSTime":1742045950,"cETime":1742045955,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09448009687","server_ip":"118.185.137.196","insertTime":1742045955,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045941,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1828
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1828
            [uid] => u595
            [unique_id] => 36075_1828_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045939
            [channelDTime] => 1742045955
            [channelDuration] => 16
            [cSTime] => 1742045950
            [cETime] => 1742045955
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09448009687
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045955
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045941
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 671
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.679999999999396
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 42.080000000001235
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 671
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.679999999999396
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96449.5500000127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045957
{"compaign_id":"36075","contact_id":"1790","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1790","uid":"u595","unique_id":"36075_1790_138-u595","ivrId":"3158","channelOTime":1742045931,"channelDTime":1742045955,"channelDuration":24,"cSTime":1742045951,"cETime":1742045955,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07414962150","server_ip":"118.185.137.196","insertTime":1742045955,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045932,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1790
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1790
            [uid] => u595
            [unique_id] => 36075_1790_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045931
            [channelDTime] => 1742045955
            [channelDuration] => 24
            [cSTime] => 1742045951
            [cETime] => 1742045955
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07414962150
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045955
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045932
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 672
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.759999999999394
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 42.000000000001236
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 672
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.759999999999394
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96449.4700000127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045957
{"compaign_id":"36075","contact_id":"1816","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1816","uid":"u595","unique_id":"36075_1816_138-u595","ivrId":"3158","channelOTime":1742045936,"channelDTime":1742045956,"channelDuration":20,"cSTime":1742045950,"cETime":1742045956,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07398111253","server_ip":"118.185.137.196","insertTime":1742045956,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045939,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1816
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1816
            [uid] => u595
            [unique_id] => 36075_1816_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045936
            [channelDTime] => 1742045956
            [channelDuration] => 20
            [cSTime] => 1742045950
            [cETime] => 1742045956
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07398111253
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045956
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045939
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 673
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.83999999999939
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 41.92000000000124
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 673
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.83999999999939
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96449.3900000127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045957
{"compaign_id":"36075","contact_id":"1782","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1782","uid":"u595","unique_id":"36075_1782_138-u595","ivrId":"3158","channelOTime":1742045929,"channelDTime":1742045956,"channelDuration":27,"cSTime":1742045947,"cETime":1742045956,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09814219347","server_ip":"118.185.137.196","insertTime":1742045956,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045932,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1782
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1782
            [uid] => u595
            [unique_id] => 36075_1782_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045929
            [channelDTime] => 1742045956
            [channelDuration] => 27
            [cSTime] => 1742045947
            [cETime] => 1742045956
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09814219347
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045956
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045932
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 674
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.91999999999939
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 41.84000000000124
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 674
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.91999999999939
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96449.3100000127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045957
{"compaign_id":"36075","contact_id":"1778","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1778","uid":"u595","unique_id":"36075_1778_138-u595","ivrId":"3158","channelOTime":1742045921,"channelDTime":1742045957,"channelDuration":36,"cSTime":1742045947,"cETime":1742045957,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08918421366","server_ip":"118.185.137.196","insertTime":1742045957,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045923,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1778
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1778
            [uid] => u595
            [unique_id] => 36075_1778_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045921
            [channelDTime] => 1742045957
            [channelDuration] => 36
            [cSTime] => 1742045947
            [cETime] => 1742045957
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08918421366
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045957
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045923
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 675
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.99999999999939
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 41.76000000000124
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 675
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 53.99999999999939
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96449.2300000127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045959
{"compaign_id":"36075","contact_id":"1792","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1792","uid":"u595","unique_id":"36075_1792_138-u595","ivrId":"3158","channelOTime":1742045931,"channelDTime":1742045958,"channelDuration":27,"cSTime":1742045950,"cETime":1742045958,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06202203696","server_ip":"118.185.137.196","insertTime":1742045958,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045933,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1792
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1792
            [uid] => u595
            [unique_id] => 36075_1792_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045931
            [channelDTime] => 1742045958
            [channelDuration] => 27
            [cSTime] => 1742045950
            [cETime] => 1742045958
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06202203696
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045958
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045933
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 676
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.07999999999939
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 41.68000000000124
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 676
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.07999999999939
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96449.1500000127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045960
{"compaign_id":"36075","contact_id":"1749","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1749","uid":"u595","unique_id":"36075_1749_138-u595","ivrId":"3158","channelOTime":1742045915,"channelDTime":1742045959,"channelDuration":44,"cSTime":1742045935,"cETime":1742045959,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09542413059","server_ip":"118.185.137.196","insertTime":1742045959,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045917,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045935,"endTime":1742045959,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1749
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1749
            [uid] => u595
            [unique_id] => 36075_1749_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045915
            [channelDTime] => 1742045959
            [channelDuration] => 44
            [cSTime] => 1742045935
            [cETime] => 1742045959
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09542413059
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045959
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045917
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045935
                                    [endTime] => 1742045959
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 677
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.159999999999386
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 41.600000000001245
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 677
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.159999999999386
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96449.0700000127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045960
{"compaign_id":"36075","contact_id":"1825","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1825","uid":"u595","unique_id":"36075_1825_138-u595","ivrId":"3158","channelOTime":1742045938,"channelDTime":1742045960,"channelDuration":22,"cSTime":1742045946,"cETime":1742045960,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08871705317","server_ip":"118.185.137.196","insertTime":1742045960,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045941,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1825
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1825
            [uid] => u595
            [unique_id] => 36075_1825_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045938
            [channelDTime] => 1742045960
            [channelDuration] => 22
            [cSTime] => 1742045946
            [cETime] => 1742045960
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08871705317
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045960
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045941
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 679
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.31999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 41.44000000000125
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 679
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.31999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96448.9100000127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045961
{"compaign_id":"36075","contact_id":"1845","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1845","uid":"u595","unique_id":"36075_1845_138-u595","ivrId":"3158","channelOTime":1742045944,"channelDTime":1742045960,"channelDuration":16,"cSTime":1742045953,"cETime":1742045960,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09337799498","server_ip":"118.185.137.196","insertTime":1742045960,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045946,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1845
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1845
            [uid] => u595
            [unique_id] => 36075_1845_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045944
            [channelDTime] => 1742045960
            [channelDuration] => 16
            [cSTime] => 1742045953
            [cETime] => 1742045960
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09337799498
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045960
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045946
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 680
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.39999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 41.36000000000125
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 680
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.39999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96448.83000001269
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045962
{"compaign_id":"36075","contact_id":"1755","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1755","uid":"u595","unique_id":"36075_1755_138-u595","ivrId":"3158","channelOTime":1742045916,"channelDTime":1742045960,"channelDuration":44,"cSTime":1742045940,"cETime":1742045960,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08005977916","server_ip":"118.185.137.196","insertTime":1742045960,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045920,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1755
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1755
            [uid] => u595
            [unique_id] => 36075_1755_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045916
            [channelDTime] => 1742045960
            [channelDuration] => 44
            [cSTime] => 1742045940
            [cETime] => 1742045960
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08005977916
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045960
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045920
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 681
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.47999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 41.28000000000125
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 681
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.47999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96448.75000001269
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045962
{"compaign_id":"36075","contact_id":"1795","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1795","uid":"u595","unique_id":"36075_1795_138-u595","ivrId":"3158","channelOTime":1742045932,"channelDTime":1742045964,"channelDuration":32,"cSTime":1742045954,"cETime":1742045964,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08899610113","server_ip":"118.185.137.196","insertTime":1742045964,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045936,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1795
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1795
            [uid] => u595
            [unique_id] => 36075_1795_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045932
            [channelDTime] => 1742045964
            [channelDuration] => 32
            [cSTime] => 1742045954
            [cETime] => 1742045964
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08899610113
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045964
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045936
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 683
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.639999999999375
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 41.120000000001255
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 683
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.639999999999375
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96448.59000001269
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045966
{"compaign_id":"36075","contact_id":"1878","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1878","uid":"u595","unique_id":"36075_1878_138-u595","ivrId":"3158","channelOTime":1742045950,"channelDTime":1742045965,"channelDuration":15,"cSTime":1742045959,"cETime":1742045965,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07488376883","server_ip":"118.185.137.196","insertTime":1742045965,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045952,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1878
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1878
            [uid] => u595
            [unique_id] => 36075_1878_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045950
            [channelDTime] => 1742045965
            [channelDuration] => 15
            [cSTime] => 1742045959
            [cETime] => 1742045965
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07488376883
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045965
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045952
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 684
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.719999999999374
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 41.04000000000126
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 684
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.719999999999374
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96448.51000001268
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045966
{"compaign_id":"36075","contact_id":"1837","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1837","uid":"u595","unique_id":"36075_1837_138-u595","ivrId":"3158","channelOTime":1742045942,"channelDTime":1742045968,"channelDuration":26,"cSTime":1742045954,"cETime":1742045968,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07007694999","server_ip":"118.185.137.196","insertTime":1742045968,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045948,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1837
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1837
            [uid] => u595
            [unique_id] => 36075_1837_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045942
            [channelDTime] => 1742045968
            [channelDuration] => 26
            [cSTime] => 1742045954
            [cETime] => 1742045968
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07007694999
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045968
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045948
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 685
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.79999999999937
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 40.96000000000126
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 685
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.79999999999937
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96448.43000001268
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045970
{"compaign_id":"36075","contact_id":"1767","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1767","uid":"u595","unique_id":"36075_1767_138-u595","ivrId":"3158","channelOTime":1742045919,"channelDTime":1742045971,"channelDuration":52,"cSTime":1742045947,"cETime":1742045971,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09026523215","server_ip":"118.185.137.196","insertTime":1742045971,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045920,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045947,"endTime":1742045971,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1767
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1767
            [uid] => u595
            [unique_id] => 36075_1767_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045919
            [channelDTime] => 1742045971
            [channelDuration] => 52
            [cSTime] => 1742045947
            [cETime] => 1742045971
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09026523215
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045971
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045920
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045947
                                    [endTime] => 1742045971
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 686
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.87999999999937
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 40.88000000000126
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 686
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 54.87999999999937
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96448.35000001268
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045972
{"compaign_id":"36075","contact_id":"1847","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1847","uid":"u595","unique_id":"36075_1847_138-u595","ivrId":"3158","channelOTime":1742045944,"channelDTime":1742045972,"channelDuration":28,"cSTime":1742045968,"cETime":1742045972,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09284339230","server_ip":"118.185.137.196","insertTime":1742045972,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045946,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1847
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1847
            [uid] => u595
            [unique_id] => 36075_1847_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045944
            [channelDTime] => 1742045972
            [channelDuration] => 28
            [cSTime] => 1742045968
            [cETime] => 1742045972
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09284339230
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045972
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045946
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 688
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.03999999999937
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 40.720000000001264
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 688
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.03999999999937
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96448.19000001268
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045973
{"compaign_id":"36075","contact_id":"1925","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1925","uid":"u595","unique_id":"36075_1925_138-u595","ivrId":"3158","channelOTime":1742045961,"channelDTime":1742045973,"channelDuration":12,"cSTime":1742045966,"cETime":1742045973,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09746538575","server_ip":"118.185.137.196","insertTime":1742045973,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045965,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1925
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1925
            [uid] => u595
            [unique_id] => 36075_1925_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045961
            [channelDTime] => 1742045973
            [channelDuration] => 12
            [cSTime] => 1742045966
            [cETime] => 1742045973
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09746538575
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045973
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045965
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 689
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.119999999999365
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 40.640000000001265
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 689
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.119999999999365
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96448.11000001268
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045975
{"compaign_id":"36075","contact_id":"1908","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1908","uid":"u595","unique_id":"36075_1908_138-u595","ivrId":"3158","channelOTime":1742045958,"channelDTime":1742045974,"channelDuration":16,"cSTime":1742045971,"cETime":1742045974,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08512870073","server_ip":"118.185.137.196","insertTime":1742045974,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045961,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1908
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1908
            [uid] => u595
            [unique_id] => 36075_1908_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045958
            [channelDTime] => 1742045974
            [channelDuration] => 16
            [cSTime] => 1742045971
            [cETime] => 1742045974
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08512870073
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045974
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045961
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 690
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.19999999999936
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 40.56000000000127
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 690
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.19999999999936
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96448.03000001267
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045975
{"compaign_id":"36075","contact_id":"1840","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1840","uid":"u595","unique_id":"36075_1840_138-u595","ivrId":"3158","channelOTime":1742045943,"channelDTime":1742045974,"channelDuration":31,"cSTime":1742045961,"cETime":1742045974,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09350607533","server_ip":"118.185.137.196","insertTime":1742045974,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045946,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1840
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1840
            [uid] => u595
            [unique_id] => 36075_1840_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045943
            [channelDTime] => 1742045974
            [channelDuration] => 31
            [cSTime] => 1742045961
            [cETime] => 1742045974
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09350607533
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045974
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045946
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 691
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.27999999999936
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 40.48000000000127
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 691
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.27999999999936
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96447.95000001267
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045975
{"compaign_id":"36075","contact_id":"1927","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1927","uid":"u595","unique_id":"36075_1927_138-u595","ivrId":"3158","channelOTime":1742045962,"channelDTime":1742045977,"channelDuration":15,"cSTime":1742045970,"cETime":1742045977,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09880218462","server_ip":"118.185.137.196","insertTime":1742045977,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045964,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1927
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1927
            [uid] => u595
            [unique_id] => 36075_1927_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045962
            [channelDTime] => 1742045977
            [channelDuration] => 15
            [cSTime] => 1742045970
            [cETime] => 1742045977
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09880218462
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045977
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045964
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 692
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.35999999999936
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 40.40000000000127
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 692
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.35999999999936
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96447.87000001267
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045978
{"compaign_id":"36075","contact_id":"1854","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1854","uid":"u595","unique_id":"36075_1854_138-u595","ivrId":"3158","channelOTime":1742045945,"channelDTime":1742045977,"channelDuration":32,"cSTime":1742045957,"cETime":1742045977,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09031766732","server_ip":"118.185.137.196","insertTime":1742045977,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045948,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1854
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1854
            [uid] => u595
            [unique_id] => 36075_1854_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045945
            [channelDTime] => 1742045977
            [channelDuration] => 32
            [cSTime] => 1742045957
            [cETime] => 1742045977
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09031766732
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045977
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045948
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 693
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.43999999999936
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 40.32000000000127
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 693
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.43999999999936
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96447.79000001267
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045979
{"compaign_id":"36075","contact_id":"1846","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1846","uid":"u595","unique_id":"36075_1846_138-u595","ivrId":"3158","channelOTime":1742045944,"channelDTime":1742045979,"channelDuration":35,"cSTime":1742045957,"cETime":1742045979,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08827611564","server_ip":"118.185.137.196","insertTime":1742045979,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045948,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045957,"endTime":1742045981,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1846
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1846
            [uid] => u595
            [unique_id] => 36075_1846_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045944
            [channelDTime] => 1742045979
            [channelDuration] => 35
            [cSTime] => 1742045957
            [cETime] => 1742045979
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08827611564
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045979
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045948
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045957
                                    [endTime] => 1742045981
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 695
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.599999999999355
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 40.160000000001276
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 695
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.599999999999355
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96447.63000001266
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045981
{"compaign_id":"36075","contact_id":"1875","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1875","uid":"u595","unique_id":"36075_1875_138-u595","ivrId":"3158","channelOTime":1742045950,"channelDTime":1742045980,"channelDuration":30,"cSTime":1742045975,"cETime":1742045980,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09954343535","server_ip":"118.185.137.196","insertTime":1742045980,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045952,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1875
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1875
            [uid] => u595
            [unique_id] => 36075_1875_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045950
            [channelDTime] => 1742045980
            [channelDuration] => 30
            [cSTime] => 1742045975
            [cETime] => 1742045980
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09954343535
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045980
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045952
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 697
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.75999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 40.00000000000128
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 697
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.75999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96447.47000001266
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045981
{"compaign_id":"36075","contact_id":"1869","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1869","uid":"u595","unique_id":"36075_1869_138-u595","ivrId":"3158","channelOTime":1742045948,"channelDTime":1742045980,"channelDuration":32,"cSTime":1742045965,"cETime":1742045980,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07005843747","server_ip":"118.185.137.196","insertTime":1742045980,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045951,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1869
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1869
            [uid] => u595
            [unique_id] => 36075_1869_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045948
            [channelDTime] => 1742045980
            [channelDuration] => 32
            [cSTime] => 1742045965
            [cETime] => 1742045980
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07005843747
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045980
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045951
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 698
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.83999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 39.92000000000128
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 698
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.83999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96447.39000001266
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045981
{"compaign_id":"36075","contact_id":"1834","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1834","uid":"u595","unique_id":"36075_1834_138-u595","ivrId":"3158","channelOTime":1742045941,"channelDTime":1742045981,"channelDuration":40,"cSTime":1742045962,"cETime":1742045981,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07016430672","server_ip":"118.185.137.196","insertTime":1742045981,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045943,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1834
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1834
            [uid] => u595
            [unique_id] => 36075_1834_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045941
            [channelDTime] => 1742045981
            [channelDuration] => 40
            [cSTime] => 1742045962
            [cETime] => 1742045981
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07016430672
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045981
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045943
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 699
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.91999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 39.84000000000128
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 699
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 55.91999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96447.31000001266
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045982
{"compaign_id":"36075","contact_id":"1920","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1920","uid":"u595","unique_id":"36075_1920_138-u595","ivrId":"3158","channelOTime":1742045960,"channelDTime":1742045982,"channelDuration":22,"cSTime":1742045969,"cETime":1742045982,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07095117374","server_ip":"118.185.137.196","insertTime":1742045982,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045962,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1920
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1920
            [uid] => u595
            [unique_id] => 36075_1920_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045960
            [channelDTime] => 1742045982
            [channelDuration] => 22
            [cSTime] => 1742045969
            [cETime] => 1742045982
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07095117374
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045982
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045962
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 701
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.079999999999345
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 39.680000000001286
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 701
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.079999999999345
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96447.15000001265
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045983
{"compaign_id":"36075","contact_id":"1873","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1873","uid":"u595","unique_id":"36075_1873_138-u595","ivrId":"3158","channelOTime":1742045949,"channelDTime":1742045982,"channelDuration":33,"cSTime":1742045958,"cETime":1742045982,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07524984595","server_ip":"118.185.137.196","insertTime":1742045982,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045951,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045958,"endTime":1742045982,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1873
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1873
            [uid] => u595
            [unique_id] => 36075_1873_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045949
            [channelDTime] => 1742045982
            [channelDuration] => 33
            [cSTime] => 1742045958
            [cETime] => 1742045982
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07524984595
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045982
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045951
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045958
                                    [endTime] => 1742045982
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 702
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.15999999999934
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 39.60000000000129
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 702
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.15999999999934
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96447.07000001265
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045984
{"compaign_id":"36075","contact_id":"1870","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1870","uid":"u595","unique_id":"36075_1870_138-u595","ivrId":"3158","channelOTime":1742045949,"channelDTime":1742045982,"channelDuration":33,"cSTime":1742045974,"cETime":1742045982,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08056616862","server_ip":"118.185.137.196","insertTime":1742045982,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045951,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1870
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1870
            [uid] => u595
            [unique_id] => 36075_1870_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045949
            [channelDTime] => 1742045982
            [channelDuration] => 33
            [cSTime] => 1742045974
            [cETime] => 1742045982
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08056616862
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045982
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045951
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 704
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.31999999999934
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 39.44000000000129
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 704
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.31999999999934
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96446.91000001265
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045984
{"compaign_id":"36075","contact_id":"1953","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1953","uid":"u595","unique_id":"36075_1953_138-u595","ivrId":"3158","channelOTime":1742045974,"channelDTime":1742045984,"channelDuration":10,"cSTime":1742045982,"cETime":1742045984,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08825229467","server_ip":"118.185.137.196","insertTime":1742045984,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045978,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1953
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1953
            [uid] => u595
            [unique_id] => 36075_1953_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045974
            [channelDTime] => 1742045984
            [channelDuration] => 10
            [cSTime] => 1742045982
            [cETime] => 1742045984
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08825229467
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045984
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045978
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 705
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.39999999999934
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 39.36000000000129
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 705
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.39999999999934
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96446.83000001265
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045986
{"compaign_id":"36075","contact_id":"1929","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1929","uid":"u595","unique_id":"36075_1929_138-u595","ivrId":"3158","channelOTime":1742045962,"channelDTime":1742045987,"channelDuration":25,"cSTime":1742045979,"cETime":1742045987,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09789665309","server_ip":"118.185.137.196","insertTime":1742045987,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045964,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1929
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1929
            [uid] => u595
            [unique_id] => 36075_1929_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045962
            [channelDTime] => 1742045987
            [channelDuration] => 25
            [cSTime] => 1742045979
            [cETime] => 1742045987
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09789665309
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045987
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045964
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 706
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.479999999999336
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 39.280000000001294
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 706
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.479999999999336
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96446.75000001265
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045988
{"compaign_id":"36075","contact_id":"1966","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1966","uid":"u595","unique_id":"36075_1966_138-u595","ivrId":"3158","channelOTime":1742045977,"channelDTime":1742045987,"channelDuration":10,"cSTime":1742045981,"cETime":1742045987,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08582892591","server_ip":"118.185.137.196","insertTime":1742045987,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045979,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1966
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1966
            [uid] => u595
            [unique_id] => 36075_1966_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045977
            [channelDTime] => 1742045987
            [channelDuration] => 10
            [cSTime] => 1742045981
            [cETime] => 1742045987
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08582892591
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045987
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045979
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 707
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.559999999999334
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 39.200000000001296
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 707
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.559999999999334
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96446.67000001264
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045989
{"compaign_id":"36075","contact_id":"1977","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1977","uid":"u595","unique_id":"36075_1977_138-u595","ivrId":"3158","channelOTime":1742045979,"channelDTime":1742045988,"channelDuration":9,"cSTime":1742045985,"cETime":1742045988,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06203545869","server_ip":"118.185.137.196","insertTime":1742045988,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045980,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1977
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1977
            [uid] => u595
            [unique_id] => 36075_1977_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045979
            [channelDTime] => 1742045988
            [channelDuration] => 9
            [cSTime] => 1742045985
            [cETime] => 1742045988
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06203545869
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045988
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045980
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 708
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.63999999999933
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 39.1200000000013
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 708
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.63999999999933
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96446.59000001264
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045990
{"compaign_id":"36075","contact_id":"1945","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1945","uid":"u595","unique_id":"36075_1945_138-u595","ivrId":"3158","channelOTime":1742045973,"channelDTime":1742045990,"channelDuration":17,"cSTime":1742045984,"cETime":1742045990,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09470559098","server_ip":"118.185.137.196","insertTime":1742045990,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045979,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1945
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1945
            [uid] => u595
            [unique_id] => 36075_1945_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045973
            [channelDTime] => 1742045990
            [channelDuration] => 17
            [cSTime] => 1742045984
            [cETime] => 1742045990
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09470559098
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045990
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045979
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 709
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.71999999999933
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 39.0400000000013
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 709
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.71999999999933
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96446.51000001264
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045992
{"compaign_id":"36075","contact_id":"1843","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1843","uid":"u595","unique_id":"36075_1843_138-u595","ivrId":"3158","channelOTime":1742045943,"channelDTime":1742045990,"channelDuration":47,"cSTime":1742045967,"cETime":1742045990,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08797616402","server_ip":"118.185.137.196","insertTime":1742045990,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045945,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045967,"endTime":1742045990,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1843
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1843
            [uid] => u595
            [unique_id] => 36075_1843_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045943
            [channelDTime] => 1742045990
            [channelDuration] => 47
            [cSTime] => 1742045967
            [cETime] => 1742045990
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08797616402
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045990
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045945
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045967
                                    [endTime] => 1742045990
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 710
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.79999999999933
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 38.9600000000013
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 710
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.79999999999933
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96446.43000001264
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045992
{"compaign_id":"36075","contact_id":"1893","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1893","uid":"u595","unique_id":"36075_1893_138-u595","ivrId":"3158","channelOTime":1742045955,"channelDTime":1742045990,"channelDuration":35,"cSTime":1742045971,"cETime":1742045990,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09065548304","server_ip":"118.185.137.196","insertTime":1742045990,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045957,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1893
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1893
            [uid] => u595
            [unique_id] => 36075_1893_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045955
            [channelDTime] => 1742045990
            [channelDuration] => 35
            [cSTime] => 1742045971
            [cETime] => 1742045990
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09065548304
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045990
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045957
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 712
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.959999999999326
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 38.800000000001305
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 712
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 56.959999999999326
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96446.27000001264
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045992
{"compaign_id":"36075","contact_id":"1886","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1886","uid":"u595","unique_id":"36075_1886_138-u595","ivrId":"3158","channelOTime":1742045954,"channelDTime":1742045991,"channelDuration":37,"cSTime":1742045969,"cETime":1742045991,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07043272775","server_ip":"118.185.137.196","insertTime":1742045991,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045956,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045969,"endTime":1742045992,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1886
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1886
            [uid] => u595
            [unique_id] => 36075_1886_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045954
            [channelDTime] => 1742045991
            [channelDuration] => 37
            [cSTime] => 1742045969
            [cETime] => 1742045991
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07043272775
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045991
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045956
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045969
                                    [endTime] => 1742045992
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 714
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.11999999999932
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 38.64000000000131
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 714
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.11999999999932
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96446.11000001263
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045993
{"compaign_id":"36075","contact_id":"1959","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1959","uid":"u595","unique_id":"36075_1959_138-u595","ivrId":"3158","channelOTime":1742045975,"channelDTime":1742045993,"channelDuration":18,"cSTime":1742045982,"cETime":1742045993,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08409477239","server_ip":"118.185.137.196","insertTime":1742045993,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045977,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1959
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1959
            [uid] => u595
            [unique_id] => 36075_1959_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045975
            [channelDTime] => 1742045993
            [channelDuration] => 18
            [cSTime] => 1742045982
            [cETime] => 1742045993
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08409477239
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045993
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045977
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 716
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.27999999999932
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 38.48000000000131
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 716
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.27999999999932
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96445.95000001263
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045995
{"compaign_id":"36075","contact_id":"1866","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1866","uid":"u595","unique_id":"36075_1866_138-u595","ivrId":"3158","channelOTime":1742045948,"channelDTime":1742045993,"channelDuration":45,"cSTime":1742045970,"cETime":1742045993,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06289369204","server_ip":"118.185.137.196","insertTime":1742045993,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045950,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045970,"endTime":1742045993,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1866
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1866
            [uid] => u595
            [unique_id] => 36075_1866_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045948
            [channelDTime] => 1742045993
            [channelDuration] => 45
            [cSTime] => 1742045970
            [cETime] => 1742045993
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06289369204
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045993
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045950
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045970
                                    [endTime] => 1742045993
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 717
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.35999999999932
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 38.40000000000131
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 717
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.35999999999932
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96445.87000001263
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045995
{"compaign_id":"36075","contact_id":"1963","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1963","uid":"u595","unique_id":"36075_1963_138-u595","ivrId":"3158","channelOTime":1742045976,"channelDTime":1742045994,"channelDuration":18,"cSTime":1742045987,"cETime":1742045994,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08017626453","server_ip":"118.185.137.196","insertTime":1742045994,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045978,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1963
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1963
            [uid] => u595
            [unique_id] => 36075_1963_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045976
            [channelDTime] => 1742045994
            [channelDuration] => 18
            [cSTime] => 1742045987
            [cETime] => 1742045994
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08017626453
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045994
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045978
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 719
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.519999999999314
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 38.24000000000132
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 719
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.519999999999314
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96445.71000001262
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045995
{"compaign_id":"36075","contact_id":"1965","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1965","uid":"u595","unique_id":"36075_1965_138-u595","ivrId":"3158","channelOTime":1742045977,"channelDTime":1742045995,"channelDuration":18,"cSTime":1742045984,"cETime":1742045995,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09925854666","server_ip":"118.185.137.196","insertTime":1742045995,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045979,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1965
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1965
            [uid] => u595
            [unique_id] => 36075_1965_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045977
            [channelDTime] => 1742045995
            [channelDuration] => 18
            [cSTime] => 1742045984
            [cETime] => 1742045995
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09925854666
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045995
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045979
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 720
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.59999999999931
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 38.16000000000132
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 720
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.59999999999931
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96445.63000001262
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045997
{"compaign_id":"36075","contact_id":"1983","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1983","uid":"u595","unique_id":"36075_1983_138-u595","ivrId":"3158","channelOTime":1742045982,"channelDTime":1742045996,"channelDuration":14,"cSTime":1742045991,"cETime":1742045996,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09019634234","server_ip":"118.185.137.196","insertTime":1742045996,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045984,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1983
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1983
            [uid] => u595
            [unique_id] => 36075_1983_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045982
            [channelDTime] => 1742045996
            [channelDuration] => 14
            [cSTime] => 1742045991
            [cETime] => 1742045996
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09019634234
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045996
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045984
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 721
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.67999999999931
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 38.08000000000132
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 721
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.67999999999931
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96445.55000001262
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742045998
{"compaign_id":"36075","contact_id":"1861","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1861","uid":"u595","unique_id":"36075_1861_138-u595","ivrId":"3158","channelOTime":1742045947,"channelDTime":1742045996,"channelDuration":49,"cSTime":1742045973,"cETime":1742045996,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09655429983","server_ip":"118.185.137.196","insertTime":1742045996,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045951,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045973,"endTime":1742045996,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1861
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1861
            [uid] => u595
            [unique_id] => 36075_1861_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045947
            [channelDTime] => 1742045996
            [channelDuration] => 49
            [cSTime] => 1742045973
            [cETime] => 1742045996
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09655429983
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045996
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045951
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045973
                                    [endTime] => 1742045996
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 722
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.75999999999931
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 38.00000000000132
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 722
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.75999999999931
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96445.47000001262
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742045998
{"compaign_id":"36075","contact_id":"1948","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1948","uid":"u595","unique_id":"36075_1948_138-u595","ivrId":"3158","channelOTime":1742045973,"channelDTime":1742045998,"channelDuration":25,"cSTime":1742045983,"cETime":1742045998,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09952717281","server_ip":"118.185.137.196","insertTime":1742045998,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045975,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1948
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1948
            [uid] => u595
            [unique_id] => 36075_1948_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045973
            [channelDTime] => 1742045998
            [channelDuration] => 25
            [cSTime] => 1742045983
            [cETime] => 1742045998
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09952717281
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045998
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045975
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 724
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.919999999999305
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 37.840000000001325
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 724
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.919999999999305
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96445.31000001261
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046000
{"compaign_id":"36075","contact_id":"1990","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1990","uid":"u595","unique_id":"36075_1990_138-u595","ivrId":"3158","channelOTime":1742045984,"channelDTime":1742045999,"channelDuration":15,"cSTime":1742045995,"cETime":1742045999,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09326639748","server_ip":"118.185.137.196","insertTime":1742045999,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1990
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1990
            [uid] => u595
            [unique_id] => 36075_1990_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045984
            [channelDTime] => 1742045999
            [channelDuration] => 15
            [cSTime] => 1742045995
            [cETime] => 1742045999
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09326639748
            [server_ip] => 118.185.137.196
            [insertTime] => 1742045999
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 725
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.999999999999304
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 37.76000000000133
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 725
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 57.999999999999304
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96445.23000001261
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046001
{"compaign_id":"36075","contact_id":"1944","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1944","uid":"u595","unique_id":"36075_1944_138-u595","ivrId":"3158","channelOTime":1742045972,"channelDTime":1742046000,"channelDuration":28,"cSTime":1742045986,"cETime":1742046000,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09693115851","server_ip":"118.185.137.196","insertTime":1742046000,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045974,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1944
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1944
            [uid] => u595
            [unique_id] => 36075_1944_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045972
            [channelDTime] => 1742046000
            [channelDuration] => 28
            [cSTime] => 1742045986
            [cETime] => 1742046000
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09693115851
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046000
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045974
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 726
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.0799999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 37.68000000000133
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 726
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.0799999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96445.15000001261
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046002
{"compaign_id":"36075","contact_id":"1902","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1902","uid":"u595","unique_id":"36075_1902_138-u595","ivrId":"3158","channelOTime":1742045957,"channelDTime":1742046000,"channelDuration":43,"cSTime":1742045976,"cETime":1742046000,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08302218838","server_ip":"118.185.137.196","insertTime":1742046000,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045958,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045976,"endTime":1742045994,"duration":18}],"#3":[{"startTime":1742045994,"endTime":1742046000,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1902
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1902
            [uid] => u595
            [unique_id] => 36075_1902_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045957
            [channelDTime] => 1742046000
            [channelDuration] => 43
            [cSTime] => 1742045976
            [cETime] => 1742046000
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08302218838
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046000
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045958
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045976
                                    [endTime] => 1742045994
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045994
                                    [endTime] => 1742046000
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 727
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.1599999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 37.60000000000133
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 727
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.1599999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96445.07000001261
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046002
{"compaign_id":"36075","contact_id":"2024","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2024","uid":"u595","unique_id":"36075_2024_138-u595","ivrId":"3158","channelOTime":1742045990,"channelDTime":1742046000,"channelDuration":10,"cSTime":1742045998,"cETime":1742046000,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06009180344","server_ip":"118.185.137.196","insertTime":1742046000,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045993,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2024
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2024
            [uid] => u595
            [unique_id] => 36075_2024_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045990
            [channelDTime] => 1742046000
            [channelDuration] => 10
            [cSTime] => 1742045998
            [cETime] => 1742046000
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06009180344
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046000
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045993
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found 2025-03-15 19:10:02[LOG]Starting Cron
2025-03-15 19:10:02[LOG]Process is already running
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 729
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.3199999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 37.44000000000133
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 729
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.3199999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96444.9100000126
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046002
{"compaign_id":"36075","contact_id":"1957","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1957","uid":"u595","unique_id":"36075_1957_138-u595","ivrId":"3158","channelOTime":1742045975,"channelDTime":1742046002,"channelDuration":27,"cSTime":1742045996,"cETime":1742046002,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09742097294","server_ip":"118.185.137.196","insertTime":1742046002,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045979,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1957
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1957
            [uid] => u595
            [unique_id] => 36075_1957_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045975
            [channelDTime] => 1742046002
            [channelDuration] => 27
            [cSTime] => 1742045996
            [cETime] => 1742046002
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09742097294
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046002
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045979
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 730
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.399999999999295
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 37.360000000001335
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 730
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.399999999999295
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96444.8300000126
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046004
{"compaign_id":"36075","contact_id":"2020","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2020","uid":"u595","unique_id":"36075_2020_138-u595","ivrId":"3158","channelOTime":1742045990,"channelDTime":1742046004,"channelDuration":14,"cSTime":1742045997,"cETime":1742046004,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08179872623","server_ip":"118.185.137.196","insertTime":1742046004,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045992,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2020
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2020
            [uid] => u595
            [unique_id] => 36075_2020_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045990
            [channelDTime] => 1742046004
            [channelDuration] => 14
            [cSTime] => 1742045997
            [cETime] => 1742046004
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08179872623
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046004
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045992
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 731
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.47999999999929
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 37.28000000000134
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 731
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.47999999999929
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96444.7500000126
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046006
{"compaign_id":"36075","contact_id":"2012","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2012","uid":"u595","unique_id":"36075_2012_138-u595","ivrId":"3158","channelOTime":1742045988,"channelDTime":1742046007,"channelDuration":19,"cSTime":1742046000,"cETime":1742046007,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08839928342","server_ip":"118.185.137.196","insertTime":1742046007,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045991,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2012
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2012
            [uid] => u595
            [unique_id] => 36075_2012_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045988
            [channelDTime] => 1742046007
            [channelDuration] => 19
            [cSTime] => 1742046000
            [cETime] => 1742046007
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08839928342
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046007
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045991
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 732
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.55999999999929
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 37.20000000000134
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 732
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.55999999999929
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96444.6700000126
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046009
{"compaign_id":"36075","contact_id":"2010","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2010","uid":"u595","unique_id":"36075_2010_138-u595","ivrId":"3158","channelOTime":1742045988,"channelDTime":1742046009,"channelDuration":21,"cSTime":1742046003,"cETime":1742046009,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09016931955","server_ip":"118.185.137.196","insertTime":1742046009,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045991,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2010
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2010
            [uid] => u595
            [unique_id] => 36075_2010_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045988
            [channelDTime] => 1742046009
            [channelDuration] => 21
            [cSTime] => 1742046003
            [cETime] => 1742046009
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09016931955
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046009
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045991
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 733
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.63999999999929
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 37.12000000000134
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 733
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.63999999999929
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96444.5900000126
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046011
{"compaign_id":"36075","contact_id":"2046","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2046","uid":"u595","unique_id":"36075_2046_138-u595","ivrId":"3158","channelOTime":1742045997,"channelDTime":1742046010,"channelDuration":13,"cSTime":1742046004,"cETime":1742046010,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08306627718","server_ip":"118.185.137.196","insertTime":1742046010,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045999,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2046
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2046
            [uid] => u595
            [unique_id] => 36075_2046_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045997
            [channelDTime] => 1742046010
            [channelDuration] => 13
            [cSTime] => 1742046004
            [cETime] => 1742046010
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08306627718
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046010
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045999
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 734
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.71999999999929
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 37.04000000000134
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 734
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.71999999999929
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96444.5100000126
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046011
{"compaign_id":"36075","contact_id":"2004","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2004","uid":"u595","unique_id":"36075_2004_138-u595","ivrId":"3158","channelOTime":1742045986,"channelDTime":1742046011,"channelDuration":25,"cSTime":1742045995,"cETime":1742046011,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09591914963","server_ip":"118.185.137.196","insertTime":1742046011,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045990,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2004
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2004
            [uid] => u595
            [unique_id] => 36075_2004_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045986
            [channelDTime] => 1742046011
            [channelDuration] => 25
            [cSTime] => 1742045995
            [cETime] => 1742046011
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09591914963
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046011
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045990
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 735
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.79999999999929
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 36.960000000001344
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 735
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.79999999999929
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96444.4300000126
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046012
{"compaign_id":"36075","contact_id":"2016","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2016","uid":"u595","unique_id":"36075_2016_138-u595","ivrId":"3158","channelOTime":1742045989,"channelDTime":1742046011,"channelDuration":22,"cSTime":1742045994,"cETime":1742046011,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09585189000","server_ip":"118.185.137.196","insertTime":1742046011,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045990,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045994,"endTime":1742046008,"duration":14}],"#3":[{"startTime":1742046008,"endTime":1742046011,"duration":3}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2016
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2016
            [uid] => u595
            [unique_id] => 36075_2016_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045989
            [channelDTime] => 1742046011
            [channelDuration] => 22
            [cSTime] => 1742045994
            [cETime] => 1742046011
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09585189000
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046011
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045990
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045994
                                    [endTime] => 1742046008
                                    [duration] => 14
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046008
                                    [endTime] => 1742046011
                                    [duration] => 3
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 737
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.95999999999928
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 36.80000000000135
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 737
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 58.95999999999928
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96444.27000001259
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046013
{"compaign_id":"36075","contact_id":"1961","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1961","uid":"u595","unique_id":"36075_1961_138-u595","ivrId":"3158","channelOTime":1742045976,"channelDTime":1742046012,"channelDuration":36,"cSTime":1742045990,"cETime":1742046012,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09341369330","server_ip":"118.185.137.196","insertTime":1742046012,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045979,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045990,"endTime":1742046013,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1961
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1961
            [uid] => u595
            [unique_id] => 36075_1961_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045976
            [channelDTime] => 1742046012
            [channelDuration] => 36
            [cSTime] => 1742045990
            [cETime] => 1742046012
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09341369330
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046012
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045979
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045990
                                    [endTime] => 1742046013
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 739
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.11999999999928
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 36.64000000000135
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 739
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.11999999999928
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96444.11000001259
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046013
{"compaign_id":"36075","contact_id":"1979","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1979","uid":"u595","unique_id":"36075_1979_138-u595","ivrId":"3158","channelOTime":1742045979,"channelDTime":1742046013,"channelDuration":34,"cSTime":1742046005,"cETime":1742046013,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08113839828","server_ip":"118.185.137.196","insertTime":1742046013,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045981,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1979
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1979
            [uid] => u595
            [unique_id] => 36075_1979_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045979
            [channelDTime] => 1742046013
            [channelDuration] => 34
            [cSTime] => 1742046005
            [cETime] => 1742046013
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08113839828
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046013
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045981
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 741
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.279999999999276
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 36.480000000001354
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 741
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.279999999999276
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96443.95000001258
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046015
{"compaign_id":"36075","contact_id":"1999","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1999","uid":"u595","unique_id":"36075_1999_138-u595","ivrId":"3158","channelOTime":1742045985,"channelDTime":1742046015,"channelDuration":30,"cSTime":1742045998,"cETime":1742046015,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09864301434","server_ip":"118.185.137.196","insertTime":1742046015,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045987,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1999
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1999
            [uid] => u595
            [unique_id] => 36075_1999_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045985
            [channelDTime] => 1742046015
            [channelDuration] => 30
            [cSTime] => 1742045998
            [cETime] => 1742046015
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09864301434
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046015
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045987
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 742
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.359999999999275
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 36.400000000001356
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 742
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.359999999999275
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96443.87000001258
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046017
{"compaign_id":"36075","contact_id":"2014","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2014","uid":"u595","unique_id":"36075_2014_138-u595","ivrId":"3158","channelOTime":1742045988,"channelDTime":1742046016,"channelDuration":28,"cSTime":1742046013,"cETime":1742046016,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09505885139","server_ip":"118.185.137.196","insertTime":1742046016,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045990,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2014
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2014
            [uid] => u595
            [unique_id] => 36075_2014_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045988
            [channelDTime] => 1742046016
            [channelDuration] => 28
            [cSTime] => 1742046013
            [cETime] => 1742046016
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09505885139
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046016
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045990
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 744
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.51999999999927
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 36.24000000000136
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 744
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.51999999999927
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96443.71000001258
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046018
{"compaign_id":"36075","contact_id":"2013","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2013","uid":"u595","unique_id":"36075_2013_138-u595","ivrId":"3158","channelOTime":1742045988,"channelDTime":1742046018,"channelDuration":30,"cSTime":1742045995,"cETime":1742046018,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06206340438","server_ip":"118.185.137.196","insertTime":1742046018,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045990,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045995,"endTime":1742046018,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2013
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2013
            [uid] => u595
            [unique_id] => 36075_2013_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045988
            [channelDTime] => 1742046018
            [channelDuration] => 30
            [cSTime] => 1742045995
            [cETime] => 1742046018
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06206340438
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046018
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045990
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045995
                                    [endTime] => 1742046018
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 745
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.59999999999927
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 36.16000000000136
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 745
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.59999999999927
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96443.63000001258
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046020
{"compaign_id":"36075","contact_id":"2058","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2058","uid":"u595","unique_id":"36075_2058_138-u595","ivrId":"3158","channelOTime":1742045999,"channelDTime":1742046018,"channelDuration":19,"cSTime":1742046015,"cETime":1742046018,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08975743096","server_ip":"118.185.137.196","insertTime":1742046018,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046002,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2058
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2058
            [uid] => u595
            [unique_id] => 36075_2058_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045999
            [channelDTime] => 1742046018
            [channelDuration] => 19
            [cSTime] => 1742046015
            [cETime] => 1742046018
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08975743096
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046018
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046002
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 747
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.759999999999266
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 36.000000000001364
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 747
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.759999999999266
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96443.47000001257
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046020
{"compaign_id":"36075","contact_id":"2047","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2047","uid":"u595","unique_id":"36075_2047_138-u595","ivrId":"3158","channelOTime":1742045997,"channelDTime":1742046019,"channelDuration":22,"cSTime":1742046012,"cETime":1742046019,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07070965471","server_ip":"118.185.137.196","insertTime":1742046019,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046000,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2047
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2047
            [uid] => u595
            [unique_id] => 36075_2047_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045997
            [channelDTime] => 1742046019
            [channelDuration] => 22
            [cSTime] => 1742046012
            [cETime] => 1742046019
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07070965471
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046019
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046000
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 748
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.839999999999264
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 35.920000000001366
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 748
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.839999999999264
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96443.39000001257
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046021
{"compaign_id":"36075","contact_id":"2009","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2009","uid":"u595","unique_id":"36075_2009_138-u595","ivrId":"3158","channelOTime":1742045987,"channelDTime":1742046020,"channelDuration":33,"cSTime":1742046007,"cETime":1742046020,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08459757674","server_ip":"118.185.137.196","insertTime":1742046020,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045989,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2009
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2009
            [uid] => u595
            [unique_id] => 36075_2009_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045987
            [channelDTime] => 1742046020
            [channelDuration] => 33
            [cSTime] => 1742046007
            [cETime] => 1742046020
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08459757674
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046020
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045989
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 749
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.91999999999926
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 35.84000000000137
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 749
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.91999999999926
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96443.31000001257
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046022
{"compaign_id":"36075","contact_id":"1993","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1993","uid":"u595","unique_id":"36075_1993_138-u595","ivrId":"3158","channelOTime":1742045984,"channelDTime":1742046021,"channelDuration":37,"cSTime":1742045998,"cETime":1742046021,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08861418590","server_ip":"118.185.137.196","insertTime":1742046021,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045988,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045998,"endTime":1742046021,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1993
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1993
            [uid] => u595
            [unique_id] => 36075_1993_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045984
            [channelDTime] => 1742046021
            [channelDuration] => 37
            [cSTime] => 1742045998
            [cETime] => 1742046021
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08861418590
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046021
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045988
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045998
                                    [endTime] => 1742046021
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 750
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.99999999999926
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 35.76000000000137
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 750
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 59.99999999999926
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96443.23000001257
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046023
{"compaign_id":"36075","contact_id":"2006","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2006","uid":"u595","unique_id":"36075_2006_138-u595","ivrId":"3158","channelOTime":1742045987,"channelDTime":1742046021,"channelDuration":34,"cSTime":1742046009,"cETime":1742046021,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08849107887","server_ip":"118.185.137.196","insertTime":1742046021,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045989,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2006
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2006
            [uid] => u595
            [unique_id] => 36075_2006_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045987
            [channelDTime] => 1742046021
            [channelDuration] => 34
            [cSTime] => 1742046009
            [cETime] => 1742046021
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08849107887
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046021
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045989
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 752
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.15999999999926
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 35.60000000000137
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 752
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.15999999999926
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96443.07000001257
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046023
{"compaign_id":"36075","contact_id":"1974","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1974","uid":"u595","unique_id":"36075_1974_138-u595","ivrId":"3158","channelOTime":1742045978,"channelDTime":1742046022,"channelDuration":44,"cSTime":1742045998,"cETime":1742046022,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09660257235","server_ip":"118.185.137.196","insertTime":1742046022,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045980,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045998,"endTime":1742046022,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1974
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1974
            [uid] => u595
            [unique_id] => 36075_1974_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045978
            [channelDTime] => 1742046022
            [channelDuration] => 44
            [cSTime] => 1742045998
            [cETime] => 1742046022
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09660257235
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046022
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045980
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045998
                                    [endTime] => 1742046022
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 753
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.239999999999256
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 35.520000000001374
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 753
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.239999999999256
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96442.99000001256
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046023
{"compaign_id":"36075","contact_id":"2078","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2078","uid":"u595","unique_id":"36075_2078_138-u595","ivrId":"3158","channelOTime":1742046003,"channelDTime":1742046022,"channelDuration":19,"cSTime":1742046015,"cETime":1742046022,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08143199813","server_ip":"118.185.137.196","insertTime":1742046022,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046006,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2078
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2078
            [uid] => u595
            [unique_id] => 36075_2078_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046003
            [channelDTime] => 1742046022
            [channelDuration] => 19
            [cSTime] => 1742046015
            [cETime] => 1742046022
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08143199813
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046022
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046006
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 755
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.39999999999925
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 35.36000000000138
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 755
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.39999999999925
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96442.83000001256
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046024
{"compaign_id":"36075","contact_id":"1973","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1973","uid":"u595","unique_id":"36075_1973_138-u595","ivrId":"3158","channelOTime":1742045978,"channelDTime":1742046022,"channelDuration":44,"cSTime":1742045999,"cETime":1742046022,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09980736539","server_ip":"118.185.137.196","insertTime":1742046022,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045980,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045999,"endTime":1742046022,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1973
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1973
            [uid] => u595
            [unique_id] => 36075_1973_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045978
            [channelDTime] => 1742046022
            [channelDuration] => 44
            [cSTime] => 1742045999
            [cETime] => 1742046022
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09980736539
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046022
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045980
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045999
                                    [endTime] => 1742046022
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 756
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.47999999999925
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 35.28000000000138
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 756
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.47999999999925
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96442.75000001256
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046024
{"compaign_id":"36075","contact_id":"1939","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1939","uid":"u595","unique_id":"36075_1939_138-u595","ivrId":"3158","channelOTime":1742045971,"channelDTime":1742046022,"channelDuration":51,"cSTime":1742045999,"cETime":1742046022,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09080930283","server_ip":"118.185.137.196","insertTime":1742046022,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045973,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742045999,"endTime":1742046022,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1939
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1939
            [uid] => u595
            [unique_id] => 36075_1939_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045971
            [channelDTime] => 1742046022
            [channelDuration] => 51
            [cSTime] => 1742045999
            [cETime] => 1742046022
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09080930283
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046022
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045973
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742045999
                                    [endTime] => 1742046022
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 758
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.63999999999925
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 35.12000000000138
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 758
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.63999999999925
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96442.59000001255
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046024
{"compaign_id":"36075","contact_id":"1952","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1952","uid":"u595","unique_id":"36075_1952_138-u595","ivrId":"3158","channelOTime":1742045974,"channelDTime":1742046025,"channelDuration":51,"cSTime":1742046001,"cETime":1742046025,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07618607546","server_ip":"118.185.137.196","insertTime":1742046025,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045978,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046001,"endTime":1742046025,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1952
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1952
            [uid] => u595
            [unique_id] => 36075_1952_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045974
            [channelDTime] => 1742046025
            [channelDuration] => 51
            [cSTime] => 1742046001
            [cETime] => 1742046025
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07618607546
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046025
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045978
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046001
                                    [endTime] => 1742046025
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 760
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.799999999999244
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 34.960000000001386
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 760
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.799999999999244
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96442.43000001255
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046027
{"compaign_id":"36075","contact_id":"2079","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2079","uid":"u595","unique_id":"36075_2079_138-u595","ivrId":"3158","channelOTime":1742046003,"channelDTime":1742046026,"channelDuration":23,"cSTime":1742046018,"cETime":1742046026,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08875947301","server_ip":"118.185.137.196","insertTime":1742046026,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046004,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2079
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2079
            [uid] => u595
            [unique_id] => 36075_2079_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046003
            [channelDTime] => 1742046026
            [channelDuration] => 23
            [cSTime] => 1742046018
            [cETime] => 1742046026
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08875947301
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046026
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046004
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 762
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.95999999999924
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 34.80000000000139
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 762
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 60.95999999999924
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96442.27000001255
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046027
{"compaign_id":"36075","contact_id":"1995","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_1995","uid":"u595","unique_id":"36075_1995_138-u595","ivrId":"3158","channelOTime":1742045985,"channelDTime":1742046026,"channelDuration":41,"cSTime":1742046006,"cETime":1742046026,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09346836660","server_ip":"118.185.137.196","insertTime":1742046026,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045986,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 1995
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_1995
            [uid] => u595
            [unique_id] => 36075_1995_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045985
            [channelDTime] => 1742046026
            [channelDuration] => 41
            [cSTime] => 1742046006
            [cETime] => 1742046026
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09346836660
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046026
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045986
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 763
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.03999999999924
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 34.72000000000139
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 763
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.03999999999924
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96442.19000001255
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046028
{"compaign_id":"36075","contact_id":"2084","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2084","uid":"u595","unique_id":"36075_2084_138-u595","ivrId":"3158","channelOTime":1742046012,"channelDTime":1742046027,"channelDuration":15,"cSTime":1742046022,"cETime":1742046027,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09835235766","server_ip":"118.185.137.196","insertTime":1742046027,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046014,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2084
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2084
            [uid] => u595
            [unique_id] => 36075_2084_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046012
            [channelDTime] => 1742046027
            [channelDuration] => 15
            [cSTime] => 1742046022
            [cETime] => 1742046027
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09835235766
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046027
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046014
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 765
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.199999999999235
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 34.560000000001395
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 765
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.199999999999235
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96442.03000001254
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046029
{"compaign_id":"36075","contact_id":"2065","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2065","uid":"u595","unique_id":"36075_2065_138-u595","ivrId":"3158","channelOTime":1742046000,"channelDTime":1742046028,"channelDuration":28,"cSTime":1742046015,"cETime":1742046028,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09885471216","server_ip":"118.185.137.196","insertTime":1742046028,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046002,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2065
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2065
            [uid] => u595
            [unique_id] => 36075_2065_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046000
            [channelDTime] => 1742046028
            [channelDuration] => 28
            [cSTime] => 1742046015
            [cETime] => 1742046028
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09885471216
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046028
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046002
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 766
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.279999999999234
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 34.4800000000014
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 766
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.279999999999234
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96441.95000001254
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046029
{"compaign_id":"36075","contact_id":"2119","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2119","uid":"u595","unique_id":"36075_2119_138-u595","ivrId":"3158","channelOTime":1742046019,"channelDTime":1742046029,"channelDuration":10,"cSTime":1742046027,"cETime":1742046029,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09550612249","server_ip":"118.185.137.196","insertTime":1742046029,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046021,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2119
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2119
            [uid] => u595
            [unique_id] => 36075_2119_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046019
            [channelDTime] => 1742046029
            [channelDuration] => 10
            [cSTime] => 1742046027
            [cETime] => 1742046029
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09550612249
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046029
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046021
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 767
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.35999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 34.4000000000014
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 767
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.35999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96441.87000001254
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046031
{"compaign_id":"36075","contact_id":"2103","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2103","uid":"u595","unique_id":"36075_2103_138-u595","ivrId":"3158","channelOTime":1742046015,"channelDTime":1742046030,"channelDuration":15,"cSTime":1742046023,"cETime":1742046030,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08089195442","server_ip":"118.185.137.196","insertTime":1742046030,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046019,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2103
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2103
            [uid] => u595
            [unique_id] => 36075_2103_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046015
            [channelDTime] => 1742046030
            [channelDuration] => 15
            [cSTime] => 1742046023
            [cETime] => 1742046030
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08089195442
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046030
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046019
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 768
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.43999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 34.3200000000014
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 768
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.43999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96441.79000001254
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046032
{"compaign_id":"36075","contact_id":"2099","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2099","uid":"u595","unique_id":"36075_2099_138-u595","ivrId":"3158","channelOTime":1742046015,"channelDTime":1742046033,"channelDuration":18,"cSTime":1742046028,"cETime":1742046033,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08859524717","server_ip":"118.185.137.196","insertTime":1742046033,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046017,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2099
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2099
            [uid] => u595
            [unique_id] => 36075_2099_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046015
            [channelDTime] => 1742046033
            [channelDuration] => 18
            [cSTime] => 1742046028
            [cETime] => 1742046033
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08859524717
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046033
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046017
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 769
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.51999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 34.2400000000014
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 769
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.51999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96441.71000001254
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046035
{"compaign_id":"36075","contact_id":"2073","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2073","uid":"u595","unique_id":"36075_2073_138-u595","ivrId":"3158","channelOTime":1742046002,"channelDTime":1742046034,"channelDuration":32,"cSTime":1742046010,"cETime":1742046034,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07602650564","server_ip":"118.185.137.196","insertTime":1742046034,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046004,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046010,"endTime":1742046034,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2073
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2073
            [uid] => u595
            [unique_id] => 36075_2073_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046002
            [channelDTime] => 1742046034
            [channelDuration] => 32
            [cSTime] => 1742046010
            [cETime] => 1742046034
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07602650564
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046034
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046004
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046010
                                    [endTime] => 1742046034
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 770
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.59999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 34.1600000000014
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 770
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.59999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96441.63000001253
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046035
{"compaign_id":"36075","contact_id":"2075","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2075","uid":"u595","unique_id":"36075_2075_138-u595","ivrId":"3158","channelOTime":1742046002,"channelDTime":1742046034,"channelDuration":32,"cSTime":1742046014,"cETime":1742046034,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09330111542","server_ip":"118.185.137.196","insertTime":1742046034,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046004,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2075
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2075
            [uid] => u595
            [unique_id] => 36075_2075_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046002
            [channelDTime] => 1742046034
            [channelDuration] => 32
            [cSTime] => 1742046014
            [cETime] => 1742046034
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09330111542
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046034
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046004
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 772
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.75999999999922
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 34.00000000000141
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 772
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.75999999999922
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96441.47000001253
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046036
{"compaign_id":"36075","contact_id":"2055","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2055","uid":"u595","unique_id":"36075_2055_138-u595","ivrId":"3158","channelOTime":1742045998,"channelDTime":1742046035,"channelDuration":37,"cSTime":1742046011,"cETime":1742046035,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08101436423","server_ip":"118.185.137.196","insertTime":1742046035,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046001,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046011,"endTime":1742046035,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2055
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2055
            [uid] => u595
            [unique_id] => 36075_2055_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045998
            [channelDTime] => 1742046035
            [channelDuration] => 37
            [cSTime] => 1742046011
            [cETime] => 1742046035
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08101436423
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046035
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046001
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046011
                                    [endTime] => 1742046035
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 774
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.91999999999922
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 33.84000000000141
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 774
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 61.91999999999922
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96441.31000001253
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046036
{"compaign_id":"36075","contact_id":"2109","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2109","uid":"u595","unique_id":"36075_2109_138-u595","ivrId":"3158","channelOTime":1742046017,"channelDTime":1742046035,"channelDuration":18,"cSTime":1742046025,"cETime":1742046035,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09164656522","server_ip":"118.185.137.196","insertTime":1742046035,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046020,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2109
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2109
            [uid] => u595
            [unique_id] => 36075_2109_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046017
            [channelDTime] => 1742046035
            [channelDuration] => 18
            [cSTime] => 1742046025
            [cETime] => 1742046035
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09164656522
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046035
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046020
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 776
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.07999999999922
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 33.680000000001414
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 776
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.07999999999922
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96441.15000001252
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046037
{"compaign_id":"36075","contact_id":"2155","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2155","uid":"u595","unique_id":"36075_2155_138-u595","ivrId":"3158","channelOTime":1742046028,"channelDTime":1742046036,"channelDuration":8,"cSTime":1742046033,"cETime":1742046036,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07007564337","server_ip":"118.185.137.196","insertTime":1742046036,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046030,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2155
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2155
            [uid] => u595
            [unique_id] => 36075_2155_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046028
            [channelDTime] => 1742046036
            [channelDuration] => 8
            [cSTime] => 1742046033
            [cETime] => 1742046036
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07007564337
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046036
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046030
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 777
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.159999999999215
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 33.600000000001415
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 777
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.159999999999215
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96441.07000001252
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046037
{"compaign_id":"36075","contact_id":"2114","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2114","uid":"u595","unique_id":"36075_2114_138-u595","ivrId":"3158","channelOTime":1742046018,"channelDTime":1742046036,"channelDuration":18,"cSTime":1742046033,"cETime":1742046036,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06009884043","server_ip":"118.185.137.196","insertTime":1742046036,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046019,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2114
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2114
            [uid] => u595
            [unique_id] => 36075_2114_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046018
            [channelDTime] => 1742046036
            [channelDuration] => 18
            [cSTime] => 1742046033
            [cETime] => 1742046036
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06009884043
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046036
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046019
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 778
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.23999999999921
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 33.52000000000142
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 778
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.23999999999921
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96440.99000001252
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046038
{"compaign_id":"36075","contact_id":"2091","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2091","uid":"u595","unique_id":"36075_2091_138-u595","ivrId":"3158","channelOTime":1742046013,"channelDTime":1742046036,"channelDuration":23,"cSTime":1742046025,"cETime":1742046036,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07353417229","server_ip":"118.185.137.196","insertTime":1742046036,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046014,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2091
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2091
            [uid] => u595
            [unique_id] => 36075_2091_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046013
            [channelDTime] => 1742046036
            [channelDuration] => 23
            [cSTime] => 1742046025
            [cETime] => 1742046036
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07353417229
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046036
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046014
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 779
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.31999999999921
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 33.44000000000142
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 779
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.31999999999921
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96440.91000001252
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046038
{"compaign_id":"36075","contact_id":"2034","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2034","uid":"u595","unique_id":"36075_2034_138-u595","ivrId":"3158","channelOTime":1742045994,"channelDTime":1742046036,"channelDuration":42,"cSTime":1742046013,"cETime":1742046036,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08132966235","server_ip":"118.185.137.196","insertTime":1742046036,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045996,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046013,"endTime":1742046036,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2034
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2034
            [uid] => u595
            [unique_id] => 36075_2034_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045994
            [channelDTime] => 1742046036
            [channelDuration] => 42
            [cSTime] => 1742046013
            [cETime] => 1742046036
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08132966235
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046036
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045996
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046013
                                    [endTime] => 1742046036
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 780
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.39999999999921
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 33.36000000000142
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 780
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.39999999999921
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96440.83000001252
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046038
{"compaign_id":"36075","contact_id":"2057","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2057","uid":"u595","unique_id":"36075_2057_138-u595","ivrId":"3158","channelOTime":1742045999,"channelDTime":1742046037,"channelDuration":38,"cSTime":1742046028,"cETime":1742046037,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07834888200","server_ip":"118.185.137.196","insertTime":1742046037,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046002,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2057
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2057
            [uid] => u595
            [unique_id] => 36075_2057_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045999
            [channelDTime] => 1742046037
            [channelDuration] => 38
            [cSTime] => 1742046028
            [cETime] => 1742046037
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07834888200
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046037
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046002
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 782
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.55999999999921
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 33.200000000001424
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 782
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.55999999999921
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96440.67000001251
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046038
{"compaign_id":"36075","contact_id":"2108","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2108","uid":"u595","unique_id":"36075_2108_138-u595","ivrId":"3158","channelOTime":1742046016,"channelDTime":1742046039,"channelDuration":23,"cSTime":1742046027,"cETime":1742046039,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08229883250","server_ip":"118.185.137.196","insertTime":1742046039,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046019,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2108
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2108
            [uid] => u595
            [unique_id] => 36075_2108_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046016
            [channelDTime] => 1742046039
            [channelDuration] => 23
            [cSTime] => 1742046027
            [cETime] => 1742046039
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08229883250
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046039
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046019
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 783
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.639999999999205
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 33.120000000001426
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 783
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.639999999999205
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96440.59000001251
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046040
{"compaign_id":"36075","contact_id":"2093","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2093","uid":"u595","unique_id":"36075_2093_138-u595","ivrId":"3158","channelOTime":1742046013,"channelDTime":1742046039,"channelDuration":26,"cSTime":1742046024,"cETime":1742046039,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08652577315","server_ip":"118.185.137.196","insertTime":1742046039,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046015,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2093
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2093
            [uid] => u595
            [unique_id] => 36075_2093_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046013
            [channelDTime] => 1742046039
            [channelDuration] => 26
            [cSTime] => 1742046024
            [cETime] => 1742046039
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08652577315
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046039
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046015
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 784
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.7199999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 33.04000000000143
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 784
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.7199999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96440.51000001251
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046041
{"compaign_id":"36075","contact_id":"2149","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2149","uid":"u595","unique_id":"36075_2149_138-u595","ivrId":"3158","channelOTime":1742046026,"channelDTime":1742046039,"channelDuration":13,"cSTime":1742046037,"cETime":1742046039,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09767012343","server_ip":"118.185.137.196","insertTime":1742046039,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046029,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2149
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2149
            [uid] => u595
            [unique_id] => 36075_2149_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046026
            [channelDTime] => 1742046039
            [channelDuration] => 13
            [cSTime] => 1742046037
            [cETime] => 1742046039
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09767012343
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046039
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046029
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 785
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.7999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 32.96000000000143
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 785
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.7999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96440.43000001251
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046041
{"compaign_id":"36075","contact_id":"2127","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2127","uid":"u595","unique_id":"36075_2127_138-u595","ivrId":"3158","channelOTime":1742046020,"channelDTime":1742046039,"channelDuration":19,"cSTime":1742046027,"cETime":1742046039,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07702212747","server_ip":"118.185.137.196","insertTime":1742046039,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046022,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2127
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2127
            [uid] => u595
            [unique_id] => 36075_2127_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046020
            [channelDTime] => 1742046039
            [channelDuration] => 19
            [cSTime] => 1742046027
            [cETime] => 1742046039
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07702212747
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046039
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046022
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 786
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.8799999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 32.88000000000143
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 786
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.8799999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96440.3500000125
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046041
{"compaign_id":"36075","contact_id":"2038","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2038","uid":"u595","unique_id":"36075_2038_138-u595","ivrId":"3158","channelOTime":1742045995,"channelDTime":1742046039,"channelDuration":44,"cSTime":1742046018,"cETime":1742046039,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07498472902","server_ip":"118.185.137.196","insertTime":1742046039,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046002,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046018,"endTime":1742046041,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2038
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2038
            [uid] => u595
            [unique_id] => 36075_2038_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045995
            [channelDTime] => 1742046039
            [channelDuration] => 44
            [cSTime] => 1742046018
            [cETime] => 1742046039
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07498472902
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046039
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046002
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046018
                                    [endTime] => 1742046041
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 787
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.9599999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 32.80000000000143
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 787
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 62.9599999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96440.2700000125
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046041
{"compaign_id":"36075","contact_id":"2064","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2064","uid":"u595","unique_id":"36075_2064_138-u595","ivrId":"3158","channelOTime":1742046000,"channelDTime":1742046041,"channelDuration":41,"cSTime":1742046017,"cETime":1742046041,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08763377611","server_ip":"118.185.137.196","insertTime":1742046041,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046002,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046017,"endTime":1742046041,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2064
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2064
            [uid] => u595
            [unique_id] => 36075_2064_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046000
            [channelDTime] => 1742046041
            [channelDuration] => 41
            [cSTime] => 1742046017
            [cETime] => 1742046041
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08763377611
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046041
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046002
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046017
                                    [endTime] => 1742046041
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 789
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.119999999999195
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 32.640000000001436
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 789
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.119999999999195
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96440.1100000125
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046043
{"compaign_id":"36075","contact_id":"2059","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2059","uid":"u595","unique_id":"36075_2059_138-u595","ivrId":"3158","channelOTime":1742045999,"channelDTime":1742046041,"channelDuration":42,"cSTime":1742046018,"cETime":1742046041,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09175487238","server_ip":"118.185.137.196","insertTime":1742046041,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046001,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046018,"endTime":1742046041,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2059
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2059
            [uid] => u595
            [unique_id] => 36075_2059_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045999
            [channelDTime] => 1742046041
            [channelDuration] => 42
            [cSTime] => 1742046018
            [cETime] => 1742046041
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09175487238
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046041
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046001
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046018
                                    [endTime] => 1742046041
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 791
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.27999999999919
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 32.48000000000144
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 791
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.27999999999919
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96439.9500000125
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046043
{"compaign_id":"36075","contact_id":"2028","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2028","uid":"u595","unique_id":"36075_2028_138-u595","ivrId":"3158","channelOTime":1742045991,"channelDTime":1742046042,"channelDuration":51,"cSTime":1742046018,"cETime":1742046042,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09569800263","server_ip":"118.185.137.196","insertTime":1742046042,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742045996,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046018,"endTime":1742046042,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2028
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2028
            [uid] => u595
            [unique_id] => 36075_2028_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742045991
            [channelDTime] => 1742046042
            [channelDuration] => 51
            [cSTime] => 1742046018
            [cETime] => 1742046042
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09569800263
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046042
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742045996
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046018
                                    [endTime] => 1742046042
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 793
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.43999999999919
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 32.32000000000144
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 793
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.43999999999919
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96439.7900000125
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046043
{"compaign_id":"36075","contact_id":"2067","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2067","uid":"u595","unique_id":"36075_2067_138-u595","ivrId":"3158","channelOTime":1742046001,"channelDTime":1742046043,"channelDuration":42,"cSTime":1742046020,"cETime":1742046043,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09920057211","server_ip":"118.185.137.196","insertTime":1742046043,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046003,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046020,"endTime":1742046043,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2067
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2067
            [uid] => u595
            [unique_id] => 36075_2067_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046001
            [channelDTime] => 1742046043
            [channelDuration] => 42
            [cSTime] => 1742046020
            [cETime] => 1742046043
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09920057211
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046043
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046003
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046020
                                    [endTime] => 1742046043
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 795
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.599999999999184
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 32.160000000001446
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 795
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.599999999999184
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96439.63000001249
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046045
{"compaign_id":"36075","contact_id":"2082","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2082","uid":"u595","unique_id":"36075_2082_138-u595","ivrId":"3158","channelOTime":1742046011,"channelDTime":1742046043,"channelDuration":32,"cSTime":1742046033,"cETime":1742046043,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09502128404","server_ip":"118.185.137.196","insertTime":1742046043,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046015,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2082
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2082
            [uid] => u595
            [unique_id] => 36075_2082_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046011
            [channelDTime] => 1742046043
            [channelDuration] => 32
            [cSTime] => 1742046033
            [cETime] => 1742046043
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09502128404
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046043
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046015
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 797
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.75999999999918
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 32.00000000000145
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 797
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.75999999999918
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96439.47000001249
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046045
{"compaign_id":"36075","contact_id":"2147","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2147","uid":"u595","unique_id":"36075_2147_138-u595","ivrId":"3158","channelOTime":1742046026,"channelDTime":1742046044,"channelDuration":18,"cSTime":1742046031,"cETime":1742046044,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07489991608","server_ip":"118.185.137.196","insertTime":1742046044,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046028,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2147
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2147
            [uid] => u595
            [unique_id] => 36075_2147_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046026
            [channelDTime] => 1742046044
            [channelDuration] => 18
            [cSTime] => 1742046031
            [cETime] => 1742046044
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07489991608
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046044
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046028
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 798
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.83999999999918
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 31.92000000000145
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 798
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.83999999999918
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96439.39000001248
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046045
{"compaign_id":"36075","contact_id":"2070","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2070","uid":"u595","unique_id":"36075_2070_138-u595","ivrId":"3158","channelOTime":1742046001,"channelDTime":1742046044,"channelDuration":43,"cSTime":1742046021,"cETime":1742046044,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09304155020","server_ip":"118.185.137.196","insertTime":1742046044,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046004,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046021,"endTime":1742046044,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2070
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2070
            [uid] => u595
            [unique_id] => 36075_2070_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046001
            [channelDTime] => 1742046044
            [channelDuration] => 43
            [cSTime] => 1742046021
            [cETime] => 1742046044
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09304155020
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046044
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046004
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046021
                                    [endTime] => 1742046044
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 799
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.91999999999918
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 31.840000000001453
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 799
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 63.91999999999918
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96439.31000001248
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046046
{"compaign_id":"36075","contact_id":"2132","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2132","uid":"u595","unique_id":"36075_2132_138-u595","ivrId":"3158","channelOTime":1742046023,"channelDTime":1742046045,"channelDuration":22,"cSTime":1742046041,"cETime":1742046045,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09605250093","server_ip":"118.185.137.196","insertTime":1742046045,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046030,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2132
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2132
            [uid] => u595
            [unique_id] => 36075_2132_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046023
            [channelDTime] => 1742046045
            [channelDuration] => 22
            [cSTime] => 1742046041
            [cETime] => 1742046045
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09605250093
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046045
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046030
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 801
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.07999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 31.680000000001453
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 801
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.07999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96439.15000001248
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046046
{"compaign_id":"36075","contact_id":"2089","total_duration":"26","answer_duration":26,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2089","uid":"u595","unique_id":"36075_2089_138-u595","ivrId":"3158","channelOTime":1742046013,"channelDTime":1742046045,"channelDuration":32,"cSTime":1742046019,"cETime":1742046045,"cDuration":26,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"06303428433","server_ip":"118.185.137.196","insertTime":1742046045,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046014,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046019,"endTime":1742046039,"duration":20}],"#3":[{"startTime":1742046039,"endTime":1742046045,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2089
    [total_duration] => 26
    [answer_duration] => 26
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2089
            [uid] => u595
            [unique_id] => 36075_2089_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046013
            [channelDTime] => 1742046045
            [channelDuration] => 32
            [cSTime] => 1742046019
            [cETime] => 1742046045
            [cDuration] => 26
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 06303428433
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046045
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046014
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046019
                                    [endTime] => 1742046039
                                    [duration] => 20
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046039
                                    [endTime] => 1742046045
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 802
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.15999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 31.600000000001454
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 802
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.15999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96439.07000001248
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046047
{"compaign_id":"36075","contact_id":"2117","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2117","uid":"u595","unique_id":"36075_2117_138-u595","ivrId":"3158","channelOTime":1742046018,"channelDTime":1742046048,"channelDuration":30,"cSTime":1742046041,"cETime":1742046048,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06296461147","server_ip":"118.185.137.196","insertTime":1742046048,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046021,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2117
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2117
            [uid] => u595
            [unique_id] => 36075_2117_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046018
            [channelDTime] => 1742046048
            [channelDuration] => 30
            [cSTime] => 1742046041
            [cETime] => 1742046048
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06296461147
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046048
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046021
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 804
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.31999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 31.440000000001454
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 804
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.31999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96438.91000001247
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046049
{"compaign_id":"36075","contact_id":"2144","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2144","uid":"u595","unique_id":"36075_2144_138-u595","ivrId":"3158","channelOTime":1742046025,"channelDTime":1742046050,"channelDuration":25,"cSTime":1742046036,"cETime":1742046050,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09959576106","server_ip":"118.185.137.196","insertTime":1742046050,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046028,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2144
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2144
            [uid] => u595
            [unique_id] => 36075_2144_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046025
            [channelDTime] => 1742046050
            [channelDuration] => 25
            [cSTime] => 1742046036
            [cETime] => 1742046050
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09959576106
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046050
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046028
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 805
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.39999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 31.360000000001456
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 805
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.39999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96438.83000001247
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046051
{"compaign_id":"36075","contact_id":"2187","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2187","uid":"u595","unique_id":"36075_2187_138-u595","ivrId":"3158","channelOTime":1742046041,"channelDTime":1742046052,"channelDuration":11,"cSTime":1742046049,"cETime":1742046052,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07275323315","server_ip":"118.185.137.196","insertTime":1742046052,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046043,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2187
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2187
            [uid] => u595
            [unique_id] => 36075_2187_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046041
            [channelDTime] => 1742046052
            [channelDuration] => 11
            [cSTime] => 1742046049
            [cETime] => 1742046052
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07275323315
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046052
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046043
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 806
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.47999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 31.280000000001458
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 806
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.47999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96438.75000001247
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046053
{"compaign_id":"36075","contact_id":"2172","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2172","uid":"u595","unique_id":"36075_2172_138-u595","ivrId":"3158","channelOTime":1742046031,"channelDTime":1742046052,"channelDuration":21,"cSTime":1742046042,"cETime":1742046052,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09754730235","server_ip":"118.185.137.196","insertTime":1742046052,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046033,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2172
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2172
            [uid] => u595
            [unique_id] => 36075_2172_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046031
            [channelDTime] => 1742046052
            [channelDuration] => 21
            [cSTime] => 1742046042
            [cETime] => 1742046052
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09754730235
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046052
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046033
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 807
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.55999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 31.20000000000146
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 807
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.55999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96438.67000001247
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046054
{"compaign_id":"36075","contact_id":"2189","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2189","uid":"u595","unique_id":"36075_2189_138-u595","ivrId":"3158","channelOTime":1742046042,"channelDTime":1742046052,"channelDuration":10,"cSTime":1742046048,"cETime":1742046052,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08429256721","server_ip":"118.185.137.196","insertTime":1742046052,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046044,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2189
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2189
            [uid] => u595
            [unique_id] => 36075_2189_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046042
            [channelDTime] => 1742046052
            [channelDuration] => 10
            [cSTime] => 1742046048
            [cETime] => 1742046052
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08429256721
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046052
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046044
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 808
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.63999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 31.12000000000146
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 808
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.63999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96438.59000001247
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046054
{"compaign_id":"36075","contact_id":"2152","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2152","uid":"u595","unique_id":"36075_2152_138-u595","ivrId":"3158","channelOTime":1742046027,"channelDTime":1742046053,"channelDuration":26,"cSTime":1742046036,"cETime":1742046053,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09771132867","server_ip":"118.185.137.196","insertTime":1742046053,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046028,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2152
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2152
            [uid] => u595
            [unique_id] => 36075_2152_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046027
            [channelDTime] => 1742046053
            [channelDuration] => 26
            [cSTime] => 1742046036
            [cETime] => 1742046053
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09771132867
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046053
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046028
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 809
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.71999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 31.040000000001463
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 809
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.71999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96438.51000001247
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046055
{"compaign_id":"36075","contact_id":"2128","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2128","uid":"u595","unique_id":"36075_2128_138-u595","ivrId":"3158","channelOTime":1742046020,"channelDTime":1742046053,"channelDuration":33,"cSTime":1742046044,"cETime":1742046053,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08073680430","server_ip":"118.185.137.196","insertTime":1742046053,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046024,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2128
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2128
            [uid] => u595
            [unique_id] => 36075_2128_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046020
            [channelDTime] => 1742046053
            [channelDuration] => 33
            [cSTime] => 1742046044
            [cETime] => 1742046053
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08073680430
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046053
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046024
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 811
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.87999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30.880000000001463
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 811
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.87999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96438.35000001246
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046055
{"compaign_id":"36075","contact_id":"2168","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2168","uid":"u595","unique_id":"36075_2168_138-u595","ivrId":"3158","channelOTime":1742046030,"channelDTime":1742046054,"channelDuration":24,"cSTime":1742046048,"cETime":1742046054,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08983228837","server_ip":"118.185.137.196","insertTime":1742046054,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046033,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2168
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2168
            [uid] => u595
            [unique_id] => 36075_2168_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046030
            [channelDTime] => 1742046054
            [channelDuration] => 24
            [cSTime] => 1742046048
            [cETime] => 1742046054
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08983228837
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046054
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046033
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 812
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.95999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30.800000000001464
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 812
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 64.95999999999916
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96438.27000001246
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046056
{"compaign_id":"36075","contact_id":"2095","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2095","uid":"u595","unique_id":"36075_2095_138-u595","ivrId":"3158","channelOTime":1742046014,"channelDTime":1742046055,"channelDuration":41,"cSTime":1742046031,"cETime":1742046055,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09605376069","server_ip":"118.185.137.196","insertTime":1742046055,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046016,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046031,"endTime":1742046055,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2095
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2095
            [uid] => u595
            [unique_id] => 36075_2095_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046014
            [channelDTime] => 1742046055
            [channelDuration] => 41
            [cSTime] => 1742046031
            [cETime] => 1742046055
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09605376069
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046055
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046016
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046031
                                    [endTime] => 1742046055
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 813
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.03999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30.720000000001466
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 813
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.03999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96438.19000001246
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046056
{"compaign_id":"36075","contact_id":"2196","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2196","uid":"u595","unique_id":"36075_2196_138-u595","ivrId":"3158","channelOTime":1742046043,"channelDTime":1742046056,"channelDuration":13,"cSTime":1742046054,"cETime":1742046056,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07357452904","server_ip":"118.185.137.196","insertTime":1742046056,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046045,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2196
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2196
            [uid] => u595
            [unique_id] => 36075_2196_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046043
            [channelDTime] => 1742046056
            [channelDuration] => 13
            [cSTime] => 1742046054
            [cETime] => 1742046056
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07357452904
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046056
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046045
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 815
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.19999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30.560000000001466
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 815
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.19999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96438.03000001246
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046058
2025-03-15 19:11:01[LOG]Starting Cron
2025-03-15 19:11:01[LOG]Process is already running
{"compaign_id":"36075","contact_id":"2197","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2197","uid":"u595","unique_id":"36075_2197_138-u595","ivrId":"3158","channelOTime":1742046043,"channelDTime":1742046064,"channelDuration":21,"cSTime":1742046050,"cETime":1742046064,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07378175381","server_ip":"118.185.137.196","insertTime":1742046064,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046044,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2197
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2197
            [uid] => u595
            [unique_id] => 36075_2197_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046043
            [channelDTime] => 1742046064
            [channelDuration] => 21
            [cSTime] => 1742046050
            [cETime] => 1742046064
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07378175381
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046064
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046044
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 816
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.27999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30.480000000001468
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 816
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.27999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96437.95000001245
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046065
{"compaign_id":"36075","contact_id":"2214","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2214","uid":"u595","unique_id":"36075_2214_138-u595","ivrId":"3158","channelOTime":1742046047,"channelDTime":1742046064,"channelDuration":17,"cSTime":1742046061,"cETime":1742046064,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09508411994","server_ip":"118.185.137.196","insertTime":1742046064,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046049,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2214
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2214
            [uid] => u595
            [unique_id] => 36075_2214_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046047
            [channelDTime] => 1742046064
            [channelDuration] => 17
            [cSTime] => 1742046061
            [cETime] => 1742046064
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09508411994
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046064
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046049
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 817
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.35999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30.40000000000147
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 817
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.35999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96437.87000001245
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046065
{"compaign_id":"36075","contact_id":"2162","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2162","uid":"u595","unique_id":"36075_2162_138-u595","ivrId":"3158","channelOTime":1742046029,"channelDTime":1742046064,"channelDuration":35,"cSTime":1742046041,"cETime":1742046064,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08308462162","server_ip":"118.185.137.196","insertTime":1742046064,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046031,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046041,"endTime":1742046064,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2162
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2162
            [uid] => u595
            [unique_id] => 36075_2162_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046029
            [channelDTime] => 1742046064
            [channelDuration] => 35
            [cSTime] => 1742046041
            [cETime] => 1742046064
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08308462162
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046064
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046031
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046041
                                    [endTime] => 1742046064
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 818
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.43999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30.32000000000147
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 818
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.43999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96437.79000001245
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046066
{"compaign_id":"36075","contact_id":"2156","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2156","uid":"u595","unique_id":"36075_2156_138-u595","ivrId":"3158","channelOTime":1742046028,"channelDTime":1742046065,"channelDuration":37,"cSTime":1742046041,"cETime":1742046065,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09591287812","server_ip":"118.185.137.196","insertTime":1742046065,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046030,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046041,"endTime":1742046065,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2156
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2156
            [uid] => u595
            [unique_id] => 36075_2156_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046028
            [channelDTime] => 1742046065
            [channelDuration] => 37
            [cSTime] => 1742046041
            [cETime] => 1742046065
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09591287812
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046065
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046030
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046041
                                    [endTime] => 1742046065
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 820
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.59999999999914
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30.16000000000147
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 820
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.59999999999914
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96437.63000001245
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046066
{"compaign_id":"36075","contact_id":"2166","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2166","uid":"u595","unique_id":"36075_2166_138-u595","ivrId":"3158","channelOTime":1742046030,"channelDTime":1742046066,"channelDuration":36,"cSTime":1742046042,"cETime":1742046066,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09082744928","server_ip":"118.185.137.196","insertTime":1742046066,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046032,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046042,"endTime":1742046066,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2166
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2166
            [uid] => u595
            [unique_id] => 36075_2166_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046030
            [channelDTime] => 1742046066
            [channelDuration] => 36
            [cSTime] => 1742046042
            [cETime] => 1742046066
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09082744928
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046066
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046032
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046042
                                    [endTime] => 1742046066
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 822
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.75999999999914
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30.00000000000147
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 822
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.75999999999914
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96437.47000001244
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046067
{"compaign_id":"36075","contact_id":"2204","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2204","uid":"u595","unique_id":"36075_2204_138-u595","ivrId":"3158","channelOTime":1742046045,"channelDTime":1742046066,"channelDuration":21,"cSTime":1742046054,"cETime":1742046066,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09618653835","server_ip":"118.185.137.196","insertTime":1742046066,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046047,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2204
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2204
            [uid] => u595
            [unique_id] => 36075_2204_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046045
            [channelDTime] => 1742046066
            [channelDuration] => 21
            [cSTime] => 1742046054
            [cETime] => 1742046066
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09618653835
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046066
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046047
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 824
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.91999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29.84000000000147
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 824
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.91999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96437.31000001244
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046068
{"compaign_id":"36075","contact_id":"2217","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2217","uid":"u595","unique_id":"36075_2217_138-u595","ivrId":"3158","channelOTime":1742046047,"channelDTime":1742046066,"channelDuration":19,"cSTime":1742046061,"cETime":1742046066,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07683800676","server_ip":"118.185.137.196","insertTime":1742046066,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046053,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2217
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2217
            [uid] => u595
            [unique_id] => 36075_2217_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046047
            [channelDTime] => 1742046066
            [channelDuration] => 19
            [cSTime] => 1742046061
            [cETime] => 1742046066
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07683800676
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046066
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046053
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 825
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.99999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29.760000000001472
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 825
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 65.99999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96437.23000001244
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046068
{"compaign_id":"36075","contact_id":"2236","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2236","uid":"u595","unique_id":"36075_2236_138-u595","ivrId":"3158","channelOTime":1742046053,"channelDTime":1742046071,"channelDuration":18,"cSTime":1742046060,"cETime":1742046071,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08595971536","server_ip":"118.185.137.196","insertTime":1742046071,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046055,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2236
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2236
            [uid] => u595
            [unique_id] => 36075_2236_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046053
            [channelDTime] => 1742046071
            [channelDuration] => 18
            [cSTime] => 1742046060
            [cETime] => 1742046071
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08595971536
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046071
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046055
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 826
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.07999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29.680000000001474
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 826
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.07999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96437.15000001244
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046072
{"compaign_id":"36075","contact_id":"2210","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2210","uid":"u595","unique_id":"36075_2210_138-u595","ivrId":"3158","channelOTime":1742046046,"channelDTime":1742046072,"channelDuration":26,"cSTime":1742046049,"cETime":1742046072,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07004813143","server_ip":"118.185.137.196","insertTime":1742046072,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046049,"endTime":1742046072,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2210
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2210
            [uid] => u595
            [unique_id] => 36075_2210_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046046
            [channelDTime] => 1742046072
            [channelDuration] => 26
            [cSTime] => 1742046049
            [cETime] => 1742046072
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07004813143
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046072
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046049
                                    [endTime] => 1742046072
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 827
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.15999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29.600000000001476
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 827
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.15999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96437.07000001243
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046074
{"compaign_id":"36075","contact_id":"2230","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2230","uid":"u595","unique_id":"36075_2230_138-u595","ivrId":"3158","channelOTime":1742046052,"channelDTime":1742046073,"channelDuration":21,"cSTime":1742046065,"cETime":1742046073,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08261040037","server_ip":"118.185.137.196","insertTime":1742046073,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046054,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2230
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2230
            [uid] => u595
            [unique_id] => 36075_2230_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046052
            [channelDTime] => 1742046073
            [channelDuration] => 21
            [cSTime] => 1742046065
            [cETime] => 1742046073
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08261040037
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046073
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046054
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 829
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.31999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29.440000000001476
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 829
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.31999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96436.91000001243
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046074
{"compaign_id":"36075","contact_id":"2207","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2207","uid":"u595","unique_id":"36075_2207_138-u595","ivrId":"3158","channelOTime":1742046045,"channelDTime":1742046073,"channelDuration":28,"cSTime":1742046061,"cETime":1742046073,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09932704749","server_ip":"118.185.137.196","insertTime":1742046073,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046048,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2207
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2207
            [uid] => u595
            [unique_id] => 36075_2207_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046045
            [channelDTime] => 1742046073
            [channelDuration] => 28
            [cSTime] => 1742046061
            [cETime] => 1742046073
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09932704749
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046073
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046048
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 830
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.39999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29.360000000001477
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 830
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.39999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96436.83000001243
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046074
{"compaign_id":"36075","contact_id":"2179","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2179","uid":"u595","unique_id":"36075_2179_138-u595","ivrId":"3158","channelOTime":1742046032,"channelDTime":1742046074,"channelDuration":42,"cSTime":1742046051,"cETime":1742046074,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08639424688","server_ip":"118.185.137.196","insertTime":1742046074,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046034,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046051,"endTime":1742046074,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2179
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2179
            [uid] => u595
            [unique_id] => 36075_2179_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046032
            [channelDTime] => 1742046074
            [channelDuration] => 42
            [cSTime] => 1742046051
            [cETime] => 1742046074
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08639424688
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046074
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046034
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046051
                                    [endTime] => 1742046074
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 831
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.47999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29.28000000000148
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 831
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.47999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96436.75000001243
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046076
{"compaign_id":"36075","contact_id":"2245","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2245","uid":"u595","unique_id":"36075_2245_138-u595","ivrId":"3158","channelOTime":1742046055,"channelDTime":1742046076,"channelDuration":21,"cSTime":1742046063,"cETime":1742046076,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08695341228","server_ip":"118.185.137.196","insertTime":1742046076,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046056,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2245
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2245
            [uid] => u595
            [unique_id] => 36075_2245_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046055
            [channelDTime] => 1742046076
            [channelDuration] => 21
            [cSTime] => 1742046063
            [cETime] => 1742046076
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08695341228
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046076
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046056
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 833
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.63999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29.12000000000148
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 833
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.63999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96436.59000001242
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046077
{"compaign_id":"36075","contact_id":"2174","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2174","uid":"u595","unique_id":"36075_2174_138-u595","ivrId":"3158","channelOTime":1742046031,"channelDTime":1742046076,"channelDuration":45,"cSTime":1742046053,"cETime":1742046076,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09588242225","server_ip":"118.185.137.196","insertTime":1742046076,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046034,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046053,"endTime":1742046076,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2174
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2174
            [uid] => u595
            [unique_id] => 36075_2174_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046031
            [channelDTime] => 1742046076
            [channelDuration] => 45
            [cSTime] => 1742046053
            [cETime] => 1742046076
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09588242225
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046076
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046034
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046053
                                    [endTime] => 1742046076
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 834
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.71999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29.04000000000148
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 834
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.71999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96436.51000001242
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046078
{"compaign_id":"36075","contact_id":"2259","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2259","uid":"u595","unique_id":"36075_2259_138-u595","ivrId":"3158","channelOTime":1742046058,"channelDTime":1742046077,"channelDuration":19,"cSTime":1742046074,"cETime":1742046077,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08050785861","server_ip":"118.185.137.196","insertTime":1742046077,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046061,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2259
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2259
            [uid] => u595
            [unique_id] => 36075_2259_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046058
            [channelDTime] => 1742046077
            [channelDuration] => 19
            [cSTime] => 1742046074
            [cETime] => 1742046077
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08050785861
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046077
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046061
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 836
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.87999999999911
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 28.88000000000148
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 836
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.87999999999911
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96436.35000001242
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046079
{"compaign_id":"36075","contact_id":"2206","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2206","uid":"u595","unique_id":"36075_2206_138-u595","ivrId":"3158","channelOTime":1742046045,"channelDTime":1742046078,"channelDuration":33,"cSTime":1742046061,"cETime":1742046078,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08712382553","server_ip":"118.185.137.196","insertTime":1742046078,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046048,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2206
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2206
            [uid] => u595
            [unique_id] => 36075_2206_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046045
            [channelDTime] => 1742046078
            [channelDuration] => 33
            [cSTime] => 1742046061
            [cETime] => 1742046078
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08712382553
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046078
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046048
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 837
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.95999999999911
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 28.800000000001482
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 837
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 66.95999999999911
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96436.27000001242
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046080
{"compaign_id":"36075","contact_id":"2271","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2271","uid":"u595","unique_id":"36075_2271_138-u595","ivrId":"3158","channelOTime":1742046060,"channelDTime":1742046079,"channelDuration":19,"cSTime":1742046072,"cETime":1742046079,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09365448669","server_ip":"118.185.137.196","insertTime":1742046079,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046062,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2271
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2271
            [uid] => u595
            [unique_id] => 36075_2271_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046060
            [channelDTime] => 1742046079
            [channelDuration] => 19
            [cSTime] => 1742046072
            [cETime] => 1742046079
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09365448669
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046079
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046062
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 839
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.11999999999911
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 28.640000000001482
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 839
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.11999999999911
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96436.11000001241
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742046081
{"compaign_id":"36075","contact_id":"2218","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2218","uid":"u595","unique_id":"36075_2218_138-u595","ivrId":"3158","channelOTime":1742046047,"channelDTime":1742046082,"channelDuration":35,"cSTime":1742046058,"cETime":1742046082,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09387619138","server_ip":"118.185.137.196","insertTime":1742046082,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046050,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046058,"endTime":1742046082,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2218
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2218
            [uid] => u595
            [unique_id] => 36075_2218_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046047
            [channelDTime] => 1742046082
            [channelDuration] => 35
            [cSTime] => 1742046058
            [cETime] => 1742046082
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09387619138
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046082
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046050
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046058
                                    [endTime] => 1742046082
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 840
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.19999999999911
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 28.560000000001484
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 840
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.19999999999911
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96436.03000001241
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046083
{"compaign_id":"36075","contact_id":"2209","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2209","uid":"u595","unique_id":"36075_2209_138-u595","ivrId":"3158","channelOTime":1742046046,"channelDTime":1742046084,"channelDuration":38,"cSTime":1742046060,"cETime":1742046084,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09661282027","server_ip":"118.185.137.196","insertTime":1742046084,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046048,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046060,"endTime":1742046084,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2209
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2209
            [uid] => u595
            [unique_id] => 36075_2209_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046046
            [channelDTime] => 1742046084
            [channelDuration] => 38
            [cSTime] => 1742046060
            [cETime] => 1742046084
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09661282027
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046084
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046048
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046060
                                    [endTime] => 1742046084
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 842
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.3599999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 28.400000000001484
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 842
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.3599999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96435.87000001241
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046085
{"compaign_id":"36075","contact_id":"2205","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2205","uid":"u595","unique_id":"36075_2205_138-u595","ivrId":"3158","channelOTime":1742046045,"channelDTime":1742046084,"channelDuration":39,"cSTime":1742046061,"cETime":1742046084,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09989195943","server_ip":"118.185.137.196","insertTime":1742046084,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046047,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046061,"endTime":1742046084,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2205
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2205
            [uid] => u595
            [unique_id] => 36075_2205_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046045
            [channelDTime] => 1742046084
            [channelDuration] => 39
            [cSTime] => 1742046061
            [cETime] => 1742046084
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09989195943
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046084
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046047
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046061
                                    [endTime] => 1742046084
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 844
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.5199999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 28.240000000001483
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 844
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.5199999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96435.7100000124
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046086
{"compaign_id":"36075","contact_id":"2223","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2223","uid":"u595","unique_id":"36075_2223_138-u595","ivrId":"3158","channelOTime":1742046048,"channelDTime":1742046084,"channelDuration":36,"cSTime":1742046061,"cETime":1742046084,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06291884283","server_ip":"118.185.137.196","insertTime":1742046084,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046050,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046061,"endTime":1742046084,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2223
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2223
            [uid] => u595
            [unique_id] => 36075_2223_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046048
            [channelDTime] => 1742046084
            [channelDuration] => 36
            [cSTime] => 1742046061
            [cETime] => 1742046084
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06291884283
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046084
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046050
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046061
                                    [endTime] => 1742046084
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 846
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.6799999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 28.080000000001483
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 846
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.6799999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96435.5500000124
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046086
{"compaign_id":"36075","contact_id":"2272","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2272","uid":"u595","unique_id":"36075_2272_138-u595","ivrId":"3158","channelOTime":1742046060,"channelDTime":1742046086,"channelDuration":26,"cSTime":1742046062,"cETime":1742046086,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09311447856","server_ip":"118.185.137.196","insertTime":1742046086,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046062,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046062,"endTime":1742046086,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2272
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2272
            [uid] => u595
            [unique_id] => 36075_2272_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046060
            [channelDTime] => 1742046086
            [channelDuration] => 26
            [cSTime] => 1742046062
            [cETime] => 1742046086
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09311447856
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046086
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046062
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046062
                                    [endTime] => 1742046086
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 848
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.8399999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 27.920000000001483
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 848
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.8399999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96435.3900000124
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046088
{"compaign_id":"36075","contact_id":"2268","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2268","uid":"u595","unique_id":"36075_2268_138-u595","ivrId":"3158","channelOTime":1742046059,"channelDTime":1742046092,"channelDuration":33,"cSTime":1742046069,"cETime":1742046092,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07338606658","server_ip":"118.185.137.196","insertTime":1742046092,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046062,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046069,"endTime":1742046092,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2268
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2268
            [uid] => u595
            [unique_id] => 36075_2268_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046059
            [channelDTime] => 1742046092
            [channelDuration] => 33
            [cSTime] => 1742046069
            [cETime] => 1742046092
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07338606658
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046092
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046062
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046069
                                    [endTime] => 1742046092
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 850
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.99999999999909
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 27.760000000001483
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 850
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 67.99999999999909
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96435.2300000124
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046094
{"compaign_id":"36075","contact_id":"2233","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2233","uid":"u595","unique_id":"36075_2233_138-u595","ivrId":"3158","channelOTime":1742046052,"channelDTime":1742046096,"channelDuration":44,"cSTime":1742046073,"cETime":1742046096,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09992287751","server_ip":"118.185.137.196","insertTime":1742046096,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046054,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046073,"endTime":1742046096,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2233
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2233
            [uid] => u595
            [unique_id] => 36075_2233_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046052
            [channelDTime] => 1742046096
            [channelDuration] => 44
            [cSTime] => 1742046073
            [cETime] => 1742046096
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09992287751
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046096
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046054
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046073
                                    [endTime] => 1742046096
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 852
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.15999999999909
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 27.600000000001483
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 852
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.15999999999909
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96435.07000001239
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046098
{"compaign_id":"36075","contact_id":"2254","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2254","uid":"u595","unique_id":"36075_2254_138-u595","ivrId":"3158","channelOTime":1742046057,"channelDTime":1742046098,"channelDuration":41,"cSTime":1742046075,"cETime":1742046098,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08086742366","server_ip":"118.185.137.196","insertTime":1742046098,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046058,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046075,"endTime":1742046098,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2254
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2254
            [uid] => u595
            [unique_id] => 36075_2254_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046057
            [channelDTime] => 1742046098
            [channelDuration] => 41
            [cSTime] => 1742046075
            [cETime] => 1742046098
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08086742366
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046098
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046058
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046075
                                    [endTime] => 1742046098
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 854
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.31999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 27.440000000001483
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 854
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.31999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96434.91000001239
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046100
{"compaign_id":"36075","contact_id":"2238","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2238","uid":"u595","unique_id":"36075_2238_138-u595","ivrId":"3158","channelOTime":1742046053,"channelDTime":1742046100,"channelDuration":47,"cSTime":1742046077,"cETime":1742046100,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07503468977","server_ip":"118.185.137.196","insertTime":1742046100,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742046056,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742046077,"endTime":1742046100,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2238
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2238
            [uid] => u595
            [unique_id] => 36075_2238_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742046053
            [channelDTime] => 1742046100
            [channelDuration] => 47
            [cSTime] => 1742046077
            [cETime] => 1742046100
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07503468977
            [server_ip] => 118.185.137.196
            [insertTime] => 1742046100
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742046056
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742046077
                                    [endTime] => 1742046100
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 856
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.47999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 27.280000000001483
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 856
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.47999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96434.75000001238
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742046102
2025-03-15 19:12:02[LOG]Starting Cron
2025-03-15 19:12:02[LOG]Process is already running
2025-03-15 19:13:01[LOG]Starting Cron

Kill Existing Process : 720170
1742046181
2025-03-15 19:14:02[LOG]Starting Cron

Kill Existing Process : 728168
1742046242
2025-03-15 19:15:01[LOG]Starting Cron

Kill Existing Process : 728689
1742046301
2025-03-15 19:16:02[LOG]Starting Cron

Kill Existing Process : 729190
1742046362
2025-03-15 19:17:02[LOG]Starting Cron

Kill Existing Process : 729715
1742046422
2025-03-15 19:18:02[LOG]Starting Cron

Kill Existing Process : 730200
1742046482
2025-03-15 19:19:02[LOG]Starting Cron

Kill Existing Process : 730747
1742046542
2025-03-15 19:20:02[LOG]Starting Cron

Kill Existing Process : 731271
1742046602
2025-03-15 19:21:01[LOG]Starting Cron

Kill Existing Process : 731772
1742046661
2025-03-15 19:22:02[LOG]Starting Cron

Kill Existing Process : 732283
1742046722
2025-03-15 19:23:02[LOG]Starting Cron

Kill Existing Process : 732809
1742046782
2025-03-15 19:24:02[LOG]Starting Cron

Kill Existing Process : 733285
1742046842
2025-03-15 19:25:02[LOG]Starting Cron

Kill Existing Process : 733671
1742046902
2025-03-15 19:26:02[LOG]Starting Cron

Kill Existing Process : 734130
1742046962
2025-03-15 19:27:03[LOG]Starting Cron

Kill Existing Process : 734529
1742047023
2025-03-15 19:28:02[LOG]Starting Cron

Kill Existing Process : 734936
1742047082
2025-03-15 19:29:02[LOG]Starting Cron

Kill Existing Process : 735371
1742047142
2025-03-15 19:30:02[LOG]Starting Cron

Kill Existing Process : 735757
1742047202
2025-03-15 19:31:02[LOG]Starting Cron

Kill Existing Process : 736204
1742047262
2025-03-15 19:32:02[LOG]Starting Cron

Kill Existing Process : 736613
1742047322
2025-03-15 19:33:02[LOG]Starting Cron

Kill Existing Process : 737051
1742047382
2025-03-15 19:34:02[LOG]Starting Cron

Kill Existing Process : 737470
1742047442
2025-03-15 19:35:02[LOG]Starting Cron

Kill Existing Process : 737890
1742047502
2025-03-15 19:36:01[LOG]Starting Cron

Kill Existing Process : 738305
1742047561
2025-03-15 19:37:02[LOG]Starting Cron

Kill Existing Process : 738724
1742047622
2025-03-15 19:38:02[LOG]Starting Cron

Kill Existing Process : 739143
1742047682
2025-03-15 19:39:02[LOG]Starting Cron

Kill Existing Process : 739560
1742047742
2025-03-15 19:40:01[LOG]Starting Cron

Kill Existing Process : 740009
1742047801
2025-03-15 19:41:02[LOG]Starting Cron

Kill Existing Process : 740436
1742047862
2025-03-15 19:42:02[LOG]Starting Cron

Kill Existing Process : 740856
1742047922
2025-03-15 19:43:02[LOG]Starting Cron

Kill Existing Process : 741278
1742047982
{"compaign_id":"36075","contact_id":"2281","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2281","uid":"u595","unique_id":"36075_2281_138-u595","ivrId":"3158","channelOTime":1742047995,"channelDTime":1742048010,"channelDuration":15,"cSTime":1742048000,"cETime":1742048010,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09080656230","server_ip":"118.185.137.196","insertTime":1742048010,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742047997,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2281
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2281
            [uid] => u595
            [unique_id] => 36075_2281_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742047995
            [channelDTime] => 1742048010
            [channelDuration] => 15
            [cSTime] => 1742048000
            [cETime] => 1742048010
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09080656230
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048010
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742047997
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 858
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.63999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 27.120000000001482
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 858
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.63999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96434.59000001238
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048012
{"compaign_id":"36075","contact_id":"2283","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2283","uid":"u595","unique_id":"36075_2283_138-u595","ivrId":"3158","channelOTime":1742047995,"channelDTime":1742048013,"channelDuration":18,"cSTime":1742048007,"cETime":1742048013,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09506014324","server_ip":"118.185.137.196","insertTime":1742048013,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742047998,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2283
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2283
            [uid] => u595
            [unique_id] => 36075_2283_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742047995
            [channelDTime] => 1742048013
            [channelDuration] => 18
            [cSTime] => 1742048007
            [cETime] => 1742048013
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09506014324
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048013
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742047998
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 859
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.71999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 27.040000000001484
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 859
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.71999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96434.51000001238
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048014
{"compaign_id":"36075","contact_id":"2295","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2295","uid":"u595","unique_id":"36075_2295_138-u595","ivrId":"3158","channelOTime":1742047998,"channelDTime":1742048016,"channelDuration":18,"cSTime":1742048012,"cETime":1742048016,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06268924686","server_ip":"118.185.137.196","insertTime":1742048016,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048000,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2295
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2295
            [uid] => u595
            [unique_id] => 36075_2295_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742047998
            [channelDTime] => 1742048016
            [channelDuration] => 18
            [cSTime] => 1742048012
            [cETime] => 1742048016
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06268924686
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048016
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048000
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 860
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.79999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 26.960000000001486
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 860
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.79999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96434.43000001238
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048018
{"compaign_id":"36075","contact_id":"2298","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2298","uid":"u595","unique_id":"36075_2298_138-u595","ivrId":"3158","channelOTime":1742047998,"channelDTime":1742048017,"channelDuration":19,"cSTime":1742048006,"cETime":1742048017,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08739089390","server_ip":"118.185.137.196","insertTime":1742048017,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048001,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2298
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2298
            [uid] => u595
            [unique_id] => 36075_2298_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742047998
            [channelDTime] => 1742048017
            [channelDuration] => 19
            [cSTime] => 1742048006
            [cETime] => 1742048017
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08739089390
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048017
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048001
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 861
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.87999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 26.880000000001488
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 861
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.87999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96434.35000001237
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048019
{"compaign_id":"36075","contact_id":"2324","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2324","uid":"u595","unique_id":"36075_2324_138-u595","ivrId":"3158","channelOTime":1742048003,"channelDTime":1742048018,"channelDuration":15,"cSTime":1742048015,"cETime":1742048018,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09957627844","server_ip":"118.185.137.196","insertTime":1742048018,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048007,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2324
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2324
            [uid] => u595
            [unique_id] => 36075_2324_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048003
            [channelDTime] => 1742048018
            [channelDuration] => 15
            [cSTime] => 1742048015
            [cETime] => 1742048018
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09957627844
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048018
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048007
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 862
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.95999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 26.80000000000149
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 862
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 68.95999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96434.27000001237
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048020
{"compaign_id":"36075","contact_id":"2314","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2314","uid":"u595","unique_id":"36075_2314_138-u595","ivrId":"3158","channelOTime":1742048001,"channelDTime":1742048023,"channelDuration":22,"cSTime":1742048019,"cETime":1742048023,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08218763224","server_ip":"118.185.137.196","insertTime":1742048023,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048003,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2314
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2314
            [uid] => u595
            [unique_id] => 36075_2314_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048001
            [channelDTime] => 1742048023
            [channelDuration] => 22
            [cSTime] => 1742048019
            [cETime] => 1742048023
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08218763224
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048023
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048003
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 863
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.03999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 26.72000000000149
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 863
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.03999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96434.19000001237
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048025
{"compaign_id":"36075","contact_id":"2321","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2321","uid":"u595","unique_id":"36075_2321_138-u595","ivrId":"3158","channelOTime":1742048003,"channelDTime":1742048026,"channelDuration":23,"cSTime":1742048016,"cETime":1742048026,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07395825239","server_ip":"118.185.137.196","insertTime":1742048026,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048006,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2321
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2321
            [uid] => u595
            [unique_id] => 36075_2321_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048003
            [channelDTime] => 1742048026
            [channelDuration] => 23
            [cSTime] => 1742048016
            [cETime] => 1742048026
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07395825239
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048026
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048006
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 864
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.11999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 26.640000000001493
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 864
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.11999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96434.11000001237
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048028
{"compaign_id":"36075","contact_id":"2315","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2315","uid":"u595","unique_id":"36075_2315_138-u595","ivrId":"3158","channelOTime":1742048002,"channelDTime":1742048030,"channelDuration":28,"cSTime":1742048014,"cETime":1742048030,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09381319981","server_ip":"118.185.137.196","insertTime":1742048030,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048005,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2315
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2315
            [uid] => u595
            [unique_id] => 36075_2315_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048002
            [channelDTime] => 1742048030
            [channelDuration] => 28
            [cSTime] => 1742048014
            [cETime] => 1742048030
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09381319981
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048030
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048005
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 865
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.19999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 26.560000000001494
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 865
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.19999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96434.03000001237
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048032
{"compaign_id":"36075","contact_id":"2308","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2308","uid":"u595","unique_id":"36075_2308_138-u595","ivrId":"3158","channelOTime":1742048000,"channelDTime":1742048033,"channelDuration":33,"cSTime":1742048009,"cETime":1742048033,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07675992015","server_ip":"118.185.137.196","insertTime":1742048033,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048003,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048009,"endTime":1742048033,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2308
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2308
            [uid] => u595
            [unique_id] => 36075_2308_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048000
            [channelDTime] => 1742048033
            [channelDuration] => 33
            [cSTime] => 1742048009
            [cETime] => 1742048033
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07675992015
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048033
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048003
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048009
                                    [endTime] => 1742048033
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 867
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.35999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 26.400000000001494
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 867
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.35999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96433.87000001236
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048034
{"compaign_id":"36075","contact_id":"2286","total_duration":"27","answer_duration":27,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2286","uid":"u595","unique_id":"36075_2286_138-u595","ivrId":"3158","channelOTime":1742047996,"channelDTime":1742048034,"channelDuration":38,"cSTime":1742048007,"cETime":1742048034,"cDuration":27,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09513157027","server_ip":"118.185.137.196","insertTime":1742048034,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742047998,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048007,"endTime":1742048028,"duration":21}],"#3":[{"startTime":1742048028,"endTime":1742048034,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2286
    [total_duration] => 27
    [answer_duration] => 27
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2286
            [uid] => u595
            [unique_id] => 36075_2286_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742047996
            [channelDTime] => 1742048034
            [channelDuration] => 38
            [cSTime] => 1742048007
            [cETime] => 1742048034
            [cDuration] => 27
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09513157027
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048034
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742047998
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048007
                                    [endTime] => 1742048028
                                    [duration] => 21
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048028
                                    [endTime] => 1742048034
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 869
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.51999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 26.240000000001494
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 869
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.51999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96433.71000001236
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048036
{"compaign_id":"36075","contact_id":"2288","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2288","uid":"u595","unique_id":"36075_2288_138-u595","ivrId":"3158","channelOTime":1742047996,"channelDTime":1742048041,"channelDuration":45,"cSTime":1742048017,"cETime":1742048041,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08439618598","server_ip":"118.185.137.196","insertTime":1742048041,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048001,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048017,"endTime":1742048041,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2288
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2288
            [uid] => u595
            [unique_id] => 36075_2288_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742047996
            [channelDTime] => 1742048041
            [channelDuration] => 45
            [cSTime] => 1742048017
            [cETime] => 1742048041
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08439618598
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048041
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048001
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048017
                                    [endTime] => 1742048041
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 871
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.67999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 26.080000000001494
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 871
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.67999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96433.55000001236
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048042
{"compaign_id":"36075","contact_id":"2312","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2312","uid":"u595","unique_id":"36075_2312_138-u595","ivrId":"3158","channelOTime":1742048001,"channelDTime":1742048041,"channelDuration":40,"cSTime":1742048017,"cETime":1742048041,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09883982420","server_ip":"118.185.137.196","insertTime":1742048041,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048003,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048017,"endTime":1742048041,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2312
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2312
            [uid] => u595
            [unique_id] => 36075_2312_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048001
            [channelDTime] => 1742048041
            [channelDuration] => 40
            [cSTime] => 1742048017
            [cETime] => 1742048041
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09883982420
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048041
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048003
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048017
                                    [endTime] => 1742048041
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 873
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.83999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 25.920000000001494
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 873
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.83999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96433.39000001235
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048043
2025-03-15 19:44:03[LOG]Starting Cron
2025-03-15 19:44:03[LOG]Process is already running
{"compaign_id":"36075","contact_id":"2329","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2329","uid":"u595","unique_id":"36075_2329_138-u595","ivrId":"3158","channelOTime":1742048004,"channelDTime":1742048045,"channelDuration":41,"cSTime":1742048030,"cETime":1742048045,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07567042583","server_ip":"118.185.137.196","insertTime":1742048045,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048006,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2329
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2329
            [uid] => u595
            [unique_id] => 36075_2329_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048004
            [channelDTime] => 1742048045
            [channelDuration] => 41
            [cSTime] => 1742048030
            [cETime] => 1742048045
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07567042583
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048045
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048006
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 875
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.99999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 25.760000000001494
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 875
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 69.99999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96433.23000001235
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048046
{"compaign_id":"36075","contact_id":"2338","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2338","uid":"u595","unique_id":"36075_2338_138-u595","ivrId":"3158","channelOTime":1742048052,"channelDTime":1742048062,"channelDuration":10,"cSTime":1742048060,"cETime":1742048062,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08827380962","server_ip":"118.185.137.196","insertTime":1742048062,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048055,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2338
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2338
            [uid] => u595
            [unique_id] => 36075_2338_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048052
            [channelDTime] => 1742048062
            [channelDuration] => 10
            [cSTime] => 1742048060
            [cETime] => 1742048062
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08827380962
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048062
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048055
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 876
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.07999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 25.680000000001495
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 876
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.07999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96433.15000001235
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048064
{"compaign_id":"36075","contact_id":"2350","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2350","uid":"u595","unique_id":"36075_2350_138-u595","ivrId":"3158","channelOTime":1742048054,"channelDTime":1742048064,"channelDuration":10,"cSTime":1742048058,"cETime":1742048064,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08185048697","server_ip":"118.185.137.196","insertTime":1742048064,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048058,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2350
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2350
            [uid] => u595
            [unique_id] => 36075_2350_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048054
            [channelDTime] => 1742048064
            [channelDuration] => 10
            [cSTime] => 1742048058
            [cETime] => 1742048064
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08185048697
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048064
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048058
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 877
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.15999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 25.600000000001497
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 877
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.15999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96433.07000001235
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048066
{"compaign_id":"36075","contact_id":"2362","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2362","uid":"u595","unique_id":"36075_2362_138-u595","ivrId":"3158","channelOTime":1742048057,"channelDTime":1742048066,"channelDuration":9,"cSTime":1742048063,"cETime":1742048066,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08809974242","server_ip":"118.185.137.196","insertTime":1742048066,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048058,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2362
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2362
            [uid] => u595
            [unique_id] => 36075_2362_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048057
            [channelDTime] => 1742048066
            [channelDuration] => 9
            [cSTime] => 1742048063
            [cETime] => 1742048066
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08809974242
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048066
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048058
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 878
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.23999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 25.5200000000015
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 878
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.23999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.99000001235
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048068
{"compaign_id":"36075","contact_id":"2333","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2333","uid":"u595","unique_id":"36075_2333_138-u595","ivrId":"3158","channelOTime":1742048051,"channelDTime":1742048070,"channelDuration":19,"cSTime":1742048065,"cETime":1742048070,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09019691011","server_ip":"118.185.137.196","insertTime":1742048070,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048054,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2333
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2333
            [uid] => u595
            [unique_id] => 36075_2333_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048051
            [channelDTime] => 1742048070
            [channelDuration] => 19
            [cSTime] => 1742048065
            [cETime] => 1742048070
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09019691011
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048070
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048054
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 879
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.31999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 25.4400000000015
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 879
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.31999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.91000001234
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048071
{"compaign_id":"36075","contact_id":"2363","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2363","uid":"u595","unique_id":"36075_2363_138-u595","ivrId":"3158","channelOTime":1742048057,"channelDTime":1742048072,"channelDuration":15,"cSTime":1742048066,"cETime":1742048072,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09048202255","server_ip":"118.185.137.196","insertTime":1742048072,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048059,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2363
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2363
            [uid] => u595
            [unique_id] => 36075_2363_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048057
            [channelDTime] => 1742048072
            [channelDuration] => 15
            [cSTime] => 1742048066
            [cETime] => 1742048072
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09048202255
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048072
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048059
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 880
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.39999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 25.360000000001502
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 880
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.39999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.83000001234
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048074
{"compaign_id":"36075","contact_id":"2374","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2374","uid":"u595","unique_id":"36075_2374_138-u595","ivrId":"3158","channelOTime":1742048059,"channelDTime":1742048075,"channelDuration":16,"cSTime":1742048071,"cETime":1742048075,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09668384788","server_ip":"118.185.137.196","insertTime":1742048075,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048061,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2374
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2374
            [uid] => u595
            [unique_id] => 36075_2374_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048059
            [channelDTime] => 1742048075
            [channelDuration] => 16
            [cSTime] => 1742048071
            [cETime] => 1742048075
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09668384788
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048075
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048061
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 881
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.47999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 25.280000000001504
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 881
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.47999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.75000001234
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048076
{"compaign_id":"36075","contact_id":"2356","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2356","uid":"u595","unique_id":"36075_2356_138-u595","ivrId":"3158","channelOTime":1742048055,"channelDTime":1742048078,"channelDuration":23,"cSTime":1742048071,"cETime":1742048078,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09939589193","server_ip":"118.185.137.196","insertTime":1742048078,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048057,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2356
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2356
            [uid] => u595
            [unique_id] => 36075_2356_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048055
            [channelDTime] => 1742048078
            [channelDuration] => 23
            [cSTime] => 1742048071
            [cETime] => 1742048078
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09939589193
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048078
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048057
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 882
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.55999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 25.200000000001506
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 882
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.55999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.67000001234
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048079
{"compaign_id":"36075","contact_id":"2366","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2366","uid":"u595","unique_id":"36075_2366_138-u595","ivrId":"3158","channelOTime":1742048057,"channelDTime":1742048078,"channelDuration":21,"cSTime":1742048076,"cETime":1742048078,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09034358583","server_ip":"118.185.137.196","insertTime":1742048078,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048060,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2366
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2366
            [uid] => u595
            [unique_id] => 36075_2366_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048057
            [channelDTime] => 1742048078
            [channelDuration] => 21
            [cSTime] => 1742048076
            [cETime] => 1742048078
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09034358583
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048078
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048060
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 883
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.63999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 25.120000000001507
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 883
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.63999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.59000001234
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048080
{"compaign_id":"36075","contact_id":"2364","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2364","uid":"u595","unique_id":"36075_2364_138-u595","ivrId":"3158","channelOTime":1742048057,"channelDTime":1742048079,"channelDuration":22,"cSTime":1742048070,"cETime":1742048079,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09922509168","server_ip":"118.185.137.196","insertTime":1742048079,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048060,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2364
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2364
            [uid] => u595
            [unique_id] => 36075_2364_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048057
            [channelDTime] => 1742048079
            [channelDuration] => 22
            [cSTime] => 1742048070
            [cETime] => 1742048079
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09922509168
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048079
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048060
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 884
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.71999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 25.04000000000151
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 884
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.71999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.51000001233
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048081
{"compaign_id":"36075","contact_id":"2332","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2332","uid":"u595","unique_id":"36075_2332_138-u595","ivrId":"3158","channelOTime":1742048050,"channelDTime":1742048083,"channelDuration":33,"cSTime":1742048076,"cETime":1742048083,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08595230672","server_ip":"118.185.137.196","insertTime":1742048083,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048067,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2332
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2332
            [uid] => u595
            [unique_id] => 36075_2332_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048050
            [channelDTime] => 1742048083
            [channelDuration] => 33
            [cSTime] => 1742048076
            [cETime] => 1742048083
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08595230672
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048083
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048067
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 885
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.79999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 24.96000000000151
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 885
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.79999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.43000001233
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048085
{"compaign_id":"36075","contact_id":"2360","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2360","uid":"u595","unique_id":"36075_2360_138-u595","ivrId":"3158","channelOTime":1742048056,"channelDTime":1742048083,"channelDuration":27,"cSTime":1742048068,"cETime":1742048083,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09840331250","server_ip":"118.185.137.196","insertTime":1742048083,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048060,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2360
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2360
            [uid] => u595
            [unique_id] => 36075_2360_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048056
            [channelDTime] => 1742048083
            [channelDuration] => 27
            [cSTime] => 1742048068
            [cETime] => 1742048083
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09840331250
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048083
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048060
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 886
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.87999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 24.880000000001512
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 886
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.87999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.35000001233
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048085
{"compaign_id":"36075","contact_id":"2335","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2335","uid":"u595","unique_id":"36075_2335_138-u595","ivrId":"3158","channelOTime":1742048051,"channelDTime":1742048085,"channelDuration":34,"cSTime":1742048073,"cETime":1742048085,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06002543968","server_ip":"118.185.137.196","insertTime":1742048085,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048057,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2335
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2335
            [uid] => u595
            [unique_id] => 36075_2335_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048051
            [channelDTime] => 1742048085
            [channelDuration] => 34
            [cSTime] => 1742048073
            [cETime] => 1742048085
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06002543968
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048085
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048057
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 887
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.95999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 24.800000000001514
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 887
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 70.95999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.27000001233
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048086
{"compaign_id":"36075","contact_id":"2347","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2347","uid":"u595","unique_id":"36075_2347_138-u595","ivrId":"3158","channelOTime":1742048053,"channelDTime":1742048098,"channelDuration":45,"cSTime":1742048075,"cETime":1742048098,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09930192435","server_ip":"118.185.137.196","insertTime":1742048098,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048055,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048075,"endTime":1742048098,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2347
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2347
            [uid] => u595
            [unique_id] => 36075_2347_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048053
            [channelDTime] => 1742048098
            [channelDuration] => 45
            [cSTime] => 1742048075
            [cETime] => 1742048098
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09930192435
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048098
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048055
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048075
                                    [endTime] => 1742048098
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 888
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.03999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 24.720000000001516
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 888
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.03999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.19000001233
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048100
{"compaign_id":"36075","contact_id":"2371","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2371","uid":"u595","unique_id":"36075_2371_138-u595","ivrId":"3158","channelOTime":1742048058,"channelDTime":1742048100,"channelDuration":42,"cSTime":1742048077,"cETime":1742048100,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09950968593","server_ip":"118.185.137.196","insertTime":1742048100,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048060,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048077,"endTime":1742048100,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2371
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2371
            [uid] => u595
            [unique_id] => 36075_2371_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048058
            [channelDTime] => 1742048100
            [channelDuration] => 42
            [cSTime] => 1742048077
            [cETime] => 1742048100
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09950968593
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048100
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048060
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048077
                                    [endTime] => 1742048100
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found 2025-03-15 19:45:02[LOG]Starting Cron
2025-03-15 19:45:02[LOG]Process is already running
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 890
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.19999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 24.560000000001516
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 890
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.19999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96432.03000001232
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048102
2025-03-15 19:46:02[LOG]Starting Cron

Kill Existing Process : 741677
1742048162
{"compaign_id":"36075","contact_id":"2380","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2380","uid":"u595","unique_id":"36075_2380_138-u595","ivrId":"3158","channelOTime":1742048169,"channelDTime":1742048183,"channelDuration":14,"cSTime":1742048180,"cETime":1742048183,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08830367339","server_ip":"118.185.137.196","insertTime":1742048183,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048170,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2380
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2380
            [uid] => u595
            [unique_id] => 36075_2380_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048169
            [channelDTime] => 1742048183
            [channelDuration] => 14
            [cSTime] => 1742048180
            [cETime] => 1742048183
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08830367339
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048183
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048170
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 892
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.35999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 24.400000000001516
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 892
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.35999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96431.87000001232
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048185
{"compaign_id":"36075","contact_id":"2408","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2408","uid":"u595","unique_id":"36075_2408_138-u595","ivrId":"3158","channelOTime":1742048175,"channelDTime":1742048188,"channelDuration":13,"cSTime":1742048181,"cETime":1742048188,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08558844970","server_ip":"118.185.137.196","insertTime":1742048188,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048177,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2408
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2408
            [uid] => u595
            [unique_id] => 36075_2408_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048175
            [channelDTime] => 1742048188
            [channelDuration] => 13
            [cSTime] => 1742048181
            [cETime] => 1742048188
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08558844970
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048188
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048177
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 893
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.43999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 24.320000000001517
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 893
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.43999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96431.79000001232
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048189
{"compaign_id":"36075","contact_id":"2382","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2382","uid":"u595","unique_id":"36075_2382_138-u595","ivrId":"3158","channelOTime":1742048169,"channelDTime":1742048189,"channelDuration":20,"cSTime":1742048182,"cETime":1742048189,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07499943437","server_ip":"118.185.137.196","insertTime":1742048189,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048171,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2382
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2382
            [uid] => u595
            [unique_id] => 36075_2382_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048169
            [channelDTime] => 1742048189
            [channelDuration] => 20
            [cSTime] => 1742048182
            [cETime] => 1742048189
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07499943437
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048189
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048171
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 894
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.51999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 24.24000000000152
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 894
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.51999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96431.71000001232
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048190
{"compaign_id":"36075","contact_id":"2403","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2403","uid":"u595","unique_id":"36075_2403_138-u595","ivrId":"3158","channelOTime":1742048174,"channelDTime":1742048190,"channelDuration":16,"cSTime":1742048179,"cETime":1742048190,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09072000022","server_ip":"118.185.137.196","insertTime":1742048190,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048175,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2403
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2403
            [uid] => u595
            [unique_id] => 36075_2403_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048174
            [channelDTime] => 1742048190
            [channelDuration] => 16
            [cSTime] => 1742048179
            [cETime] => 1742048190
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09072000022
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048190
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048175
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 895
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.59999999999901
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 24.16000000000152
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 895
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.59999999999901
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96431.63000001232
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048191
{"compaign_id":"36075","contact_id":"2422","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2422","uid":"u595","unique_id":"36075_2422_138-u595","ivrId":"3158","channelOTime":1742048177,"channelDTime":1742048190,"channelDuration":13,"cSTime":1742048183,"cETime":1742048190,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07709605609","server_ip":"118.185.137.196","insertTime":1742048190,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048179,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2422
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2422
            [uid] => u595
            [unique_id] => 36075_2422_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048177
            [channelDTime] => 1742048190
            [channelDuration] => 13
            [cSTime] => 1742048183
            [cETime] => 1742048190
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07709605609
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048190
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048179
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 896
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.67999999999901
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 24.080000000001522
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 896
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.67999999999901
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96431.55000001231
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048192
{"compaign_id":"36075","contact_id":"2413","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2413","uid":"u595","unique_id":"36075_2413_138-u595","ivrId":"3158","channelOTime":1742048176,"channelDTime":1742048191,"channelDuration":15,"cSTime":1742048188,"cETime":1742048191,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09845259911","server_ip":"118.185.137.196","insertTime":1742048191,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048179,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2413
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2413
            [uid] => u595
            [unique_id] => 36075_2413_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048176
            [channelDTime] => 1742048191
            [channelDuration] => 15
            [cSTime] => 1742048188
            [cETime] => 1742048191
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09845259911
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048191
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048179
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 897
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.75999999999901
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 24.000000000001524
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 897
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.75999999999901
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96431.47000001231
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048192
{"compaign_id":"36075","contact_id":"2423","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2423","uid":"u595","unique_id":"36075_2423_138-u595","ivrId":"3158","channelOTime":1742048178,"channelDTime":1742048191,"channelDuration":13,"cSTime":1742048189,"cETime":1742048191,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08073774300","server_ip":"118.185.137.196","insertTime":1742048191,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048179,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2423
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2423
            [uid] => u595
            [unique_id] => 36075_2423_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048178
            [channelDTime] => 1742048191
            [channelDuration] => 13
            [cSTime] => 1742048189
            [cETime] => 1742048191
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08073774300
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048191
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048179
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 898
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.83999999999901
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 23.920000000001526
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 898
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.83999999999901
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96431.39000001231
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048193
{"compaign_id":"36075","contact_id":"2384","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2384","uid":"u595","unique_id":"36075_2384_138-u595","ivrId":"3158","channelOTime":1742048170,"channelDTime":1742048191,"channelDuration":21,"cSTime":1742048188,"cETime":1742048191,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07358673877","server_ip":"118.185.137.196","insertTime":1742048191,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048172,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2384
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2384
            [uid] => u595
            [unique_id] => 36075_2384_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048170
            [channelDTime] => 1742048191
            [channelDuration] => 21
            [cSTime] => 1742048188
            [cETime] => 1742048191
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07358673877
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048191
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048172
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 899
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.919999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 23.840000000001528
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 899
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.919999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96431.31000001231
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048194
{"compaign_id":"36075","contact_id":"2421","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2421","uid":"u595","unique_id":"36075_2421_138-u595","ivrId":"3158","channelOTime":1742048177,"channelDTime":1742048194,"channelDuration":17,"cSTime":1742048186,"cETime":1742048194,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07983778615","server_ip":"118.185.137.196","insertTime":1742048194,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048179,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2421
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2421
            [uid] => u595
            [unique_id] => 36075_2421_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048177
            [channelDTime] => 1742048194
            [channelDuration] => 17
            [cSTime] => 1742048186
            [cETime] => 1742048194
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07983778615
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048194
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048179
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 900
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.999999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 23.76000000000153
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 900
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 71.999999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96431.2300000123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048196
{"compaign_id":"36075","contact_id":"2425","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2425","uid":"u595","unique_id":"36075_2425_138-u595","ivrId":"3158","channelOTime":1742048178,"channelDTime":1742048195,"channelDuration":17,"cSTime":1742048184,"cETime":1742048195,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09370194990","server_ip":"118.185.137.196","insertTime":1742048195,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048181,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2425
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2425
            [uid] => u595
            [unique_id] => 36075_2425_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048178
            [channelDTime] => 1742048195
            [channelDuration] => 17
            [cSTime] => 1742048184
            [cETime] => 1742048195
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09370194990
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048195
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048181
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 901
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.079999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 23.68000000000153
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 901
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.079999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96431.1500000123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048197
{"compaign_id":"36075","contact_id":"2410","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2410","uid":"u595","unique_id":"36075_2410_138-u595","ivrId":"3158","channelOTime":1742048175,"channelDTime":1742048196,"channelDuration":21,"cSTime":1742048186,"cETime":1742048196,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08800342943","server_ip":"118.185.137.196","insertTime":1742048196,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048178,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2410
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2410
            [uid] => u595
            [unique_id] => 36075_2410_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048175
            [channelDTime] => 1742048196
            [channelDuration] => 21
            [cSTime] => 1742048186
            [cETime] => 1742048196
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08800342943
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048196
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048178
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 902
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.159999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 23.600000000001533
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 902
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.159999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96431.0700000123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048197
{"compaign_id":"36075","contact_id":"2429","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2429","uid":"u595","unique_id":"36075_2429_138-u595","ivrId":"3158","channelOTime":1742048179,"channelDTime":1742048198,"channelDuration":19,"cSTime":1742048189,"cETime":1742048198,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09110307355","server_ip":"118.185.137.196","insertTime":1742048198,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048180,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2429
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2429
            [uid] => u595
            [unique_id] => 36075_2429_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048179
            [channelDTime] => 1742048198
            [channelDuration] => 19
            [cSTime] => 1742048189
            [cETime] => 1742048198
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09110307355
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048198
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048180
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 903
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.239999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 23.520000000001534
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 903
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.239999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96430.9900000123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048199
{"compaign_id":"36075","contact_id":"2399","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2399","uid":"u595","unique_id":"36075_2399_138-u595","ivrId":"3158","channelOTime":1742048173,"channelDTime":1742048200,"channelDuration":27,"cSTime":1742048196,"cETime":1742048200,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07251840877","server_ip":"118.185.137.196","insertTime":1742048200,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048185,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2399
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2399
            [uid] => u595
            [unique_id] => 36075_2399_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048173
            [channelDTime] => 1742048200
            [channelDuration] => 27
            [cSTime] => 1742048196
            [cETime] => 1742048200
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07251840877
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048200
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048185
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 904
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.319999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 23.440000000001536
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 904
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.319999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96430.9100000123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048202
{"compaign_id":"36075","contact_id":"2424","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2424","uid":"u595","unique_id":"36075_2424_138-u595","ivrId":"3158","channelOTime":1742048178,"channelDTime":1742048205,"channelDuration":27,"cSTime":1742048190,"cETime":1742048205,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06201237572","server_ip":"118.185.137.196","insertTime":1742048205,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048182,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2424
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2424
            [uid] => u595
            [unique_id] => 36075_2424_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048178
            [channelDTime] => 1742048205
            [channelDuration] => 27
            [cSTime] => 1742048190
            [cETime] => 1742048205
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06201237572
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048205
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048182
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 905
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.399999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 23.360000000001538
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 905
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.399999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96430.8300000123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048207
{"compaign_id":"36075","contact_id":"2392","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2392","uid":"u595","unique_id":"36075_2392_138-u595","ivrId":"3158","channelOTime":1742048171,"channelDTime":1742048205,"channelDuration":34,"cSTime":1742048183,"cETime":1742048205,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07094815889","server_ip":"118.185.137.196","insertTime":1742048205,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048173,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048183,"endTime":1742048206,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2392
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2392
            [uid] => u595
            [unique_id] => 36075_2392_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048171
            [channelDTime] => 1742048205
            [channelDuration] => 34
            [cSTime] => 1742048183
            [cETime] => 1742048205
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07094815889
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048205
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048173
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048183
                                    [endTime] => 1742048206
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 906
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.479999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 23.28000000000154
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 906
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.479999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96430.7500000123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048207
{"compaign_id":"36075","contact_id":"2389","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2389","uid":"u595","unique_id":"36075_2389_138-u595","ivrId":"3158","channelOTime":1742048171,"channelDTime":1742048205,"channelDuration":34,"cSTime":1742048194,"cETime":1742048205,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07294172253","server_ip":"118.185.137.196","insertTime":1742048205,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048174,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2389
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2389
            [uid] => u595
            [unique_id] => 36075_2389_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048171
            [channelDTime] => 1742048205
            [channelDuration] => 34
            [cSTime] => 1742048194
            [cETime] => 1742048205
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07294172253
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048205
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048174
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 908
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.63999999999899
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 23.12000000000154
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 908
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.63999999999899
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96430.5900000123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048207
{"compaign_id":"36075","contact_id":"2416","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2416","uid":"u595","unique_id":"36075_2416_138-u595","ivrId":"3158","channelOTime":1742048176,"channelDTime":1742048206,"channelDuration":30,"cSTime":1742048202,"cETime":1742048206,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09600708067","server_ip":"118.185.137.196","insertTime":1742048206,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048178,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2416
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2416
            [uid] => u595
            [unique_id] => 36075_2416_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048176
            [channelDTime] => 1742048206
            [channelDuration] => 30
            [cSTime] => 1742048202
            [cETime] => 1742048206
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09600708067
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048206
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048178
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 909
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.71999999999899
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 23.04000000000154
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 909
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.71999999999899
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96430.51000001229
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048208
{"compaign_id":"36075","contact_id":"2427","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2427","uid":"u595","unique_id":"36075_2427_138-u595","ivrId":"3158","channelOTime":1742048178,"channelDTime":1742048208,"channelDuration":30,"cSTime":1742048189,"cETime":1742048208,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09951538836","server_ip":"118.185.137.196","insertTime":1742048208,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048180,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2427
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2427
            [uid] => u595
            [unique_id] => 36075_2427_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048178
            [channelDTime] => 1742048208
            [channelDuration] => 30
            [cSTime] => 1742048189
            [cETime] => 1742048208
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09951538836
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048208
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048180
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 910
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.79999999999899
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 22.960000000001543
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 910
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.79999999999899
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96430.43000001229
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048209
{"compaign_id":"36075","contact_id":"2388","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2388","uid":"u595","unique_id":"36075_2388_138-u595","ivrId":"3158","channelOTime":1742048171,"channelDTime":1742048209,"channelDuration":38,"cSTime":1742048185,"cETime":1742048209,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09821256759","server_ip":"118.185.137.196","insertTime":1742048209,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048175,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048185,"endTime":1742048209,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2388
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2388
            [uid] => u595
            [unique_id] => 36075_2388_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048171
            [channelDTime] => 1742048209
            [channelDuration] => 38
            [cSTime] => 1742048185
            [cETime] => 1742048209
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09821256759
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048209
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048175
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048185
                                    [endTime] => 1742048209
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 912
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.95999999999898
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 22.800000000001543
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 912
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 72.95999999999898
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96430.27000001229
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048210
{"compaign_id":"36075","contact_id":"2402","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2402","uid":"u595","unique_id":"36075_2402_138-u595","ivrId":"3158","channelOTime":1742048173,"channelDTime":1742048210,"channelDuration":37,"cSTime":1742048201,"cETime":1742048210,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07994640325","server_ip":"118.185.137.196","insertTime":1742048210,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048176,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2402
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2402
            [uid] => u595
            [unique_id] => 36075_2402_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048173
            [channelDTime] => 1742048210
            [channelDuration] => 37
            [cSTime] => 1742048201
            [cETime] => 1742048210
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07994640325
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048210
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048176
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 914
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.11999999999898
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 22.640000000001542
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 914
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.11999999999898
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96430.11000001228
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048212
{"compaign_id":"36075","contact_id":"2409","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2409","uid":"u595","unique_id":"36075_2409_138-u595","ivrId":"3158","channelOTime":1742048175,"channelDTime":1742048220,"channelDuration":45,"cSTime":1742048197,"cETime":1742048220,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07477342648","server_ip":"118.185.137.196","insertTime":1742048220,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048177,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048197,"endTime":1742048220,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2409
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2409
            [uid] => u595
            [unique_id] => 36075_2409_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048175
            [channelDTime] => 1742048220
            [channelDuration] => 45
            [cSTime] => 1742048197
            [cETime] => 1742048220
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07477342648
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048220
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048177
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048197
                                    [endTime] => 1742048220
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 915
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.19999999999898
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 22.560000000001544
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 915
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.19999999999898
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96430.03000001228
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048222
2025-03-15 19:47:02[LOG]Starting Cron
2025-03-15 19:47:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"2458","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2458","uid":"u595","unique_id":"36075_2458_138-u595","ivrId":"3158","channelOTime":1742048235,"channelDTime":1742048246,"channelDuration":11,"cSTime":1742048241,"cETime":1742048246,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09075070594","server_ip":"118.185.137.196","insertTime":1742048246,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048237,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2458
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2458
            [uid] => u595
            [unique_id] => 36075_2458_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048235
            [channelDTime] => 1742048246
            [channelDuration] => 11
            [cSTime] => 1742048241
            [cETime] => 1742048246
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09075070594
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048246
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048237
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 917
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.35999999999898
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 22.400000000001544
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 917
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.35999999999898
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96429.87000001228
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048247
{"compaign_id":"36075","contact_id":"2439","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2439","uid":"u595","unique_id":"36075_2439_138-u595","ivrId":"3158","channelOTime":1742048231,"channelDTime":1742048246,"channelDuration":15,"cSTime":1742048236,"cETime":1742048246,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09685138482","server_ip":"118.185.137.196","insertTime":1742048246,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048233,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2439
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2439
            [uid] => u595
            [unique_id] => 36075_2439_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048231
            [channelDTime] => 1742048246
            [channelDuration] => 15
            [cSTime] => 1742048236
            [cETime] => 1742048246
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09685138482
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048246
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048233
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 918
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.43999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 22.320000000001546
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 918
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.43999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96429.79000001228
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048248
{"compaign_id":"36075","contact_id":"2456","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2456","uid":"u595","unique_id":"36075_2456_138-u595","ivrId":"3158","channelOTime":1742048235,"channelDTime":1742048248,"channelDuration":13,"cSTime":1742048245,"cETime":1742048248,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07725855748","server_ip":"118.185.137.196","insertTime":1742048248,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048237,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2456
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2456
            [uid] => u595
            [unique_id] => 36075_2456_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048235
            [channelDTime] => 1742048248
            [channelDuration] => 13
            [cSTime] => 1742048245
            [cETime] => 1742048248
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07725855748
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048248
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048237
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 919
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.51999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 22.240000000001547
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 919
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.51999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96429.71000001227
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048250
{"compaign_id":"36075","contact_id":"2464","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2464","uid":"u595","unique_id":"36075_2464_138-u595","ivrId":"3158","channelOTime":1742048236,"channelDTime":1742048251,"channelDuration":15,"cSTime":1742048246,"cETime":1742048251,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08096112753","server_ip":"118.185.137.196","insertTime":1742048251,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048240,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2464
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2464
            [uid] => u595
            [unique_id] => 36075_2464_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048236
            [channelDTime] => 1742048251
            [channelDuration] => 15
            [cSTime] => 1742048246
            [cETime] => 1742048251
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08096112753
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048251
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048240
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 920
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.59999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 22.16000000000155
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 920
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.59999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96429.63000001227
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048252
{"compaign_id":"36075","contact_id":"2459","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2459","uid":"u595","unique_id":"36075_2459_138-u595","ivrId":"3158","channelOTime":1742048235,"channelDTime":1742048251,"channelDuration":16,"cSTime":1742048249,"cETime":1742048251,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08499033309","server_ip":"118.185.137.196","insertTime":1742048251,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048238,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2459
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2459
            [uid] => u595
            [unique_id] => 36075_2459_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048235
            [channelDTime] => 1742048251
            [channelDuration] => 16
            [cSTime] => 1742048249
            [cETime] => 1742048251
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08499033309
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048251
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048238
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 921
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.67999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 22.08000000000155
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 921
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.67999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96429.55000001227
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048253
{"compaign_id":"36075","contact_id":"2448","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2448","uid":"u595","unique_id":"36075_2448_138-u595","ivrId":"3158","channelOTime":1742048233,"channelDTime":1742048252,"channelDuration":19,"cSTime":1742048243,"cETime":1742048252,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08810469524","server_ip":"118.185.137.196","insertTime":1742048252,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048236,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2448
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2448
            [uid] => u595
            [unique_id] => 36075_2448_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048233
            [channelDTime] => 1742048252
            [channelDuration] => 19
            [cSTime] => 1742048243
            [cETime] => 1742048252
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08810469524
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048252
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048236
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 922
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.75999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 22.000000000001553
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 922
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.75999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96429.47000001227
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048254
{"compaign_id":"36075","contact_id":"2470","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2470","uid":"u595","unique_id":"36075_2470_138-u595","ivrId":"3158","channelOTime":1742048237,"channelDTime":1742048254,"channelDuration":17,"cSTime":1742048246,"cETime":1742048254,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09791424536","server_ip":"118.185.137.196","insertTime":1742048254,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048240,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2470
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2470
            [uid] => u595
            [unique_id] => 36075_2470_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048237
            [channelDTime] => 1742048254
            [channelDuration] => 17
            [cSTime] => 1742048246
            [cETime] => 1742048254
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09791424536
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048254
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048240
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 923
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.83999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 21.920000000001554
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 923
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.83999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96429.39000001227
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048255
{"compaign_id":"36075","contact_id":"2434","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2434","uid":"u595","unique_id":"36075_2434_138-u595","ivrId":"3158","channelOTime":1742048230,"channelDTime":1742048257,"channelDuration":27,"cSTime":1742048248,"cETime":1742048257,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08910831018","server_ip":"118.185.137.196","insertTime":1742048257,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048234,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2434
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2434
            [uid] => u595
            [unique_id] => 36075_2434_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048230
            [channelDTime] => 1742048257
            [channelDuration] => 27
            [cSTime] => 1742048248
            [cETime] => 1742048257
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08910831018
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048257
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048234
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 924
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.91999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 21.840000000001556
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 924
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.91999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96429.31000001226
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048259
{"compaign_id":"36075","contact_id":"2477","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2477","uid":"u595","unique_id":"36075_2477_138-u595","ivrId":"3158","channelOTime":1742048239,"channelDTime":1742048260,"channelDuration":21,"cSTime":1742048255,"cETime":1742048260,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09770970082","server_ip":"118.185.137.196","insertTime":1742048260,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048246,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2477
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2477
            [uid] => u595
            [unique_id] => 36075_2477_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048239
            [channelDTime] => 1742048260
            [channelDuration] => 21
            [cSTime] => 1742048255
            [cETime] => 1742048260
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09770970082
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048260
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048246
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 925
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.99999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 21.760000000001558
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 925
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 73.99999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96429.23000001226
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048261
{"compaign_id":"36075","contact_id":"2457","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2457","uid":"u595","unique_id":"36075_2457_138-u595","ivrId":"3158","channelOTime":1742048235,"channelDTime":1742048266,"channelDuration":31,"cSTime":1742048243,"cETime":1742048266,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08083991625","server_ip":"118.185.137.196","insertTime":1742048266,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048238,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048243,"endTime":1742048266,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2457
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2457
            [uid] => u595
            [unique_id] => 36075_2457_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048235
            [channelDTime] => 1742048266
            [channelDuration] => 31
            [cSTime] => 1742048243
            [cETime] => 1742048266
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08083991625
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048266
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048238
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048243
                                    [endTime] => 1742048266
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 926
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.07999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 21.68000000000156
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 926
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.07999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96429.15000001226
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048268
{"compaign_id":"36075","contact_id":"2469","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2469","uid":"u595","unique_id":"36075_2469_138-u595","ivrId":"3158","channelOTime":1742048237,"channelDTime":1742048270,"channelDuration":33,"cSTime":1742048264,"cETime":1742048270,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08369119568","server_ip":"118.185.137.196","insertTime":1742048270,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048255,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2469
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2469
            [uid] => u595
            [unique_id] => 36075_2469_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048237
            [channelDTime] => 1742048270
            [channelDuration] => 33
            [cSTime] => 1742048264
            [cETime] => 1742048270
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08369119568
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048270
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048255
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 928
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.23999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 21.52000000000156
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 928
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.23999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96428.99000001226
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048272
{"compaign_id":"36075","contact_id":"2474","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2474","uid":"u595","unique_id":"36075_2474_138-u595","ivrId":"3158","channelOTime":1742048238,"channelDTime":1742048270,"channelDuration":32,"cSTime":1742048251,"cETime":1742048270,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09840852044","server_ip":"118.185.137.196","insertTime":1742048270,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048239,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2474
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2474
            [uid] => u595
            [unique_id] => 36075_2474_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048238
            [channelDTime] => 1742048270
            [channelDuration] => 32
            [cSTime] => 1742048251
            [cETime] => 1742048270
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09840852044
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048270
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048239
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 929
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.31999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 21.44000000000156
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 929
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.31999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96428.91000001226
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048272
2025-03-15 19:48:02[LOG]Starting Cron
2025-03-15 19:48:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"2443","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2443","uid":"u595","unique_id":"36075_2443_138-u595","ivrId":"3158","channelOTime":1742048232,"channelDTime":1742048281,"channelDuration":49,"cSTime":1742048256,"cETime":1742048281,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07756887783","server_ip":"118.185.137.196","insertTime":1742048281,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048234,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048256,"endTime":1742048275,"duration":19}],"#3":[{"startTime":1742048275,"endTime":1742048281,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2443
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2443
            [uid] => u595
            [unique_id] => 36075_2443_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048232
            [channelDTime] => 1742048281
            [channelDuration] => 49
            [cSTime] => 1742048256
            [cETime] => 1742048281
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07756887783
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048281
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048234
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048256
                                    [endTime] => 1742048275
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048275
                                    [endTime] => 1742048281
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 931
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.47999999999895
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 21.28000000000156
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 931
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.47999999999895
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96428.75000001225
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048283
{"compaign_id":"36075","contact_id":"2438","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2438","uid":"u595","unique_id":"36075_2438_138-u595","ivrId":"3158","channelOTime":1742048231,"channelDTime":1742048284,"channelDuration":53,"cSTime":1742048260,"cETime":1742048284,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09673724992","server_ip":"118.185.137.196","insertTime":1742048284,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048234,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048260,"endTime":1742048284,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2438
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2438
            [uid] => u595
            [unique_id] => 36075_2438_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048231
            [channelDTime] => 1742048284
            [channelDuration] => 53
            [cSTime] => 1742048260
            [cETime] => 1742048284
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09673724992
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048284
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048234
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048260
                                    [endTime] => 1742048284
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 933
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.63999999999895
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 21.12000000000156
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 933
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.63999999999895
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96428.59000001225
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048286
{"compaign_id":"36075","contact_id":"2514","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2514","uid":"u595","unique_id":"36075_2514_138-u595","ivrId":"3158","channelOTime":1742048297,"channelDTime":1742048307,"channelDuration":10,"cSTime":1742048305,"cETime":1742048307,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09505471392","server_ip":"118.185.137.196","insertTime":1742048307,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048299,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2514
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2514
            [uid] => u595
            [unique_id] => 36075_2514_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048297
            [channelDTime] => 1742048307
            [channelDuration] => 10
            [cSTime] => 1742048305
            [cETime] => 1742048307
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09505471392
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048307
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048299
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 935
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.79999999999895
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.96000000000156
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 935
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.79999999999895
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96428.43000001225
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048309
{"compaign_id":"36075","contact_id":"2486","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2486","uid":"u595","unique_id":"36075_2486_138-u595","ivrId":"3158","channelOTime":1742048291,"channelDTime":1742048309,"channelDuration":18,"cSTime":1742048296,"cETime":1742048309,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08447700799","server_ip":"118.185.137.196","insertTime":1742048309,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048293,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2486
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2486
            [uid] => u595
            [unique_id] => 36075_2486_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048291
            [channelDTime] => 1742048309
            [channelDuration] => 18
            [cSTime] => 1742048296
            [cETime] => 1742048309
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08447700799
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048309
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048293
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 936
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.87999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.880000000001562
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 936
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.87999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96428.35000001224
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048311
{"compaign_id":"36075","contact_id":"2483","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2483","uid":"u595","unique_id":"36075_2483_138-u595","ivrId":"3158","channelOTime":1742048291,"channelDTime":1742048312,"channelDuration":21,"cSTime":1742048308,"cETime":1742048312,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08294273368","server_ip":"118.185.137.196","insertTime":1742048312,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048293,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2483
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2483
            [uid] => u595
            [unique_id] => 36075_2483_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048291
            [channelDTime] => 1742048312
            [channelDuration] => 21
            [cSTime] => 1742048308
            [cETime] => 1742048312
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08294273368
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048312
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048293
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 937
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.95999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.800000000001564
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 937
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 74.95999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96428.27000001224
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048314
{"compaign_id":"36075","contact_id":"2524","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2524","uid":"u595","unique_id":"36075_2524_138-u595","ivrId":"3158","channelOTime":1742048299,"channelDTime":1742048313,"channelDuration":14,"cSTime":1742048309,"cETime":1742048313,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08975161706","server_ip":"118.185.137.196","insertTime":1742048313,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048301,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2524
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2524
            [uid] => u595
            [unique_id] => 36075_2524_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048299
            [channelDTime] => 1742048313
            [channelDuration] => 14
            [cSTime] => 1742048309
            [cETime] => 1742048313
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08975161706
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048313
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048301
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 938
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.03999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.720000000001566
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 938
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.03999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96428.19000001224
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048314
{"compaign_id":"36075","contact_id":"2484","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2484","uid":"u595","unique_id":"36075_2484_138-u595","ivrId":"3158","channelOTime":1742048291,"channelDTime":1742048314,"channelDuration":23,"cSTime":1742048298,"cETime":1742048314,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08090110821","server_ip":"118.185.137.196","insertTime":1742048314,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048293,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2484
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2484
            [uid] => u595
            [unique_id] => 36075_2484_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048291
            [channelDTime] => 1742048314
            [channelDuration] => 23
            [cSTime] => 1742048298
            [cETime] => 1742048314
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08090110821
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048314
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048293
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 939
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.11999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.640000000001567
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 939
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.11999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96428.11000001224
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048316
{"compaign_id":"36075","contact_id":"2480","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2480","uid":"u595","unique_id":"36075_2480_138-u595","ivrId":"3158","channelOTime":1742048290,"channelDTime":1742048314,"channelDuration":24,"cSTime":1742048302,"cETime":1742048314,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07862067290","server_ip":"118.185.137.196","insertTime":1742048314,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048292,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2480
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2480
            [uid] => u595
            [unique_id] => 36075_2480_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048290
            [channelDTime] => 1742048314
            [channelDuration] => 24
            [cSTime] => 1742048302
            [cETime] => 1742048314
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07862067290
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048314
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048292
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 941
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.27999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.480000000001567
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 941
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.27999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96427.95000001224
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048316
{"compaign_id":"36075","contact_id":"2523","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2523","uid":"u595","unique_id":"36075_2523_138-u595","ivrId":"3158","channelOTime":1742048299,"channelDTime":1742048314,"channelDuration":15,"cSTime":1742048307,"cETime":1742048314,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09408101803","server_ip":"118.185.137.196","insertTime":1742048314,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048300,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2523
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2523
            [uid] => u595
            [unique_id] => 36075_2523_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048299
            [channelDTime] => 1742048314
            [channelDuration] => 15
            [cSTime] => 1742048307
            [cETime] => 1742048314
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09408101803
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048314
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048300
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 942
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.35999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.40000000000157
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 942
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.35999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96427.87000001223
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048316
{"compaign_id":"36075","contact_id":"2485","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2485","uid":"u595","unique_id":"36075_2485_138-u595","ivrId":"3158","channelOTime":1742048291,"channelDTime":1742048314,"channelDuration":23,"cSTime":1742048306,"cETime":1742048314,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08839421623","server_ip":"118.185.137.196","insertTime":1742048314,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048292,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2485
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2485
            [uid] => u595
            [unique_id] => 36075_2485_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048291
            [channelDTime] => 1742048314
            [channelDuration] => 23
            [cSTime] => 1742048306
            [cETime] => 1742048314
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08839421623
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048314
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048292
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 943
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.43999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.32000000000157
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 943
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.43999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96427.79000001223
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048316
{"compaign_id":"36075","contact_id":"2508","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2508","uid":"u595","unique_id":"36075_2508_138-u595","ivrId":"3158","channelOTime":1742048296,"channelDTime":1742048315,"channelDuration":19,"cSTime":1742048307,"cETime":1742048315,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09452664131","server_ip":"118.185.137.196","insertTime":1742048315,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048297,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2508
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2508
            [uid] => u595
            [unique_id] => 36075_2508_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048296
            [channelDTime] => 1742048315
            [channelDuration] => 19
            [cSTime] => 1742048307
            [cETime] => 1742048315
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09452664131
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048315
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048297
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 944
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.51999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.240000000001572
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 944
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.51999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96427.71000001223
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048316
{"compaign_id":"36075","contact_id":"2518","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2518","uid":"u595","unique_id":"36075_2518_138-u595","ivrId":"3158","channelOTime":1742048298,"channelDTime":1742048316,"channelDuration":18,"cSTime":1742048309,"cETime":1742048316,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08933035798","server_ip":"118.185.137.196","insertTime":1742048316,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048299,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2518
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2518
            [uid] => u595
            [unique_id] => 36075_2518_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048298
            [channelDTime] => 1742048316
            [channelDuration] => 18
            [cSTime] => 1742048309
            [cETime] => 1742048316
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08933035798
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048316
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048299
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 945
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.59999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.160000000001574
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 945
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.59999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96427.63000001223
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048318
{"compaign_id":"36075","contact_id":"2499","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2499","uid":"u595","unique_id":"36075_2499_138-u595","ivrId":"3158","channelOTime":1742048294,"channelDTime":1742048318,"channelDuration":24,"cSTime":1742048312,"cETime":1742048318,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09053101260","server_ip":"118.185.137.196","insertTime":1742048318,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048296,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2499
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2499
            [uid] => u595
            [unique_id] => 36075_2499_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048294
            [channelDTime] => 1742048318
            [channelDuration] => 24
            [cSTime] => 1742048312
            [cETime] => 1742048318
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09053101260
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048318
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048296
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 946
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.67999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.080000000001576
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 946
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.67999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96427.55000001223
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048320
{"compaign_id":"36075","contact_id":"2482","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2482","uid":"u595","unique_id":"36075_2482_138-u595","ivrId":"3158","channelOTime":1742048291,"channelDTime":1742048318,"channelDuration":27,"cSTime":1742048297,"cETime":1742048318,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09921473678","server_ip":"118.185.137.196","insertTime":1742048318,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048293,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2482
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2482
            [uid] => u595
            [unique_id] => 36075_2482_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048291
            [channelDTime] => 1742048318
            [channelDuration] => 27
            [cSTime] => 1742048297
            [cETime] => 1742048318
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09921473678
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048318
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048293
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 947
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.75999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 20.000000000001577
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 947
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.75999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96427.47000001222
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048320
{"compaign_id":"36075","contact_id":"2491","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2491","uid":"u595","unique_id":"36075_2491_138-u595","ivrId":"3158","channelOTime":1742048292,"channelDTime":1742048319,"channelDuration":27,"cSTime":1742048311,"cETime":1742048319,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09940119869","server_ip":"118.185.137.196","insertTime":1742048319,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048297,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2491
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2491
            [uid] => u595
            [unique_id] => 36075_2491_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048292
            [channelDTime] => 1742048319
            [channelDuration] => 27
            [cSTime] => 1742048311
            [cETime] => 1742048319
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09940119869
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048319
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048297
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 949
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.91999999999892
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 19.840000000001577
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 949
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.91999999999892
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96427.31000001222
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048321
{"compaign_id":"36075","contact_id":"2493","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2493","uid":"u595","unique_id":"36075_2493_138-u595","ivrId":"3158","channelOTime":1742048293,"channelDTime":1742048324,"channelDuration":31,"cSTime":1742048300,"cETime":1742048324,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07893873615","server_ip":"118.185.137.196","insertTime":1742048324,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048295,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048300,"endTime":1742048324,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2493
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2493
            [uid] => u595
            [unique_id] => 36075_2493_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048293
            [channelDTime] => 1742048324
            [channelDuration] => 31
            [cSTime] => 1742048300
            [cETime] => 1742048324
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07893873615
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048324
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048295
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048300
                                    [endTime] => 1742048324
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 950
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.99999999999892
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 19.76000000000158
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 950
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 75.99999999999892
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96427.23000001222
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048325
{"compaign_id":"36075","contact_id":"2492","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2492","uid":"u595","unique_id":"36075_2492_138-u595","ivrId":"3158","channelOTime":1742048293,"channelDTime":1742048324,"channelDuration":31,"cSTime":1742048307,"cETime":1742048324,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09565085839","server_ip":"118.185.137.196","insertTime":1742048324,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048295,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2492
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2492
            [uid] => u595
            [unique_id] => 36075_2492_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048293
            [channelDTime] => 1742048324
            [channelDuration] => 31
            [cSTime] => 1742048307
            [cETime] => 1742048324
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09565085839
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048324
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048295
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 952
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.15999999999892
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 19.60000000000158
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 952
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.15999999999892
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96427.07000001222
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048325
{"compaign_id":"36075","contact_id":"2513","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2513","uid":"u595","unique_id":"36075_2513_138-u595","ivrId":"3158","channelOTime":1742048297,"channelDTime":1742048325,"channelDuration":28,"cSTime":1742048310,"cETime":1742048325,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06204761211","server_ip":"118.185.137.196","insertTime":1742048325,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048300,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2513
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2513
            [uid] => u595
            [unique_id] => 36075_2513_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048297
            [channelDTime] => 1742048325
            [channelDuration] => 28
            [cSTime] => 1742048310
            [cETime] => 1742048325
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06204761211
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048325
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048300
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 954
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.31999999999891
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 19.44000000000158
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 954
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.31999999999891
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96426.91000001221
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048327
{"compaign_id":"36075","contact_id":"2502","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2502","uid":"u595","unique_id":"36075_2502_138-u595","ivrId":"3158","channelOTime":1742048295,"channelDTime":1742048330,"channelDuration":35,"cSTime":1742048306,"cETime":1742048330,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08527413790","server_ip":"118.185.137.196","insertTime":1742048330,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048297,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742048306,"endTime":1742048330,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2502
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2502
            [uid] => u595
            [unique_id] => 36075_2502_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048295
            [channelDTime] => 1742048330
            [channelDuration] => 35
            [cSTime] => 1742048306
            [cETime] => 1742048330
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08527413790
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048330
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048297
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742048306
                                    [endTime] => 1742048330
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 955
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.39999999999891
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 19.36000000000158
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 955
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.39999999999891
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96426.83000001221
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048331
{"compaign_id":"36075","contact_id":"2496","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2496","uid":"u595","unique_id":"36075_2496_138-u595","ivrId":"3158","channelOTime":1742048293,"channelDTime":1742048330,"channelDuration":37,"cSTime":1742048319,"cETime":1742048330,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09916155099","server_ip":"118.185.137.196","insertTime":1742048330,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048295,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2496
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2496
            [uid] => u595
            [unique_id] => 36075_2496_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048293
            [channelDTime] => 1742048330
            [channelDuration] => 37
            [cSTime] => 1742048319
            [cETime] => 1742048330
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09916155099
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048330
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048295
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 957
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.55999999999891
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 19.20000000000158
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 957
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.55999999999891
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96426.67000001221
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742048332
{"compaign_id":"36075","contact_id":"2515","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2515","uid":"u595","unique_id":"36075_2515_138-u595","ivrId":"3158","channelOTime":1742048297,"channelDTime":1742048331,"channelDuration":34,"cSTime":1742048312,"cETime":1742048331,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09391410961","server_ip":"118.185.137.196","insertTime":1742048331,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048300,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2515
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2515
            [uid] => u595
            [unique_id] => 36075_2515_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048297
            [channelDTime] => 1742048331
            [channelDuration] => 34
            [cSTime] => 1742048312
            [cETime] => 1742048331
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09391410961
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048331
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048300
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 958
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.6399999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 19.120000000001582
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 958
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.6399999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96426.5900000122
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048333
{"compaign_id":"36075","contact_id":"2520","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2520","uid":"u595","unique_id":"36075_2520_138-u595","ivrId":"3158","channelOTime":1742048298,"channelDTime":1742048332,"channelDuration":34,"cSTime":1742048316,"cETime":1742048332,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07061917207","server_ip":"118.185.137.196","insertTime":1742048332,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048302,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2520
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2520
            [uid] => u595
            [unique_id] => 36075_2520_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048298
            [channelDTime] => 1742048332
            [channelDuration] => 34
            [cSTime] => 1742048316
            [cETime] => 1742048332
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07061917207
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048332
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048302
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 960
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.7999999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 18.960000000001582
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 960
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.7999999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96426.4300000122
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048334
{"compaign_id":"36075","contact_id":"2525","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2525","uid":"u595","unique_id":"36075_2525_138-u595","ivrId":"3158","channelOTime":1742048299,"channelDTime":1742048332,"channelDuration":33,"cSTime":1742048316,"cETime":1742048332,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07602684488","server_ip":"118.185.137.196","insertTime":1742048332,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742048301,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2525
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2525
            [uid] => u595
            [unique_id] => 36075_2525_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742048299
            [channelDTime] => 1742048332
            [channelDuration] => 33
            [cSTime] => 1742048316
            [cETime] => 1742048332
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07602684488
            [server_ip] => 118.185.137.196
            [insertTime] => 1742048332
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742048301
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 962
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.9599999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 18.80000000000158
    [total_voice_amount] => 100
    [voice_amount_validity] => 1768051931
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 962
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 76.9599999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96426.2700000122
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742048334
2025-03-15 19:49:02[LOG]Starting Cron
2025-03-15 19:49:02[LOG]Process is already running
2025-03-15 19:50:01[LOG]Starting Cron

Kill Existing Process : 743032
1742048401
2025-03-15 19:51:02[LOG]Starting Cron

Kill Existing Process : 744838
1742048462
2025-03-15 19:52:02[LOG]Starting Cron

Kill Existing Process : 745247
1742048522
2025-03-15 19:53:01[LOG]Starting Cron

Kill Existing Process : 745673
1742048581
2025-03-15 19:54:02[LOG]Starting Cron

Kill Existing Process : 746080
1742048642
2025-03-15 19:55:03[LOG]Starting Cron

Kill Existing Process : 746510
1742048703
2025-03-15 19:56:02[LOG]Starting Cron

Kill Existing Process : 746931
1742048762
2025-03-15 19:57:02[LOG]Starting Cron

Kill Existing Process : 747336
1742048822
2025-03-15 19:58:02[LOG]Starting Cron

Kill Existing Process : 747747
1742048882
2025-03-15 19:59:01[LOG]Starting Cron

Kill Existing Process : 748180
1742048941
2025-03-15 20:00:02[LOG]Starting Cron

Kill Existing Process : 748577
1742049002
2025-03-15 20:01:01[LOG]Starting Cron

Kill Existing Process : 749025
1742049061
2025-03-15 20:02:02[LOG]Starting Cron

Kill Existing Process : 749444
1742049122
2025-03-15 20:03:01[LOG]Starting Cron

Kill Existing Process : 749835
1742049181
2025-03-15 20:04:02[LOG]Starting Cron

Kill Existing Process : 750244
1742049242
2025-03-15 20:05:02[LOG]Starting Cron

Kill Existing Process : 750647
1742049302
2025-03-15 20:06:02[LOG]Starting Cron

Kill Existing Process : 751079
1742049362
2025-03-15 20:07:02[LOG]Starting Cron

Kill Existing Process : 751504
1742049422
2025-03-15 20:08:02[LOG]Starting Cron

Kill Existing Process : 751916
1742049482
2025-03-15 20:09:02[LOG]Starting Cron

Kill Existing Process : 752339
1742049542
2025-03-15 20:10:02[LOG]Starting Cron

Kill Existing Process : 752791
1742049602
2025-03-15 20:11:01[LOG]Starting Cron

Kill Existing Process : 753212
1742049661
2025-03-15 20:12:02[LOG]Starting Cron

Kill Existing Process : 753619
1742049722
2025-03-15 20:13:02[LOG]Starting Cron

Kill Existing Process : 754023
1742049782
2025-03-15 20:14:02[LOG]Starting Cron

Kill Existing Process : 754450
1742049842
2025-03-15 20:15:02[LOG]Starting Cron

Kill Existing Process : 754864
1742049902
2025-03-15 20:16:02[LOG]Starting Cron

Kill Existing Process : 755273
1742049962
2025-03-15 20:17:02[LOG]Starting Cron

Kill Existing Process : 755693
1742050022
2025-03-15 20:18:02[LOG]Starting Cron

Kill Existing Process : 756100
1742050082
2025-03-15 20:19:02[LOG]Starting Cron

Kill Existing Process : 756491
1742050142
2025-03-15 20:20:02[LOG]Starting Cron

Kill Existing Process : 756931
1742050202
2025-03-15 20:21:01[LOG]Starting Cron

Kill Existing Process : 757350
1742050261
2025-03-15 20:22:02[LOG]Starting Cron

Kill Existing Process : 757756
1742050322
2025-03-15 20:23:01[LOG]Starting Cron

Kill Existing Process : 758179
1742050381
2025-03-15 20:24:02[LOG]Starting Cron

Kill Existing Process : 758573
1742050442
2025-03-15 20:25:02[LOG]Starting Cron

Kill Existing Process : 759006
1742050502
2025-03-15 20:26:02[LOG]Starting Cron

Kill Existing Process : 759412
1742050562
2025-03-15 20:27:02[LOG]Starting Cron

Kill Existing Process : 759845
1742050622
2025-03-15 20:28:02[LOG]Starting Cron

Kill Existing Process : 760271
1742050682
2025-03-15 20:29:01[LOG]Starting Cron

Kill Existing Process : 760685
1742050741
2025-03-15 20:30:02[LOG]Starting Cron

Kill Existing Process : 761077
1742050802
2025-03-15 20:31:02[LOG]Starting Cron

Kill Existing Process : 761524
1742050862
2025-03-15 20:32:02[LOG]Starting Cron

Kill Existing Process : 761947
1742050922
2025-03-15 20:33:02[LOG]Starting Cron

Kill Existing Process : 762373
1742050982
2025-03-15 20:34:02[LOG]Starting Cron

Kill Existing Process : 762789
1742051042
2025-03-15 20:35:02[LOG]Starting Cron

Kill Existing Process : 763198
1742051102
2025-03-15 20:36:01[LOG]Starting Cron

Kill Existing Process : 763624
1742051161
2025-03-15 20:37:02[LOG]Starting Cron

Kill Existing Process : 764059
1742051222
2025-03-15 20:38:01[LOG]Starting Cron

Kill Existing Process : 764480
1742051281
2025-03-15 20:39:02[LOG]Starting Cron

Kill Existing Process : 764892
1742051342
2025-03-15 20:40:01[LOG]Starting Cron

Kill Existing Process : 765321
1742051401
2025-03-15 20:41:02[LOG]Starting Cron

Kill Existing Process : 765760
1742051462
2025-03-15 20:42:01[LOG]Starting Cron

Kill Existing Process : 766185
1742051521
2025-03-15 20:43:03[LOG]Starting Cron

Kill Existing Process : 766608
1742051583
2025-03-15 20:44:01[LOG]Starting Cron

Kill Existing Process : 766999
1742051641
2025-03-15 20:45:02[LOG]Starting Cron

Kill Existing Process : 767396
1742051702
2025-03-15 20:46:02[LOG]Starting Cron

Kill Existing Process : 767871
1742051762
2025-03-15 20:47:01[LOG]Starting Cron

Kill Existing Process : 768279
1742051821
{"compaign_id":"36045","contact_id":"165","total_duration":"21","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36045_165","uid":"u491","unique_id":"36045_165_138-u491","ivrId":200,"channelOTime":1742051857,"channelDTime":1742051872,"channelDuration":15,"cSTime":1742051863,"cETime":1742051872,"cDuration":9,"status":"answered","ivrExecuteFlow":"#1","recordingName":0,"receiver":"08574387666","server_ip":"118.185.137.196","insertTime":1742051872,"ivrData":{"#1":["Attention SOS alert from S I S Vehicle DL1LAF4560-MHA at 15.03.2025 20:47:35 near Captain Gaur Marg, Kalkaji, South East, Delhi 110019, India."],"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742051859,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":"1","busy":0,"congestion":"2","other":"1"},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#1":[{"startTime":1742051863,"endTime":1742051872,"duration":9}],"#2":[]},"callType":"obd","process":0,"duration":21}}
Array
(
    [compaign_id] => 36045
    [contact_id] => 165
    [total_duration] => 21
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36045_165
            [uid] => u491
            [unique_id] => 36045_165_138-u491
            [ivrId] => 200
            [channelOTime] => 1742051857
            [channelDTime] => 1742051872
            [channelDuration] => 15
            [cSTime] => 1742051863
            [cETime] => 1742051872
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #1
            [recordingName] => 0
            [receiver] => 08574387666
            [server_ip] => 118.185.137.196
            [insertTime] => 1742051872
            [ivrData] => Array
                (
                    [#1] => Array
                        (
                            [0] => Attention SOS alert from S I S Vehicle DL1LAF4560-MHA at 15.03.2025 20:47:35 near Captain Gaur Marg, Kalkaji, South East, Delhi 110019, India.
                        )

                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742051859
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 1
                    [busy] => 0
                    [congestion] => 2
                    [other] => 1
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#1] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742051863
                                    [endTime] => 1742051872
                                    [duration] => 9
                                )

                        )

                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 21
        )

)
 

 --------------------------------------------- 

 

 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36045' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168348
    [user_id] => u491
    [user_type] => user
    [compaign_id] => 36045
    [plan_type] => answered
    [no_of_pulse] => 3
    [pulse] => 30
    [pulse_rate] => 0.35
    [amount] => 1.0499999999999998
    [type] => D
    [create_date] => 1742001890
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u491
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 14332.899999999307
    [total_voice_amount] => 15000
    [voice_amount_validity] => 1747560916
    [create_date] => 1725272962
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 890
    [user_id] => u491
    [voice_plan_id] => 55
    [pulse] => 30
    [pulse_rate] => 0.35
    [real_pulsing] => 0
    [create_date] => 1725273775
    [create_by] => r54
    [update_date] => 1726650198
    [update_by] => r54
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.35, no_of_pulse=no_of_pulse+1, pulse=30, pulse_rate=0.35 WHERE id=168348 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.35 WHERE user_id='u491' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168349
    [user_id] => r54
    [user_type] => reseller
    [compaign_id] => 36045
    [plan_type] => answered
    [no_of_pulse] => 3
    [pulse] => 30
    [pulse_rate] => 0.18
    [amount] => 0.54
    [type] => D
    [create_date] => 1742001890
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => r54
    [user_type] => reseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => 0.6
    [seconds_rate] => -1
    [max_allowed_hits] => -1
    [voice_amount] => 6686.919999999445
    [total_voice_amount] => 7030
    [voice_amount_validity] => 1756808964
    [create_date] => 1725272236
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 888
    [user_id] => r54
    [voice_plan_id] => 55
    [pulse] => 30
    [pulse_rate] => 0.18
    [real_pulsing] => 0
    [create_date] => 1725273046
    [create_by] => admin11
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.18, no_of_pulse=no_of_pulse+1, pulse=30, pulse_rate=0.18 WHERE id=168349 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.18 WHERE user_id='r54' LIMIT 1  

 1742051873
2025-03-15 20:48:02[LOG]Starting Cron
2025-03-15 20:48:02[LOG]Process is already running
2025-03-15 20:49:03[LOG]Starting Cron

Kill Existing Process : 768695
1742051943
2025-03-15 20:50:02[LOG]Starting Cron

Kill Existing Process : 769523
1742052002
2025-03-15 20:51:02[LOG]Starting Cron

Kill Existing Process : 769944
1742052062
2025-03-15 20:52:02[LOG]Starting Cron

Kill Existing Process : 770336
1742052122
2025-03-15 20:53:02[LOG]Starting Cron

Kill Existing Process : 770770
1742052182
2025-03-15 20:54:02[LOG]Starting Cron

Kill Existing Process : 771196
1742052242
2025-03-15 20:55:01[LOG]Starting Cron

Kill Existing Process : 771614
1742052301
{"compaign_id":"36075","contact_id":"2542","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2542","uid":"u595","unique_id":"36075_2542_138-u595","ivrId":"3158","channelOTime":1742052314,"channelDTime":1742052327,"channelDuration":13,"cSTime":1742052322,"cETime":1742052327,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08866133373","server_ip":"118.185.137.196","insertTime":1742052327,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052317,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2542
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2542
            [uid] => u595
            [unique_id] => 36075_2542_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052314
            [channelDTime] => 1742052327
            [channelDuration] => 13
            [cSTime] => 1742052322
            [cETime] => 1742052327
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08866133373
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052327
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052317
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 964
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.1199999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30018.640000000003
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 964
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.1199999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94236.45000001219
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052329
{"compaign_id":"36075","contact_id":"2578","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2578","uid":"u595","unique_id":"36075_2578_138-u595","ivrId":"3158","channelOTime":1742052322,"channelDTime":1742052338,"channelDuration":16,"cSTime":1742052335,"cETime":1742052338,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08790028894","server_ip":"118.185.137.196","insertTime":1742052338,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052323,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2578
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2578
            [uid] => u595
            [unique_id] => 36075_2578_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052322
            [channelDTime] => 1742052338
            [channelDuration] => 16
            [cSTime] => 1742052335
            [cETime] => 1742052338
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08790028894
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052338
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052323
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 965
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.1999999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30018.56
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 965
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.1999999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94236.37000001219
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052340
{"compaign_id":"36075","contact_id":"2540","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2540","uid":"u595","unique_id":"36075_2540_138-u595","ivrId":"3158","channelOTime":1742052314,"channelDTime":1742052340,"channelDuration":26,"cSTime":1742052327,"cETime":1742052340,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07724074385","server_ip":"118.185.137.196","insertTime":1742052340,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052316,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2540
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2540
            [uid] => u595
            [unique_id] => 36075_2540_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052314
            [channelDTime] => 1742052340
            [channelDuration] => 26
            [cSTime] => 1742052327
            [cETime] => 1742052340
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07724074385
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052340
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052316
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 966
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.27999999999889
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30018.48
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 966
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.27999999999889
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94236.29000001219
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052342
{"compaign_id":"36075","contact_id":"2596","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2596","uid":"u595","unique_id":"36075_2596_138-u595","ivrId":"3158","channelOTime":1742052332,"channelDTime":1742052347,"channelDuration":15,"cSTime":1742052344,"cETime":1742052347,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08810438043","server_ip":"118.185.137.196","insertTime":1742052347,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052334,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2596
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2596
            [uid] => u595
            [unique_id] => 36075_2596_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052332
            [channelDTime] => 1742052347
            [channelDuration] => 15
            [cSTime] => 1742052344
            [cETime] => 1742052347
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08810438043
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052347
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052334
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 967
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.35999999999889
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30018.399999999998
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 967
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.35999999999889
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94236.21000001219
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052349
{"compaign_id":"36075","contact_id":"2573","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2573","uid":"u595","unique_id":"36075_2573_138-u595","ivrId":"3158","channelOTime":1742052321,"channelDTime":1742052350,"channelDuration":29,"cSTime":1742052340,"cETime":1742052350,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09677228594","server_ip":"118.185.137.196","insertTime":1742052350,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052324,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2573
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2573
            [uid] => u595
            [unique_id] => 36075_2573_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052321
            [channelDTime] => 1742052350
            [channelDuration] => 29
            [cSTime] => 1742052340
            [cETime] => 1742052350
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09677228594
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052350
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052324
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 968
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.43999999999889
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30018.319999999996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 968
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.43999999999889
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94236.13000001218
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052352
{"compaign_id":"36075","contact_id":"2583","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2583","uid":"u595","unique_id":"36075_2583_138-u595","ivrId":"3158","channelOTime":1742052330,"channelDTime":1742052351,"channelDuration":21,"cSTime":1742052338,"cETime":1742052351,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09676003083","server_ip":"118.185.137.196","insertTime":1742052351,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052333,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2583
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2583
            [uid] => u595
            [unique_id] => 36075_2583_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052330
            [channelDTime] => 1742052351
            [channelDuration] => 21
            [cSTime] => 1742052338
            [cETime] => 1742052351
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09676003083
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052351
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052333
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 969
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.51999999999889
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30018.239999999994
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 969
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.51999999999889
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94236.05000001218
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052353
{"compaign_id":"36075","contact_id":"2582","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2582","uid":"u595","unique_id":"36075_2582_138-u595","ivrId":"3158","channelOTime":1742052329,"channelDTime":1742052353,"channelDuration":24,"cSTime":1742052343,"cETime":1742052353,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06207569496","server_ip":"118.185.137.196","insertTime":1742052353,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052332,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2582
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2582
            [uid] => u595
            [unique_id] => 36075_2582_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052329
            [channelDTime] => 1742052353
            [channelDuration] => 24
            [cSTime] => 1742052343
            [cETime] => 1742052353
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06207569496
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052353
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052332
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 970
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.59999999999889
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30018.159999999993
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 970
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.59999999999889
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94235.97000001218
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052354
{"compaign_id":"36075","contact_id":"2569","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2569","uid":"u595","unique_id":"36075_2569_138-u595","ivrId":"3158","channelOTime":1742052320,"channelDTime":1742052357,"channelDuration":37,"cSTime":1742052340,"cETime":1742052357,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09836247414","server_ip":"118.185.137.196","insertTime":1742052357,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052322,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2569
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2569
            [uid] => u595
            [unique_id] => 36075_2569_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052320
            [channelDTime] => 1742052357
            [channelDuration] => 37
            [cSTime] => 1742052340
            [cETime] => 1742052357
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09836247414
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052357
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052322
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 971
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.67999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30018.07999999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 971
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.67999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94235.89000001218
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052358
{"compaign_id":"36075","contact_id":"2547","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2547","uid":"u595","unique_id":"36075_2547_138-u595","ivrId":"3158","channelOTime":1742052315,"channelDTime":1742052357,"channelDuration":42,"cSTime":1742052333,"cETime":1742052357,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08273827501","server_ip":"118.185.137.196","insertTime":1742052357,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052317,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052333,"endTime":1742052357,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2547
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2547
            [uid] => u595
            [unique_id] => 36075_2547_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052315
            [channelDTime] => 1742052357
            [channelDuration] => 42
            [cSTime] => 1742052333
            [cETime] => 1742052357
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08273827501
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052357
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052317
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052333
                                    [endTime] => 1742052357
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 973
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.83999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30017.91999999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 973
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.83999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94235.73000001218
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052359
{"compaign_id":"36075","contact_id":"2633","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2633","uid":"u595","unique_id":"36075_2633_138-u595","ivrId":"3158","channelOTime":1742052348,"channelDTime":1742052360,"channelDuration":12,"cSTime":1742052356,"cETime":1742052360,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09618491895","server_ip":"118.185.137.196","insertTime":1742052360,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052351,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2633
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2633
            [uid] => u595
            [unique_id] => 36075_2633_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052348
            [channelDTime] => 1742052360
            [channelDuration] => 12
            [cSTime] => 1742052356
            [cETime] => 1742052360
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09618491895
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052360
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052351
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 975
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.99999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30017.75999999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 975
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 77.99999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94235.57000001217
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052362
2025-03-15 20:56:02[LOG]Starting Cron
2025-03-15 20:56:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"2534","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2534","uid":"u595","unique_id":"36075_2534_138-u595","ivrId":"3158","channelOTime":1742052313,"channelDTime":1742052362,"channelDuration":49,"cSTime":1742052339,"cETime":1742052362,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07007568136","server_ip":"118.185.137.196","insertTime":1742052362,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052315,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052339,"endTime":1742052362,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2534
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2534
            [uid] => u595
            [unique_id] => 36075_2534_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052313
            [channelDTime] => 1742052362
            [channelDuration] => 49
            [cSTime] => 1742052339
            [cETime] => 1742052362
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07007568136
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052362
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052315
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052339
                                    [endTime] => 1742052362
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 976
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.07999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30017.67999999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 976
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.07999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94235.49000001217
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052364
{"compaign_id":"36075","contact_id":"2559","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2559","uid":"u595","unique_id":"36075_2559_138-u595","ivrId":"3158","channelOTime":1742052318,"channelDTime":1742052362,"channelDuration":44,"cSTime":1742052339,"cETime":1742052362,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09620632586","server_ip":"118.185.137.196","insertTime":1742052362,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052321,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052339,"endTime":1742052362,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2559
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2559
            [uid] => u595
            [unique_id] => 36075_2559_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052318
            [channelDTime] => 1742052362
            [channelDuration] => 44
            [cSTime] => 1742052339
            [cETime] => 1742052362
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09620632586
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052362
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052321
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052339
                                    [endTime] => 1742052362
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 978
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.23999999999887
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30017.51999999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 978
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.23999999999887
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94235.33000001217
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052364
{"compaign_id":"36075","contact_id":"2594","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2594","uid":"u595","unique_id":"36075_2594_138-u595","ivrId":"3158","channelOTime":1742052332,"channelDTime":1742052366,"channelDuration":34,"cSTime":1742052343,"cETime":1742052366,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07058979519","server_ip":"118.185.137.196","insertTime":1742052366,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052334,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052343,"endTime":1742052366,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2594
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2594
            [uid] => u595
            [unique_id] => 36075_2594_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052332
            [channelDTime] => 1742052366
            [channelDuration] => 34
            [cSTime] => 1742052343
            [cETime] => 1742052366
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07058979519
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052366
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052334
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052343
                                    [endTime] => 1742052366
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 980
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.39999999999887
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30017.35999999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 980
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.39999999999887
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94235.17000001216
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052368
{"compaign_id":"36075","contact_id":"2586","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2586","uid":"u595","unique_id":"36075_2586_138-u595","ivrId":"3158","channelOTime":1742052330,"channelDTime":1742052367,"channelDuration":37,"cSTime":1742052348,"cETime":1742052367,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08113811970","server_ip":"118.185.137.196","insertTime":1742052367,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052332,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2586
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2586
            [uid] => u595
            [unique_id] => 36075_2586_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052330
            [channelDTime] => 1742052367
            [channelDuration] => 37
            [cSTime] => 1742052348
            [cETime] => 1742052367
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08113811970
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052367
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052332
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 982
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.55999999999887
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30017.19999999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 982
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.55999999999887
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94235.01000001216
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052369
{"compaign_id":"36075","contact_id":"2639","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2639","uid":"u595","unique_id":"36075_2639_138-u595","ivrId":"3158","channelOTime":1742052350,"channelDTime":1742052367,"channelDuration":17,"cSTime":1742052359,"cETime":1742052367,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07558234635","server_ip":"118.185.137.196","insertTime":1742052367,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052352,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2639
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2639
            [uid] => u595
            [unique_id] => 36075_2639_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052350
            [channelDTime] => 1742052367
            [channelDuration] => 17
            [cSTime] => 1742052359
            [cETime] => 1742052367
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07558234635
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052367
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052352
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 984
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.71999999999886
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30017.03999999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 984
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.71999999999886
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94234.85000001216
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052369
{"compaign_id":"36075","contact_id":"2585","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2585","uid":"u595","unique_id":"36075_2585_138-u595","ivrId":"3158","channelOTime":1742052330,"channelDTime":1742052371,"channelDuration":41,"cSTime":1742052352,"cETime":1742052371,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08699211005","server_ip":"118.185.137.196","insertTime":1742052371,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052332,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2585
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2585
            [uid] => u595
            [unique_id] => 36075_2585_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052330
            [channelDTime] => 1742052371
            [channelDuration] => 41
            [cSTime] => 1742052352
            [cETime] => 1742052371
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08699211005
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052371
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052332
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 985
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.79999999999886
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30016.95999999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 985
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.79999999999886
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94234.77000001215
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052372
{"compaign_id":"36075","contact_id":"2640","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2640","uid":"u595","unique_id":"36075_2640_138-u595","ivrId":"3158","channelOTime":1742052350,"channelDTime":1742052372,"channelDuration":22,"cSTime":1742052367,"cETime":1742052372,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07808199689","server_ip":"118.185.137.196","insertTime":1742052372,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052352,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2640
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2640
            [uid] => u595
            [unique_id] => 36075_2640_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052350
            [channelDTime] => 1742052372
            [channelDuration] => 22
            [cSTime] => 1742052367
            [cETime] => 1742052372
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07808199689
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052372
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052352
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 987
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.95999999999886
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30016.79999999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 987
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 78.95999999999886
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94234.61000001215
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052374
{"compaign_id":"36075","contact_id":"2598","total_duration":"28","answer_duration":28,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2598","uid":"u595","unique_id":"36075_2598_138-u595","ivrId":"3158","channelOTime":1742052333,"channelDTime":1742052374,"channelDuration":41,"cSTime":1742052346,"cETime":1742052374,"cDuration":28,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07013615332","server_ip":"118.185.137.196","insertTime":1742052374,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052334,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052346,"endTime":1742052368,"duration":22}],"#3":[{"startTime":1742052368,"endTime":1742052374,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2598
    [total_duration] => 28
    [answer_duration] => 28
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2598
            [uid] => u595
            [unique_id] => 36075_2598_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052333
            [channelDTime] => 1742052374
            [channelDuration] => 41
            [cSTime] => 1742052346
            [cETime] => 1742052374
            [cDuration] => 28
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07013615332
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052374
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052334
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052346
                                    [endTime] => 1742052368
                                    [duration] => 22
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052368
                                    [endTime] => 1742052374
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 988
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.03999999999886
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30016.719999999987
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 988
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.03999999999886
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94234.53000001215
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052375
{"compaign_id":"36075","contact_id":"2584","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2584","uid":"u595","unique_id":"36075_2584_138-u595","ivrId":"3158","channelOTime":1742052330,"channelDTime":1742052374,"channelDuration":44,"cSTime":1742052350,"cETime":1742052374,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07880955656","server_ip":"118.185.137.196","insertTime":1742052374,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052332,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052350,"endTime":1742052374,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2584
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2584
            [uid] => u595
            [unique_id] => 36075_2584_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052330
            [channelDTime] => 1742052374
            [channelDuration] => 44
            [cSTime] => 1742052350
            [cETime] => 1742052374
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07880955656
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052374
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052332
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052350
                                    [endTime] => 1742052374
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 990
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.19999999999885
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30016.559999999987
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 990
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.19999999999885
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94234.37000001215
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052376
{"compaign_id":"36075","contact_id":"2649","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2649","uid":"u595","unique_id":"36075_2649_138-u595","ivrId":"3158","channelOTime":1742052352,"channelDTime":1742052375,"channelDuration":23,"cSTime":1742052370,"cETime":1742052375,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09800740382","server_ip":"118.185.137.196","insertTime":1742052375,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052355,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2649
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2649
            [uid] => u595
            [unique_id] => 36075_2649_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052352
            [channelDTime] => 1742052375
            [channelDuration] => 23
            [cSTime] => 1742052370
            [cETime] => 1742052375
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09800740382
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052375
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052355
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 992
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.35999999999885
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30016.399999999987
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 992
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.35999999999885
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94234.21000001214
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052377
{"compaign_id":"36075","contact_id":"2689","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2689","uid":"u595","unique_id":"36075_2689_138-u595","ivrId":"3158","channelOTime":1742052367,"channelDTime":1742052376,"channelDuration":9,"cSTime":1742052374,"cETime":1742052376,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08125903092","server_ip":"118.185.137.196","insertTime":1742052376,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052370,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2689
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2689
            [uid] => u595
            [unique_id] => 36075_2689_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052367
            [channelDTime] => 1742052376
            [channelDuration] => 9
            [cSTime] => 1742052374
            [cETime] => 1742052376
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08125903092
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052376
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052370
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 993
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.43999999999885
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30016.319999999985
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 993
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.43999999999885
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94234.13000001214
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052377
{"compaign_id":"36075","contact_id":"2697","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2697","uid":"u595","unique_id":"36075_2697_138-u595","ivrId":"3158","channelOTime":1742052368,"channelDTime":1742052376,"channelDuration":8,"cSTime":1742052373,"cETime":1742052376,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09751265277","server_ip":"118.185.137.196","insertTime":1742052376,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052369,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2697
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2697
            [uid] => u595
            [unique_id] => 36075_2697_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052368
            [channelDTime] => 1742052376
            [channelDuration] => 8
            [cSTime] => 1742052373
            [cETime] => 1742052376
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09751265277
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052376
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052369
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 994
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.51999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30016.239999999983
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 994
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.51999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94234.05000001214
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052378
{"compaign_id":"36075","contact_id":"2590","total_duration":"28","answer_duration":28,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2590","uid":"u595","unique_id":"36075_2590_138-u595","ivrId":"3158","channelOTime":1742052331,"channelDTime":1742052379,"channelDuration":48,"cSTime":1742052351,"cETime":1742052379,"cDuration":28,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09502019802","server_ip":"118.185.137.196","insertTime":1742052379,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052334,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052351,"endTime":1742052373,"duration":22}],"#3":[{"startTime":1742052373,"endTime":1742052379,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2590
    [total_duration] => 28
    [answer_duration] => 28
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2590
            [uid] => u595
            [unique_id] => 36075_2590_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052331
            [channelDTime] => 1742052379
            [channelDuration] => 48
            [cSTime] => 1742052351
            [cETime] => 1742052379
            [cDuration] => 28
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09502019802
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052379
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052334
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052351
                                    [endTime] => 1742052373
                                    [duration] => 22
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052373
                                    [endTime] => 1742052379
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 995
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.59999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30016.15999999998
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 995
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.59999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94233.97000001214
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052381
{"compaign_id":"36075","contact_id":"2675","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2675","uid":"u595","unique_id":"36075_2675_138-u595","ivrId":"3158","channelOTime":1742052364,"channelDTime":1742052383,"channelDuration":19,"cSTime":1742052381,"cETime":1742052383,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09120093819","server_ip":"118.185.137.196","insertTime":1742052383,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052371,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2675
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2675
            [uid] => u595
            [unique_id] => 36075_2675_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052364
            [channelDTime] => 1742052383
            [channelDuration] => 19
            [cSTime] => 1742052381
            [cETime] => 1742052383
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09120093819
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052383
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052371
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 997
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.75999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30015.99999999998
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 997
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.75999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94233.81000001213
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052385
{"compaign_id":"36075","contact_id":"2690","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2690","uid":"u595","unique_id":"36075_2690_138-u595","ivrId":"3158","channelOTime":1742052367,"channelDTime":1742052384,"channelDuration":17,"cSTime":1742052379,"cETime":1742052384,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08209056410","server_ip":"118.185.137.196","insertTime":1742052384,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052369,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2690
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2690
            [uid] => u595
            [unique_id] => 36075_2690_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052367
            [channelDTime] => 1742052384
            [channelDuration] => 17
            [cSTime] => 1742052379
            [cETime] => 1742052384
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08209056410
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052384
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052369
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 998
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.83999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30015.91999999998
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 998
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.83999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94233.73000001213
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052386
{"compaign_id":"36075","contact_id":"2674","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2674","uid":"u595","unique_id":"36075_2674_138-u595","ivrId":"3158","channelOTime":1742052364,"channelDTime":1742052386,"channelDuration":22,"cSTime":1742052378,"cETime":1742052386,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06002027806","server_ip":"118.185.137.196","insertTime":1742052386,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052366,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2674
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2674
            [uid] => u595
            [unique_id] => 36075_2674_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052364
            [channelDTime] => 1742052386
            [channelDuration] => 22
            [cSTime] => 1742052378
            [cETime] => 1742052386
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06002027806
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052386
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052366
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 999
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.91999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30015.83999999998
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 999
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.91999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94233.65000001213
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052388
{"compaign_id":"36075","contact_id":"2648","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2648","uid":"u595","unique_id":"36075_2648_138-u595","ivrId":"3158","channelOTime":1742052351,"channelDTime":1742052387,"channelDuration":36,"cSTime":1742052363,"cETime":1742052387,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08019101937","server_ip":"118.185.137.196","insertTime":1742052387,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052353,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052363,"endTime":1742052381,"duration":18}],"#3":[{"startTime":1742052381,"endTime":1742052387,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2648
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2648
            [uid] => u595
            [unique_id] => 36075_2648_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052351
            [channelDTime] => 1742052387
            [channelDuration] => 36
            [cSTime] => 1742052363
            [cETime] => 1742052387
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08019101937
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052387
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052353
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052363
                                    [endTime] => 1742052381
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052381
                                    [endTime] => 1742052387
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1000
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.99999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30015.759999999977
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1000
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 79.99999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94233.57000001213
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052388
{"compaign_id":"36075","contact_id":"2677","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2677","uid":"u595","unique_id":"36075_2677_138-u595","ivrId":"3158","channelOTime":1742052364,"channelDTime":1742052387,"channelDuration":23,"cSTime":1742052376,"cETime":1742052387,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09503264508","server_ip":"118.185.137.196","insertTime":1742052387,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052367,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2677
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2677
            [uid] => u595
            [unique_id] => 36075_2677_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052364
            [channelDTime] => 1742052387
            [channelDuration] => 23
            [cSTime] => 1742052376
            [cETime] => 1742052387
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09503264508
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052387
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052367
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1002
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.15999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30015.599999999977
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1002
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.15999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94233.41000001213
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052389
{"compaign_id":"36075","contact_id":"2741","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2741","uid":"u595","unique_id":"36075_2741_138-u595","ivrId":"3158","channelOTime":1742052379,"channelDTime":1742052388,"channelDuration":9,"cSTime":1742052386,"cETime":1742052388,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08777248128","server_ip":"118.185.137.196","insertTime":1742052388,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052381,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2741
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2741
            [uid] => u595
            [unique_id] => 36075_2741_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052379
            [channelDTime] => 1742052388
            [channelDuration] => 9
            [cSTime] => 1742052386
            [cETime] => 1742052388
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08777248128
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052388
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052381
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1003
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.23999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30015.519999999975
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1003
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.23999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94233.33000001212
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052390
{"compaign_id":"36075","contact_id":"2715","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2715","uid":"u595","unique_id":"36075_2715_138-u595","ivrId":"3158","channelOTime":1742052374,"channelDTime":1742052390,"channelDuration":16,"cSTime":1742052381,"cETime":1742052390,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09604718711","server_ip":"118.185.137.196","insertTime":1742052390,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052377,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2715
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2715
            [uid] => u595
            [unique_id] => 36075_2715_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052374
            [channelDTime] => 1742052390
            [channelDuration] => 16
            [cSTime] => 1742052381
            [cETime] => 1742052390
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09604718711
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052390
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052377
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1004
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.31999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30015.439999999973
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1004
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.31999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94233.25000001212
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052392
{"compaign_id":"36075","contact_id":"2700","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2700","uid":"u595","unique_id":"36075_2700_138-u595","ivrId":"3158","channelOTime":1742052371,"channelDTime":1742052393,"channelDuration":22,"cSTime":1742052387,"cETime":1742052393,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07487077144","server_ip":"118.185.137.196","insertTime":1742052393,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052373,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2700
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2700
            [uid] => u595
            [unique_id] => 36075_2700_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052371
            [channelDTime] => 1742052393
            [channelDuration] => 22
            [cSTime] => 1742052387
            [cETime] => 1742052393
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07487077144
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052393
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052373
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1005
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.39999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30015.35999999997
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1005
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.39999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94233.17000001212
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052395
{"compaign_id":"36075","contact_id":"2664","total_duration":"27","answer_duration":27,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2664","uid":"u595","unique_id":"36075_2664_138-u595","ivrId":"3158","channelOTime":1742052362,"channelDTime":1742052394,"channelDuration":32,"cSTime":1742052367,"cETime":1742052394,"cDuration":27,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07667276193","server_ip":"118.185.137.196","insertTime":1742052394,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052363,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052367,"endTime":1742052388,"duration":21}],"#3":[{"startTime":1742052388,"endTime":1742052394,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2664
    [total_duration] => 27
    [answer_duration] => 27
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2664
            [uid] => u595
            [unique_id] => 36075_2664_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052362
            [channelDTime] => 1742052394
            [channelDuration] => 32
            [cSTime] => 1742052367
            [cETime] => 1742052394
            [cDuration] => 27
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07667276193
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052394
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052363
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052367
                                    [endTime] => 1742052388
                                    [duration] => 21
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052388
                                    [endTime] => 1742052394
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1006
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.47999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30015.27999999997
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1006
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.47999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94233.09000001212
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052395
{"compaign_id":"36075","contact_id":"2626","total_duration":"26","answer_duration":26,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2626","uid":"u595","unique_id":"36075_2626_138-u595","ivrId":"3158","channelOTime":1742052347,"channelDTime":1742052395,"channelDuration":48,"cSTime":1742052369,"cETime":1742052395,"cDuration":26,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09650774182","server_ip":"118.185.137.196","insertTime":1742052395,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052353,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052369,"endTime":1742052389,"duration":20}],"#3":[{"startTime":1742052389,"endTime":1742052395,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2626
    [total_duration] => 26
    [answer_duration] => 26
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2626
            [uid] => u595
            [unique_id] => 36075_2626_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052347
            [channelDTime] => 1742052395
            [channelDuration] => 48
            [cSTime] => 1742052369
            [cETime] => 1742052395
            [cDuration] => 26
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09650774182
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052395
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052353
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052369
                                    [endTime] => 1742052389
                                    [duration] => 20
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052389
                                    [endTime] => 1742052395
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1008
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.63999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30015.11999999997
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1008
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.63999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94232.93000001211
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052397
{"compaign_id":"36075","contact_id":"2735","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2735","uid":"u595","unique_id":"36075_2735_138-u595","ivrId":"3158","channelOTime":1742052378,"channelDTime":1742052397,"channelDuration":19,"cSTime":1742052388,"cETime":1742052397,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07752954432","server_ip":"118.185.137.196","insertTime":1742052397,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052380,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2735
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2735
            [uid] => u595
            [unique_id] => 36075_2735_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052378
            [channelDTime] => 1742052397
            [channelDuration] => 19
            [cSTime] => 1742052388
            [cETime] => 1742052397
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07752954432
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052397
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052380
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1010
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.79999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30014.95999999997
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1010
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.79999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94232.77000001211
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052398
{"compaign_id":"36075","contact_id":"2731","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2731","uid":"u595","unique_id":"36075_2731_138-u595","ivrId":"3158","channelOTime":1742052377,"channelDTime":1742052397,"channelDuration":20,"cSTime":1742052394,"cETime":1742052397,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09064902812","server_ip":"118.185.137.196","insertTime":1742052397,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052378,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2731
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2731
            [uid] => u595
            [unique_id] => 36075_2731_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052377
            [channelDTime] => 1742052397
            [channelDuration] => 20
            [cSTime] => 1742052394
            [cETime] => 1742052397
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09064902812
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052397
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052378
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1011
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.87999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30014.87999999997
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1011
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.87999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94232.69000001211
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052399
{"compaign_id":"36075","contact_id":"2713","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2713","uid":"u595","unique_id":"36075_2713_138-u595","ivrId":"3158","channelOTime":1742052374,"channelDTime":1742052400,"channelDuration":26,"cSTime":1742052379,"cETime":1742052400,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06230680458","server_ip":"118.185.137.196","insertTime":1742052400,"ivrData":{"#2":["0"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052377,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052379,"endTime":1742052400,"duration":21}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2713
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2713
            [uid] => u595
            [unique_id] => 36075_2713_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052374
            [channelDTime] => 1742052400
            [channelDuration] => 26
            [cSTime] => 1742052379
            [cETime] => 1742052400
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06230680458
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052400
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 0
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052377
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052379
                                    [endTime] => 1742052400
                                    [duration] => 21
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1012
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.95999999999881
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30014.799999999967
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1012
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 80.95999999999881
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94232.61000001211
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052402
{"compaign_id":"36075","contact_id":"2699","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2699","uid":"u595","unique_id":"36075_2699_138-u595","ivrId":"3158","channelOTime":1742052369,"channelDTime":1742052404,"channelDuration":35,"cSTime":1742052380,"cETime":1742052404,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09649360346","server_ip":"118.185.137.196","insertTime":1742052404,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052370,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052380,"endTime":1742052404,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2699
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2699
            [uid] => u595
            [unique_id] => 36075_2699_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052369
            [channelDTime] => 1742052404
            [channelDuration] => 35
            [cSTime] => 1742052380
            [cETime] => 1742052404
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09649360346
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052404
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052370
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052380
                                    [endTime] => 1742052404
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1014
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.11999999999881
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30014.639999999967
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1014
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.11999999999881
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94232.4500000121
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052405
{"compaign_id":"36075","contact_id":"2716","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2716","uid":"u595","unique_id":"36075_2716_138-u595","ivrId":"3158","channelOTime":1742052374,"channelDTime":1742052405,"channelDuration":31,"cSTime":1742052389,"cETime":1742052405,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08348942569","server_ip":"118.185.137.196","insertTime":1742052405,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052378,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2716
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2716
            [uid] => u595
            [unique_id] => 36075_2716_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052374
            [channelDTime] => 1742052405
            [channelDuration] => 31
            [cSTime] => 1742052389
            [cETime] => 1742052405
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08348942569
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052405
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052378
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1016
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.27999999999881
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30014.479999999967
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1016
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.27999999999881
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94232.2900000121
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052407
{"compaign_id":"36075","contact_id":"2709","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2709","uid":"u595","unique_id":"36075_2709_138-u595","ivrId":"3158","channelOTime":1742052373,"channelDTime":1742052415,"channelDuration":42,"cSTime":1742052392,"cETime":1742052415,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09313876713","server_ip":"118.185.137.196","insertTime":1742052415,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052375,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052392,"endTime":1742052415,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2709
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2709
            [uid] => u595
            [unique_id] => 36075_2709_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052373
            [channelDTime] => 1742052415
            [channelDuration] => 42
            [cSTime] => 1742052392
            [cETime] => 1742052415
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09313876713
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052415
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052375
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052392
                                    [endTime] => 1742052415
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1018
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.4399999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30014.319999999967
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1018
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.4399999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94232.1300000121
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052417
{"compaign_id":"36075","contact_id":"2729","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2729","uid":"u595","unique_id":"36075_2729_138-u595","ivrId":"3158","channelOTime":1742052377,"channelDTime":1742052418,"channelDuration":41,"cSTime":1742052395,"cETime":1742052418,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07254096340","server_ip":"118.185.137.196","insertTime":1742052418,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052379,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052395,"endTime":1742052418,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2729
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2729
            [uid] => u595
            [unique_id] => 36075_2729_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052377
            [channelDTime] => 1742052418
            [channelDuration] => 41
            [cSTime] => 1742052395
            [cETime] => 1742052418
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07254096340
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052418
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052379
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052395
                                    [endTime] => 1742052418
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1020
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.5999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30014.159999999967
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1020
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.5999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.9700000121
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052420
2025-03-15 20:57:02[LOG]Starting Cron
2025-03-15 20:57:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"2750","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2750","uid":"u595","unique_id":"36075_2750_138-u595","ivrId":"3158","channelOTime":1742052421,"channelDTime":1742052431,"channelDuration":10,"cSTime":1742052425,"cETime":1742052431,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09560492546","server_ip":"118.185.137.196","insertTime":1742052431,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052422,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2750
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2750
            [uid] => u595
            [unique_id] => 36075_2750_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052421
            [channelDTime] => 1742052431
            [channelDuration] => 10
            [cSTime] => 1742052425
            [cETime] => 1742052431
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09560492546
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052431
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052422
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1022
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.7599999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.999999999967
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1022
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.7599999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.81000001209
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052433
{"compaign_id":"36075","contact_id":"2754","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2754","uid":"u595","unique_id":"36075_2754_138-u595","ivrId":"3158","channelOTime":1742052422,"channelDTime":1742052434,"channelDuration":12,"cSTime":1742052430,"cETime":1742052434,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09676582071","server_ip":"118.185.137.196","insertTime":1742052434,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052423,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2754
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2754
            [uid] => u595
            [unique_id] => 36075_2754_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052422
            [channelDTime] => 1742052434
            [channelDuration] => 12
            [cSTime] => 1742052430
            [cETime] => 1742052434
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09676582071
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052434
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052423
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1023
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.8399999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.919999999966
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1023
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.8399999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.73000001209
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052435
{"compaign_id":"36075","contact_id":"2787","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2787","uid":"u595","unique_id":"36075_2787_138-u595","ivrId":"3158","channelOTime":1742052428,"channelDTime":1742052442,"channelDuration":14,"cSTime":1742052437,"cETime":1742052442,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08141634137","server_ip":"118.185.137.196","insertTime":1742052442,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052430,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2787
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2787
            [uid] => u595
            [unique_id] => 36075_2787_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052428
            [channelDTime] => 1742052442
            [channelDuration] => 14
            [cSTime] => 1742052437
            [cETime] => 1742052442
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08141634137
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052442
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052430
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1024
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.9199999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.839999999964
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1024
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.9199999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.65000001209
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052443
{"compaign_id":"36075","contact_id":"2784","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2784","uid":"u595","unique_id":"36075_2784_138-u595","ivrId":"3158","channelOTime":1742052428,"channelDTime":1742052442,"channelDuration":14,"cSTime":1742052441,"cETime":1742052442,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07208827634","server_ip":"118.185.137.196","insertTime":1742052442,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052431,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2784
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2784
            [uid] => u595
            [unique_id] => 36075_2784_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052428
            [channelDTime] => 1742052442
            [channelDuration] => 14
            [cSTime] => 1742052441
            [cETime] => 1742052442
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07208827634
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052442
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052431
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1025
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.99999999999879
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.759999999962
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1025
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 81.99999999999879
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.57000001209
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052444
{"compaign_id":"36075","contact_id":"2802","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2802","uid":"u595","unique_id":"36075_2802_138-u595","ivrId":"3158","channelOTime":1742052433,"channelDTime":1742052443,"channelDuration":10,"cSTime":1742052441,"cETime":1742052443,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08318925869","server_ip":"118.185.137.196","insertTime":1742052443,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052437,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2802
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2802
            [uid] => u595
            [unique_id] => 36075_2802_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052433
            [channelDTime] => 1742052443
            [channelDuration] => 10
            [cSTime] => 1742052441
            [cETime] => 1742052443
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08318925869
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052443
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052437
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1026
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.07999999999879
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.67999999996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1026
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.07999999999879
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.49000001208
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052444
{"compaign_id":"36075","contact_id":"2772","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2772","uid":"u595","unique_id":"36075_2772_138-u595","ivrId":"3158","channelOTime":1742052425,"channelDTime":1742052444,"channelDuration":19,"cSTime":1742052441,"cETime":1742052444,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08073895079","server_ip":"118.185.137.196","insertTime":1742052444,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052430,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2772
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2772
            [uid] => u595
            [unique_id] => 36075_2772_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052425
            [channelDTime] => 1742052444
            [channelDuration] => 19
            [cSTime] => 1742052441
            [cETime] => 1742052444
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08073895079
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052444
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052430
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1027
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.15999999999879
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.59999999996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1027
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.15999999999879
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.41000001208
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052446
{"compaign_id":"36075","contact_id":"2785","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2785","uid":"u595","unique_id":"36075_2785_138-u595","ivrId":"3158","channelOTime":1742052428,"channelDTime":1742052445,"channelDuration":17,"cSTime":1742052438,"cETime":1742052445,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08102881218","server_ip":"118.185.137.196","insertTime":1742052445,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052431,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2785
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2785
            [uid] => u595
            [unique_id] => 36075_2785_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052428
            [channelDTime] => 1742052445
            [channelDuration] => 17
            [cSTime] => 1742052438
            [cETime] => 1742052445
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08102881218
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052445
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052431
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1028
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.23999999999879
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.519999999957
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1028
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.23999999999879
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.33000001208
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052446
{"compaign_id":"36075","contact_id":"2794","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2794","uid":"u595","unique_id":"36075_2794_138-u595","ivrId":"3158","channelOTime":1742052430,"channelDTime":1742052446,"channelDuration":16,"cSTime":1742052443,"cETime":1742052446,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09002352253","server_ip":"118.185.137.196","insertTime":1742052446,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052432,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2794
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2794
            [uid] => u595
            [unique_id] => 36075_2794_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052430
            [channelDTime] => 1742052446
            [channelDuration] => 16
            [cSTime] => 1742052443
            [cETime] => 1742052446
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09002352253
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052446
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052432
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1029
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.31999999999879
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.439999999955
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1029
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.31999999999879
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.25000001208
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052448
{"compaign_id":"36075","contact_id":"2773","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2773","uid":"u595","unique_id":"36075_2773_138-u595","ivrId":"3158","channelOTime":1742052425,"channelDTime":1742052447,"channelDuration":22,"cSTime":1742052440,"cETime":1742052447,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09496929591","server_ip":"118.185.137.196","insertTime":1742052447,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052428,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2773
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2773
            [uid] => u595
            [unique_id] => 36075_2773_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052425
            [channelDTime] => 1742052447
            [channelDuration] => 22
            [cSTime] => 1742052440
            [cETime] => 1742052447
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09496929591
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052447
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052428
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1030
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.39999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.359999999953
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1030
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.39999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.17000001208
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052448
{"compaign_id":"36075","contact_id":"2796","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2796","uid":"u595","unique_id":"36075_2796_138-u595","ivrId":"3158","channelOTime":1742052430,"channelDTime":1742052449,"channelDuration":19,"cSTime":1742052446,"cETime":1742052449,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07011352318","server_ip":"118.185.137.196","insertTime":1742052449,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052433,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2796
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2796
            [uid] => u595
            [unique_id] => 36075_2796_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052430
            [channelDTime] => 1742052449
            [channelDuration] => 19
            [cSTime] => 1742052446
            [cETime] => 1742052449
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07011352318
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052449
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052433
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1031
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.47999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.27999999995
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1031
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.47999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.09000001207
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052450
{"compaign_id":"36075","contact_id":"2798","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2798","uid":"u595","unique_id":"36075_2798_138-u595","ivrId":"3158","channelOTime":1742052430,"channelDTime":1742052449,"channelDuration":19,"cSTime":1742052447,"cETime":1742052449,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07351231345","server_ip":"118.185.137.196","insertTime":1742052449,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052433,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2798
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2798
            [uid] => u595
            [unique_id] => 36075_2798_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052430
            [channelDTime] => 1742052449
            [channelDuration] => 19
            [cSTime] => 1742052447
            [cETime] => 1742052449
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07351231345
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052449
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052433
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1032
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.55999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.19999999995
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1032
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.55999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94231.01000001207
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052451
{"compaign_id":"36075","contact_id":"2824","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2824","uid":"u595","unique_id":"36075_2824_138-u595","ivrId":"3158","channelOTime":1742052438,"channelDTime":1742052451,"channelDuration":13,"cSTime":1742052448,"cETime":1742052451,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08817358233","server_ip":"118.185.137.196","insertTime":1742052451,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052440,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2824
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2824
            [uid] => u595
            [unique_id] => 36075_2824_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052438
            [channelDTime] => 1742052451
            [channelDuration] => 13
            [cSTime] => 1742052448
            [cETime] => 1742052451
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08817358233
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052451
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052440
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1033
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.63999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.119999999948
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1033
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.63999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94230.93000001207
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052452
{"compaign_id":"36075","contact_id":"2753","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2753","uid":"u595","unique_id":"36075_2753_138-u595","ivrId":"3158","channelOTime":1742052421,"channelDTime":1742052451,"channelDuration":30,"cSTime":1742052446,"cETime":1742052451,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06901186750","server_ip":"118.185.137.196","insertTime":1742052451,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052424,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2753
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2753
            [uid] => u595
            [unique_id] => 36075_2753_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052421
            [channelDTime] => 1742052451
            [channelDuration] => 30
            [cSTime] => 1742052446
            [cETime] => 1742052451
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06901186750
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052451
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052424
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1034
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.71999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30013.039999999946
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1034
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.71999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94230.85000001207
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052453
{"compaign_id":"36075","contact_id":"2803","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2803","uid":"u595","unique_id":"36075_2803_138-u595","ivrId":"3158","channelOTime":1742052433,"channelDTime":1742052452,"channelDuration":19,"cSTime":1742052442,"cETime":1742052452,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09061350744","server_ip":"118.185.137.196","insertTime":1742052452,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052435,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2803
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2803
            [uid] => u595
            [unique_id] => 36075_2803_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052433
            [channelDTime] => 1742052452
            [channelDuration] => 19
            [cSTime] => 1742052442
            [cETime] => 1742052452
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09061350744
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052452
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052435
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1035
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.79999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30012.959999999945
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1035
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.79999999999878
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94230.77000001207
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052454
{"compaign_id":"36075","contact_id":"2771","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2771","uid":"u595","unique_id":"36075_2771_138-u595","ivrId":"3158","channelOTime":1742052425,"channelDTime":1742052455,"channelDuration":30,"cSTime":1742052451,"cETime":1742052455,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09632321919","server_ip":"118.185.137.196","insertTime":1742052455,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052429,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2771
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2771
            [uid] => u595
            [unique_id] => 36075_2771_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052425
            [channelDTime] => 1742052455
            [channelDuration] => 30
            [cSTime] => 1742052451
            [cETime] => 1742052455
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09632321919
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052455
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052429
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1036
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.87999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30012.879999999943
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1036
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.87999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94230.69000001207
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052456
{"compaign_id":"36075","contact_id":"2842","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2842","uid":"u595","unique_id":"36075_2842_138-u595","ivrId":"3158","channelOTime":1742052441,"channelDTime":1742052455,"channelDuration":14,"cSTime":1742052453,"cETime":1742052455,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08787211184","server_ip":"118.185.137.196","insertTime":1742052455,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052446,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2842
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2842
            [uid] => u595
            [unique_id] => 36075_2842_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052441
            [channelDTime] => 1742052455
            [channelDuration] => 14
            [cSTime] => 1742052453
            [cETime] => 1742052455
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08787211184
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052455
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052446
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1037
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.95999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30012.79999999994
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1037
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 82.95999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94230.61000001206
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052457
{"compaign_id":"36075","contact_id":"2755","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2755","uid":"u595","unique_id":"36075_2755_138-u595","ivrId":"3158","channelOTime":1742052422,"channelDTime":1742052459,"channelDuration":37,"cSTime":1742052434,"cETime":1742052459,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09907636275","server_ip":"118.185.137.196","insertTime":1742052459,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052425,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052434,"endTime":1742052453,"duration":19}],"#3":[{"startTime":1742052453,"endTime":1742052459,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2755
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2755
            [uid] => u595
            [unique_id] => 36075_2755_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052422
            [channelDTime] => 1742052459
            [channelDuration] => 37
            [cSTime] => 1742052434
            [cETime] => 1742052459
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09907636275
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052459
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052425
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052434
                                    [endTime] => 1742052453
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052453
                                    [endTime] => 1742052459
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1038
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.03999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30012.71999999994
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1038
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.03999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94230.53000001206
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052460
{"compaign_id":"36075","contact_id":"2770","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2770","uid":"u595","unique_id":"36075_2770_138-u595","ivrId":"3158","channelOTime":1742052425,"channelDTime":1742052459,"channelDuration":34,"cSTime":1742052436,"cETime":1742052459,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09971952032","server_ip":"118.185.137.196","insertTime":1742052459,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052429,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052436,"endTime":1742052459,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2770
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2770
            [uid] => u595
            [unique_id] => 36075_2770_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052425
            [channelDTime] => 1742052459
            [channelDuration] => 34
            [cSTime] => 1742052436
            [cETime] => 1742052459
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09971952032
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052459
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052429
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052436
                                    [endTime] => 1742052459
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1040
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.19999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30012.55999999994
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1040
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.19999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94230.37000001206
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052461
{"compaign_id":"36075","contact_id":"2815","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2815","uid":"u595","unique_id":"36075_2815_138-u595","ivrId":"3158","channelOTime":1742052436,"channelDTime":1742052459,"channelDuration":23,"cSTime":1742052445,"cETime":1742052459,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07989112420","server_ip":"118.185.137.196","insertTime":1742052459,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052438,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2815
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2815
            [uid] => u595
            [unique_id] => 36075_2815_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052436
            [channelDTime] => 1742052459
            [channelDuration] => 23
            [cSTime] => 1742052445
            [cETime] => 1742052459
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07989112420
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052459
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052438
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1042
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.35999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30012.39999999994
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1042
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.35999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94230.21000001206
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052461
{"compaign_id":"36075","contact_id":"2812","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2812","uid":"u595","unique_id":"36075_2812_138-u595","ivrId":"3158","channelOTime":1742052435,"channelDTime":1742052461,"channelDuration":26,"cSTime":1742052455,"cETime":1742052461,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07994031220","server_ip":"118.185.137.196","insertTime":1742052461,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052440,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2812
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2812
            [uid] => u595
            [unique_id] => 36075_2812_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052435
            [channelDTime] => 1742052461
            [channelDuration] => 26
            [cSTime] => 1742052455
            [cETime] => 1742052461
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07994031220
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052461
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052440
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1043
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.43999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30012.319999999938
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1043
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.43999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94230.13000001205
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052463
{"compaign_id":"36075","contact_id":"2844","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2844","uid":"u595","unique_id":"36075_2844_138-u595","ivrId":"3158","channelOTime":1742052442,"channelDTime":1742052462,"channelDuration":20,"cSTime":1742052453,"cETime":1742052462,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08295465762","server_ip":"118.185.137.196","insertTime":1742052462,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052444,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2844
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2844
            [uid] => u595
            [unique_id] => 36075_2844_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052442
            [channelDTime] => 1742052462
            [channelDuration] => 20
            [cSTime] => 1742052453
            [cETime] => 1742052462
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08295465762
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052462
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052444
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1044
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.51999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30012.239999999936
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1044
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.51999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94230.05000001205
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052464
{"compaign_id":"36075","contact_id":"2867","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2867","uid":"u595","unique_id":"36075_2867_138-u595","ivrId":"3158","channelOTime":1742052454,"channelDTime":1742052464,"channelDuration":10,"cSTime":1742052459,"cETime":1742052464,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08217729532","server_ip":"118.185.137.196","insertTime":1742052464,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052456,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2867
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2867
            [uid] => u595
            [unique_id] => 36075_2867_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052454
            [channelDTime] => 1742052464
            [channelDuration] => 10
            [cSTime] => 1742052459
            [cETime] => 1742052464
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08217729532
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052464
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052456
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1045
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.59999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30012.159999999934
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1045
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.59999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94229.97000001205
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052465
{"compaign_id":"36075","contact_id":"2758","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2758","uid":"u595","unique_id":"36075_2758_138-u595","ivrId":"3158","channelOTime":1742052422,"channelDTime":1742052464,"channelDuration":42,"cSTime":1742052441,"cETime":1742052464,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06354671552","server_ip":"118.185.137.196","insertTime":1742052464,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052426,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052441,"endTime":1742052464,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2758
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2758
            [uid] => u595
            [unique_id] => 36075_2758_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052422
            [channelDTime] => 1742052464
            [channelDuration] => 42
            [cSTime] => 1742052441
            [cETime] => 1742052464
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06354671552
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052464
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052426
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052441
                                    [endTime] => 1742052464
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1046
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.67999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30012.079999999933
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1046
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.67999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94229.89000001205
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052466
{"compaign_id":"36075","contact_id":"2817","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2817","uid":"u595","unique_id":"36075_2817_138-u595","ivrId":"3158","channelOTime":1742052436,"channelDTime":1742052466,"channelDuration":30,"cSTime":1742052444,"cETime":1742052466,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08360455364","server_ip":"118.185.137.196","insertTime":1742052466,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052437,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052444,"endTime":1742052461,"duration":17}],"#3":[{"startTime":1742052461,"endTime":1742052466,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2817
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2817
            [uid] => u595
            [unique_id] => 36075_2817_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052436
            [channelDTime] => 1742052466
            [channelDuration] => 30
            [cSTime] => 1742052444
            [cETime] => 1742052466
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08360455364
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052466
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052437
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052444
                                    [endTime] => 1742052461
                                    [duration] => 17
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052461
                                    [endTime] => 1742052466
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1048
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.83999999999875
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30011.919999999933
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1048
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.83999999999875
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94229.73000001204
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052468
{"compaign_id":"36075","contact_id":"2767","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2767","uid":"u595","unique_id":"36075_2767_138-u595","ivrId":"3158","channelOTime":1742052424,"channelDTime":1742052468,"channelDuration":44,"cSTime":1742052445,"cETime":1742052468,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07880480343","server_ip":"118.185.137.196","insertTime":1742052468,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052426,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052445,"endTime":1742052468,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2767
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2767
            [uid] => u595
            [unique_id] => 36075_2767_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052424
            [channelDTime] => 1742052468
            [channelDuration] => 44
            [cSTime] => 1742052445
            [cETime] => 1742052468
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07880480343
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052468
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052426
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052445
                                    [endTime] => 1742052468
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1050
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.99999999999875
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30011.759999999933
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1050
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 83.99999999999875
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94229.57000001204
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052470
{"compaign_id":"36075","contact_id":"2865","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2865","uid":"u595","unique_id":"36075_2865_138-u595","ivrId":"3158","channelOTime":1742052453,"channelDTime":1742052469,"channelDuration":16,"cSTime":1742052465,"cETime":1742052469,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08299749842","server_ip":"118.185.137.196","insertTime":1742052469,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052456,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2865
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2865
            [uid] => u595
            [unique_id] => 36075_2865_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052453
            [channelDTime] => 1742052469
            [channelDuration] => 16
            [cSTime] => 1742052465
            [cETime] => 1742052469
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08299749842
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052469
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052456
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1052
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.15999999999875
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30011.599999999933
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1052
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.15999999999875
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94229.41000001204
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052471
{"compaign_id":"36075","contact_id":"2864","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2864","uid":"u595","unique_id":"36075_2864_138-u595","ivrId":"3158","channelOTime":1742052453,"channelDTime":1742052471,"channelDuration":18,"cSTime":1742052460,"cETime":1742052471,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07397114218","server_ip":"118.185.137.196","insertTime":1742052471,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052455,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2864
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2864
            [uid] => u595
            [unique_id] => 36075_2864_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052453
            [channelDTime] => 1742052471
            [channelDuration] => 18
            [cSTime] => 1742052460
            [cETime] => 1742052471
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07397114218
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052471
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052455
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1053
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.23999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30011.51999999993
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1053
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.23999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94229.33000001204
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052472
{"compaign_id":"36075","contact_id":"2837","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2837","uid":"u595","unique_id":"36075_2837_138-u595","ivrId":"3158","channelOTime":1742052440,"channelDTime":1742052471,"channelDuration":31,"cSTime":1742052447,"cETime":1742052471,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08954110429","server_ip":"118.185.137.196","insertTime":1742052471,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052442,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052447,"endTime":1742052465,"duration":18}],"#3":[{"startTime":1742052465,"endTime":1742052471,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2837
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2837
            [uid] => u595
            [unique_id] => 36075_2837_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052440
            [channelDTime] => 1742052471
            [channelDuration] => 31
            [cSTime] => 1742052447
            [cETime] => 1742052471
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08954110429
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052471
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052442
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052447
                                    [endTime] => 1742052465
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052465
                                    [endTime] => 1742052471
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1054
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.31999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30011.43999999993
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1054
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.31999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94229.25000001203
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052473
{"compaign_id":"36075","contact_id":"2834","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2834","uid":"u595","unique_id":"36075_2834_138-u595","ivrId":"3158","channelOTime":1742052440,"channelDTime":1742052471,"channelDuration":31,"cSTime":1742052449,"cETime":1742052471,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07470930569","server_ip":"118.185.137.196","insertTime":1742052471,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052443,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052449,"endTime":1742052465,"duration":16}],"#3":[{"startTime":1742052465,"endTime":1742052471,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2834
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2834
            [uid] => u595
            [unique_id] => 36075_2834_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052440
            [channelDTime] => 1742052471
            [channelDuration] => 31
            [cSTime] => 1742052449
            [cETime] => 1742052471
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07470930569
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052471
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052443
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052449
                                    [endTime] => 1742052465
                                    [duration] => 16
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052465
                                    [endTime] => 1742052471
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1056
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.47999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30011.27999999993
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1056
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.47999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94229.09000001203
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052473
{"compaign_id":"36075","contact_id":"2870","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2870","uid":"u595","unique_id":"36075_2870_138-u595","ivrId":"3158","channelOTime":1742052454,"channelDTime":1742052475,"channelDuration":21,"cSTime":1742052470,"cETime":1742052475,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06205616760","server_ip":"118.185.137.196","insertTime":1742052475,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052457,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2870
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2870
            [uid] => u595
            [unique_id] => 36075_2870_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052454
            [channelDTime] => 1742052475
            [channelDuration] => 21
            [cSTime] => 1742052470
            [cETime] => 1742052475
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06205616760
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052475
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052457
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1058
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.63999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30011.11999999993
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1058
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.63999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94228.93000001203
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052477
{"compaign_id":"36075","contact_id":"2830","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2830","uid":"u595","unique_id":"36075_2830_138-u595","ivrId":"3158","channelOTime":1742052439,"channelDTime":1742052475,"channelDuration":36,"cSTime":1742052459,"cETime":1742052475,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09149771830","server_ip":"118.185.137.196","insertTime":1742052475,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052443,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2830
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2830
            [uid] => u595
            [unique_id] => 36075_2830_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052439
            [channelDTime] => 1742052475
            [channelDuration] => 36
            [cSTime] => 1742052459
            [cETime] => 1742052475
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09149771830
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052475
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052443
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1059
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.71999999999873
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30011.039999999928
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1059
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.71999999999873
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94228.85000001203
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052477
{"compaign_id":"36075","contact_id":"2869","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2869","uid":"u595","unique_id":"36075_2869_138-u595","ivrId":"3158","channelOTime":1742052454,"channelDTime":1742052476,"channelDuration":22,"cSTime":1742052471,"cETime":1742052476,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08383922812","server_ip":"118.185.137.196","insertTime":1742052476,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052457,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2869
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2869
            [uid] => u595
            [unique_id] => 36075_2869_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052454
            [channelDTime] => 1742052476
            [channelDuration] => 22
            [cSTime] => 1742052471
            [cETime] => 1742052476
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08383922812
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052476
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052457
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1061
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.87999999999873
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30010.87999999993
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1061
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.87999999999873
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94228.69000001202
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052478
{"compaign_id":"36075","contact_id":"2809","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2809","uid":"u595","unique_id":"36075_2809_138-u595","ivrId":"3158","channelOTime":1742052435,"channelDTime":1742052476,"channelDuration":41,"cSTime":1742052453,"cETime":1742052476,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08197612504","server_ip":"118.185.137.196","insertTime":1742052476,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052444,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052453,"endTime":1742052476,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2809
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2809
            [uid] => u595
            [unique_id] => 36075_2809_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052435
            [channelDTime] => 1742052476
            [channelDuration] => 41
            [cSTime] => 1742052453
            [cETime] => 1742052476
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08197612504
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052476
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052444
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052453
                                    [endTime] => 1742052476
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1062
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.95999999999873
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30010.799999999927
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1062
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 84.95999999999873
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94228.61000001202
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052478
{"compaign_id":"36075","contact_id":"2806","total_duration":"26","answer_duration":26,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2806","uid":"u595","unique_id":"36075_2806_138-u595","ivrId":"3158","channelOTime":1742052434,"channelDTime":1742052476,"channelDuration":42,"cSTime":1742052450,"cETime":1742052476,"cDuration":26,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09738465411","server_ip":"118.185.137.196","insertTime":1742052476,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052436,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052450,"endTime":1742052471,"duration":21}],"#3":[{"startTime":1742052471,"endTime":1742052476,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2806
    [total_duration] => 26
    [answer_duration] => 26
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2806
            [uid] => u595
            [unique_id] => 36075_2806_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052434
            [channelDTime] => 1742052476
            [channelDuration] => 42
            [cSTime] => 1742052450
            [cETime] => 1742052476
            [cDuration] => 26
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09738465411
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052476
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052436
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052450
                                    [endTime] => 1742052471
                                    [duration] => 21
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052471
                                    [endTime] => 1742052476
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1064
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.11999999999873
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30010.639999999927
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1064
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.11999999999873
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94228.45000001202
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052478
{"compaign_id":"36075","contact_id":"2811","total_duration":"29","answer_duration":29,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2811","uid":"u595","unique_id":"36075_2811_138-u595","ivrId":"3158","channelOTime":1742052435,"channelDTime":1742052477,"channelDuration":42,"cSTime":1742052448,"cETime":1742052477,"cDuration":29,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08388023306","server_ip":"118.185.137.196","insertTime":1742052477,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052437,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052448,"endTime":1742052471,"duration":23}],"#3":[{"startTime":1742052471,"endTime":1742052477,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2811
    [total_duration] => 29
    [answer_duration] => 29
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2811
            [uid] => u595
            [unique_id] => 36075_2811_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052435
            [channelDTime] => 1742052477
            [channelDuration] => 42
            [cSTime] => 1742052448
            [cETime] => 1742052477
            [cDuration] => 29
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08388023306
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052477
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052437
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052448
                                    [endTime] => 1742052471
                                    [duration] => 23
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052471
                                    [endTime] => 1742052477
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1066
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.27999999999872
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30010.479999999927
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1066
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.27999999999872
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94228.29000001201
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052478
{"compaign_id":"36075","contact_id":"2894","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2894","uid":"u595","unique_id":"36075_2894_138-u595","ivrId":"3158","channelOTime":1742052459,"channelDTime":1742052478,"channelDuration":19,"cSTime":1742052473,"cETime":1742052478,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09060667936","server_ip":"118.185.137.196","insertTime":1742052478,"ivrData":{"#2":["9"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052473,"endTime":1742052478,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2894
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2894
            [uid] => u595
            [unique_id] => 36075_2894_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052459
            [channelDTime] => 1742052478
            [channelDuration] => 19
            [cSTime] => 1742052473
            [cETime] => 1742052478
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09060667936
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052478
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 9
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052473
                                    [endTime] => 1742052478
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1068
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.43999999999872
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30010.319999999927
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1068
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.43999999999872
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94228.13000001201
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052480
2025-03-15 20:58:02[LOG]Starting Cron
2025-03-15 20:58:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"2885","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2885","uid":"u595","unique_id":"36075_2885_138-u595","ivrId":"3158","channelOTime":1742052457,"channelDTime":1742052480,"channelDuration":23,"cSTime":1742052465,"cETime":1742052480,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09810387358","server_ip":"118.185.137.196","insertTime":1742052480,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2885
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2885
            [uid] => u595
            [unique_id] => 36075_2885_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052457
            [channelDTime] => 1742052480
            [channelDuration] => 23
            [cSTime] => 1742052465
            [cETime] => 1742052480
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09810387358
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052480
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1069
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.51999999999872
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30010.239999999925
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1069
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.51999999999872
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94228.05000001201
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052482
{"compaign_id":"36075","contact_id":"2901","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2901","uid":"u595","unique_id":"36075_2901_138-u595","ivrId":"3158","channelOTime":1742052473,"channelDTime":1742052484,"channelDuration":11,"cSTime":1742052481,"cETime":1742052484,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07006195409","server_ip":"118.185.137.196","insertTime":1742052484,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052476,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2901
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2901
            [uid] => u595
            [unique_id] => 36075_2901_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052473
            [channelDTime] => 1742052484
            [channelDuration] => 11
            [cSTime] => 1742052481
            [cETime] => 1742052484
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07006195409
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052484
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052476
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1070
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.59999999999872
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30010.159999999923
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1070
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.59999999999872
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94227.970000012
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052485
{"compaign_id":"36075","contact_id":"2917","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2917","uid":"u595","unique_id":"36075_2917_138-u595","ivrId":"3158","channelOTime":1742052477,"channelDTime":1742052488,"channelDuration":11,"cSTime":1742052481,"cETime":1742052488,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08447206719","server_ip":"118.185.137.196","insertTime":1742052488,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052479,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2917
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2917
            [uid] => u595
            [unique_id] => 36075_2917_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052477
            [channelDTime] => 1742052488
            [channelDuration] => 11
            [cSTime] => 1742052481
            [cETime] => 1742052488
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08447206719
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052488
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052479
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1071
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.67999999999871
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30010.07999999992
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1071
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.67999999999871
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94227.890000012
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052489
{"compaign_id":"36075","contact_id":"2862","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2862","uid":"u595","unique_id":"36075_2862_138-u595","ivrId":"3158","channelOTime":1742052453,"channelDTime":1742052488,"channelDuration":35,"cSTime":1742052472,"cETime":1742052488,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08464827992","server_ip":"118.185.137.196","insertTime":1742052488,"ivrData":{"#2":["*"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052463,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052472,"endTime":1742052488,"duration":16}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2862
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2862
            [uid] => u595
            [unique_id] => 36075_2862_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052453
            [channelDTime] => 1742052488
            [channelDuration] => 35
            [cSTime] => 1742052472
            [cETime] => 1742052488
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08464827992
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052488
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => *
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052463
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052472
                                    [endTime] => 1742052488
                                    [duration] => 16
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1072
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.75999999999871
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30009.99999999992
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1072
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.75999999999871
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94227.810000012
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052490
{"compaign_id":"36075","contact_id":"2851","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2851","uid":"u595","unique_id":"36075_2851_138-u595","ivrId":"3158","channelOTime":1742052450,"channelDTime":1742052488,"channelDuration":38,"cSTime":1742052465,"cETime":1742052488,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09954641719","server_ip":"118.185.137.196","insertTime":1742052488,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052455,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052465,"endTime":1742052488,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2851
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2851
            [uid] => u595
            [unique_id] => 36075_2851_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052450
            [channelDTime] => 1742052488
            [channelDuration] => 38
            [cSTime] => 1742052465
            [cETime] => 1742052488
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09954641719
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052488
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052455
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052465
                                    [endTime] => 1742052488
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1074
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.91999999999871
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30009.83999999992
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1074
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 85.91999999999871
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94227.650000012
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052490
{"compaign_id":"36075","contact_id":"2926","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2926","uid":"u595","unique_id":"36075_2926_138-u595","ivrId":"3158","channelOTime":1742052478,"channelDTime":1742052489,"channelDuration":11,"cSTime":1742052486,"cETime":1742052489,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09444986416","server_ip":"118.185.137.196","insertTime":1742052489,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052481,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2926
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2926
            [uid] => u595
            [unique_id] => 36075_2926_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052478
            [channelDTime] => 1742052489
            [channelDuration] => 11
            [cSTime] => 1742052486
            [cETime] => 1742052489
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09444986416
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052489
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052481
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1076
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.0799999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30009.67999999992
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1076
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.0799999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94227.490000012
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052490
{"compaign_id":"36075","contact_id":"2884","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2884","uid":"u595","unique_id":"36075_2884_138-u595","ivrId":"3158","channelOTime":1742052457,"channelDTime":1742052490,"channelDuration":33,"cSTime":1742052487,"cETime":1742052490,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09936212520","server_ip":"118.185.137.196","insertTime":1742052490,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2884
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2884
            [uid] => u595
            [unique_id] => 36075_2884_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052457
            [channelDTime] => 1742052490
            [channelDuration] => 33
            [cSTime] => 1742052487
            [cETime] => 1742052490
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09936212520
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052490
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1077
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.1599999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30009.59999999992
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1077
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.1599999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94227.410000012
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052491
{"compaign_id":"36075","contact_id":"2900","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2900","uid":"u595","unique_id":"36075_2900_138-u595","ivrId":"3158","channelOTime":1742052473,"channelDTime":1742052490,"channelDuration":17,"cSTime":1742052479,"cETime":1742052490,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07814456029","server_ip":"118.185.137.196","insertTime":1742052490,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052475,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2900
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2900
            [uid] => u595
            [unique_id] => 36075_2900_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052473
            [channelDTime] => 1742052490
            [channelDuration] => 17
            [cSTime] => 1742052479
            [cETime] => 1742052490
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07814456029
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052490
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052475
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1078
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.2399999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30009.519999999917
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1078
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.2399999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94227.33000001199
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052492
{"compaign_id":"36075","contact_id":"2927","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2927","uid":"u595","unique_id":"36075_2927_138-u595","ivrId":"3158","channelOTime":1742052479,"channelDTime":1742052493,"channelDuration":14,"cSTime":1742052489,"cETime":1742052493,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08179705692","server_ip":"118.185.137.196","insertTime":1742052493,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052481,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2927
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2927
            [uid] => u595
            [unique_id] => 36075_2927_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052479
            [channelDTime] => 1742052493
            [channelDuration] => 14
            [cSTime] => 1742052489
            [cETime] => 1742052493
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08179705692
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052493
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052481
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1079
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.3199999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30009.439999999915
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1079
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.3199999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94227.25000001199
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052494
{"compaign_id":"36075","contact_id":"2933","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2933","uid":"u595","unique_id":"36075_2933_138-u595","ivrId":"3158","channelOTime":1742052480,"channelDTime":1742052493,"channelDuration":13,"cSTime":1742052487,"cETime":1742052493,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09350320349","server_ip":"118.185.137.196","insertTime":1742052493,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052481,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2933
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2933
            [uid] => u595
            [unique_id] => 36075_2933_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052480
            [channelDTime] => 1742052493
            [channelDuration] => 13
            [cSTime] => 1742052487
            [cETime] => 1742052493
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09350320349
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052493
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052481
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1080
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.3999999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30009.359999999913
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1080
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.3999999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94227.17000001199
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052495
{"compaign_id":"36075","contact_id":"2860","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2860","uid":"u595","unique_id":"36075_2860_138-u595","ivrId":"3158","channelOTime":1742052452,"channelDTime":1742052494,"channelDuration":42,"cSTime":1742052477,"cETime":1742052494,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07817983300","server_ip":"118.185.137.196","insertTime":1742052494,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052455,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2860
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2860
            [uid] => u595
            [unique_id] => 36075_2860_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052452
            [channelDTime] => 1742052494
            [channelDuration] => 42
            [cSTime] => 1742052477
            [cETime] => 1742052494
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07817983300
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052494
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052455
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1081
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.4799999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30009.27999999991
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1081
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.4799999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94227.09000001199
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052496
{"compaign_id":"36075","contact_id":"2947","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2947","uid":"u595","unique_id":"36075_2947_138-u595","ivrId":"3158","channelOTime":1742052483,"channelDTime":1742052496,"channelDuration":13,"cSTime":1742052493,"cETime":1742052496,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07997886742","server_ip":"118.185.137.196","insertTime":1742052496,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052484,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2947
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2947
            [uid] => u595
            [unique_id] => 36075_2947_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052483
            [channelDTime] => 1742052496
            [channelDuration] => 13
            [cSTime] => 1742052493
            [cETime] => 1742052496
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07997886742
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052496
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052484
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1083
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.6399999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30009.11999999991
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1083
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.6399999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94226.93000001198
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052497
{"compaign_id":"36075","contact_id":"2897","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2897","uid":"u595","unique_id":"36075_2897_138-u595","ivrId":"3158","channelOTime":1742052460,"channelDTime":1742052496,"channelDuration":36,"cSTime":1742052476,"cETime":1742052496,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07036062327","server_ip":"118.185.137.196","insertTime":1742052496,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052461,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2897
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2897
            [uid] => u595
            [unique_id] => 36075_2897_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052460
            [channelDTime] => 1742052496
            [channelDuration] => 36
            [cSTime] => 1742052476
            [cETime] => 1742052496
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07036062327
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052496
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052461
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1084
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.71999999999869
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30009.03999999991
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1084
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.71999999999869
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94226.85000001198
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052498
{"compaign_id":"36075","contact_id":"2938","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2938","uid":"u595","unique_id":"36075_2938_138-u595","ivrId":"3158","channelOTime":1742052481,"channelDTime":1742052497,"channelDuration":16,"cSTime":1742052488,"cETime":1742052497,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09744751784","server_ip":"118.185.137.196","insertTime":1742052497,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052482,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2938
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2938
            [uid] => u595
            [unique_id] => 36075_2938_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052481
            [channelDTime] => 1742052497
            [channelDuration] => 16
            [cSTime] => 1742052488
            [cETime] => 1742052497
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09744751784
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052497
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052482
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1086
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.87999999999869
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30008.87999999991
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1086
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.87999999999869
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94226.69000001198
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052498
{"compaign_id":"36075","contact_id":"2932","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2932","uid":"u595","unique_id":"36075_2932_138-u595","ivrId":"3158","channelOTime":1742052480,"channelDTime":1742052497,"channelDuration":17,"cSTime":1742052490,"cETime":1742052497,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08171586245","server_ip":"118.185.137.196","insertTime":1742052497,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052482,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2932
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2932
            [uid] => u595
            [unique_id] => 36075_2932_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052480
            [channelDTime] => 1742052497
            [channelDuration] => 17
            [cSTime] => 1742052490
            [cETime] => 1742052497
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08171586245
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052497
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052482
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1087
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.95999999999869
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30008.79999999991
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1087
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 86.95999999999869
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94226.61000001198
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052499
{"compaign_id":"36075","contact_id":"2888","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2888","uid":"u595","unique_id":"36075_2888_138-u595","ivrId":"3158","channelOTime":1742052458,"channelDTime":1742052498,"channelDuration":40,"cSTime":1742052484,"cETime":1742052498,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06362736454","server_ip":"118.185.137.196","insertTime":1742052498,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052461,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2888
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2888
            [uid] => u595
            [unique_id] => 36075_2888_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052458
            [channelDTime] => 1742052498
            [channelDuration] => 40
            [cSTime] => 1742052484
            [cETime] => 1742052498
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06362736454
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052498
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052461
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1088
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.03999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30008.719999999907
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1088
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.03999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94226.53000001198
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052499
{"compaign_id":"36075","contact_id":"2875","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2875","uid":"u595","unique_id":"36075_2875_138-u595","ivrId":"3158","channelOTime":1742052455,"channelDTime":1742052499,"channelDuration":44,"cSTime":1742052475,"cETime":1742052499,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07006110037","server_ip":"118.185.137.196","insertTime":1742052499,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052459,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052475,"endTime":1742052499,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2875
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2875
            [uid] => u595
            [unique_id] => 36075_2875_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052455
            [channelDTime] => 1742052499
            [channelDuration] => 44
            [cSTime] => 1742052475
            [cETime] => 1742052499
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07006110037
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052499
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052459
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052475
                                    [endTime] => 1742052499
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1089
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.11999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30008.639999999905
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1089
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.11999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94226.45000001197
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052500
{"compaign_id":"36075","contact_id":"2905","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2905","uid":"u595","unique_id":"36075_2905_138-u595","ivrId":"3158","channelOTime":1742052474,"channelDTime":1742052502,"channelDuration":28,"cSTime":1742052491,"cETime":1742052502,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09521360802","server_ip":"118.185.137.196","insertTime":1742052502,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052476,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2905
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2905
            [uid] => u595
            [unique_id] => 36075_2905_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052474
            [channelDTime] => 1742052502
            [channelDuration] => 28
            [cSTime] => 1742052491
            [cETime] => 1742052502
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09521360802
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052502
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052476
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1091
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.27999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30008.479999999905
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1091
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.27999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94226.29000001197
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052504
{"compaign_id":"36075","contact_id":"2935","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2935","uid":"u595","unique_id":"36075_2935_138-u595","ivrId":"3158","channelOTime":1742052480,"channelDTime":1742052504,"channelDuration":24,"cSTime":1742052497,"cETime":1742052504,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07378529727","server_ip":"118.185.137.196","insertTime":1742052504,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052483,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2935
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2935
            [uid] => u595
            [unique_id] => 36075_2935_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052480
            [channelDTime] => 1742052504
            [channelDuration] => 24
            [cSTime] => 1742052497
            [cETime] => 1742052504
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07378529727
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052504
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052483
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1092
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.35999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30008.399999999903
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1092
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.35999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94226.21000001197
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052506
{"compaign_id":"36075","contact_id":"2882","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2882","uid":"u595","unique_id":"36075_2882_138-u595","ivrId":"3158","channelOTime":1742052457,"channelDTime":1742052505,"channelDuration":48,"cSTime":1742052485,"cETime":1742052505,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09974804615","server_ip":"118.185.137.196","insertTime":1742052505,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052459,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2882
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2882
            [uid] => u595
            [unique_id] => 36075_2882_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052457
            [channelDTime] => 1742052505
            [channelDuration] => 48
            [cSTime] => 1742052485
            [cETime] => 1742052505
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09974804615
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052505
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052459
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1093
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.43999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30008.3199999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1093
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.43999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94226.13000001197
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052507
{"compaign_id":"36075","contact_id":"2903","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2903","uid":"u595","unique_id":"36075_2903_138-u595","ivrId":"3158","channelOTime":1742052474,"channelDTime":1742052505,"channelDuration":31,"cSTime":1742052482,"cETime":1742052505,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07970051433","server_ip":"118.185.137.196","insertTime":1742052505,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052476,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052482,"endTime":1742052505,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2903
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2903
            [uid] => u595
            [unique_id] => 36075_2903_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052474
            [channelDTime] => 1742052505
            [channelDuration] => 31
            [cSTime] => 1742052482
            [cETime] => 1742052505
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07970051433
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052505
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052476
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052482
                                    [endTime] => 1742052505
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1095
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.59999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30008.1599999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1095
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.59999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94225.97000001196
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052507
{"compaign_id":"36075","contact_id":"2929","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2929","uid":"u595","unique_id":"36075_2929_138-u595","ivrId":"3158","channelOTime":1742052479,"channelDTime":1742052505,"channelDuration":26,"cSTime":1742052496,"cETime":1742052505,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07386765776","server_ip":"118.185.137.196","insertTime":1742052505,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052482,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2929
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2929
            [uid] => u595
            [unique_id] => 36075_2929_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052479
            [channelDTime] => 1742052505
            [channelDuration] => 26
            [cSTime] => 1742052496
            [cETime] => 1742052505
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07386765776
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052505
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052482
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1097
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.75999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.9999999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1097
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.75999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94225.81000001196
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052507
{"compaign_id":"36075","contact_id":"2970","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2970","uid":"u595","unique_id":"36075_2970_138-u595","ivrId":"3158","channelOTime":1742052495,"channelDTime":1742052506,"channelDuration":11,"cSTime":1742052500,"cETime":1742052506,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09516648876","server_ip":"118.185.137.196","insertTime":1742052506,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052497,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2970
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2970
            [uid] => u595
            [unique_id] => 36075_2970_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052495
            [channelDTime] => 1742052506
            [channelDuration] => 11
            [cSTime] => 1742052500
            [cETime] => 1742052506
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09516648876
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052506
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052497
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1098
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.83999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.9199999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1098
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.83999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94225.73000001196
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052508
{"compaign_id":"36075","contact_id":"2914","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2914","uid":"u595","unique_id":"36075_2914_138-u595","ivrId":"3158","channelOTime":1742052476,"channelDTime":1742052508,"channelDuration":32,"cSTime":1742052502,"cETime":1742052508,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09383061647","server_ip":"118.185.137.196","insertTime":1742052508,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052478,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2914
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2914
            [uid] => u595
            [unique_id] => 36075_2914_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052476
            [channelDTime] => 1742052508
            [channelDuration] => 32
            [cSTime] => 1742052502
            [cETime] => 1742052508
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09383061647
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052508
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052478
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1099
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.91999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.8399999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1099
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.91999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94225.65000001196
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052510
{"compaign_id":"36075","contact_id":"2950","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2950","uid":"u595","unique_id":"36075_2950_138-u595","ivrId":"3158","channelOTime":1742052491,"channelDTime":1742052508,"channelDuration":17,"cSTime":1742052497,"cETime":1742052508,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09082002874","server_ip":"118.185.137.196","insertTime":1742052508,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052493,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2950
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2950
            [uid] => u595
            [unique_id] => 36075_2950_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052491
            [channelDTime] => 1742052508
            [channelDuration] => 17
            [cSTime] => 1742052497
            [cETime] => 1742052508
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09082002874
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052508
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052493
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1100
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.99999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.759999999897
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1100
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 87.99999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94225.57000001195
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052510
{"compaign_id":"36075","contact_id":"2989","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2989","uid":"u595","unique_id":"36075_2989_138-u595","ivrId":"3158","channelOTime":1742052498,"channelDTime":1742052509,"channelDuration":11,"cSTime":1742052503,"cETime":1742052509,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09324680868","server_ip":"118.185.137.196","insertTime":1742052509,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052500,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2989
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2989
            [uid] => u595
            [unique_id] => 36075_2989_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052498
            [channelDTime] => 1742052509
            [channelDuration] => 11
            [cSTime] => 1742052503
            [cETime] => 1742052509
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09324680868
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052509
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052500
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1101
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.07999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.679999999895
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1101
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.07999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94225.49000001195
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052511
{"compaign_id":"36075","contact_id":"2934","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2934","uid":"u595","unique_id":"36075_2934_138-u595","ivrId":"3158","channelOTime":1742052480,"channelDTime":1742052509,"channelDuration":29,"cSTime":1742052506,"cETime":1742052509,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09611135585","server_ip":"118.185.137.196","insertTime":1742052509,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052486,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2934
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2934
            [uid] => u595
            [unique_id] => 36075_2934_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052480
            [channelDTime] => 1742052509
            [channelDuration] => 29
            [cSTime] => 1742052506
            [cETime] => 1742052509
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09611135585
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052509
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052486
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1102
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.15999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.599999999893
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1102
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.15999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94225.41000001195
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052511
{"compaign_id":"36075","contact_id":"2980","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2980","uid":"u595","unique_id":"36075_2980_138-u595","ivrId":"3158","channelOTime":1742052497,"channelDTime":1742052511,"channelDuration":14,"cSTime":1742052506,"cETime":1742052511,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09515074770","server_ip":"118.185.137.196","insertTime":1742052511,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052499,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2980
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2980
            [uid] => u595
            [unique_id] => 36075_2980_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052497
            [channelDTime] => 1742052511
            [channelDuration] => 14
            [cSTime] => 1742052506
            [cETime] => 1742052511
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09515074770
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052511
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052499
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1103
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.23999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.51999999989
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1103
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.23999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94225.33000001195
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052512
{"compaign_id":"36075","contact_id":"2944","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2944","uid":"u595","unique_id":"36075_2944_138-u595","ivrId":"3158","channelOTime":1742052482,"channelDTime":1742052512,"channelDuration":30,"cSTime":1742052508,"cETime":1742052512,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09522730496","server_ip":"118.185.137.196","insertTime":1742052512,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052484,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2944
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2944
            [uid] => u595
            [unique_id] => 36075_2944_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052482
            [channelDTime] => 1742052512
            [channelDuration] => 30
            [cSTime] => 1742052508
            [cETime] => 1742052512
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09522730496
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052512
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052484
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1104
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.31999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.43999999989
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1104
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.31999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94225.25000001195
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052514
{"compaign_id":"36075","contact_id":"2948","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2948","uid":"u595","unique_id":"36075_2948_138-u595","ivrId":"3158","channelOTime":1742052483,"channelDTime":1742052512,"channelDuration":29,"cSTime":1742052501,"cETime":1742052512,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07993827542","server_ip":"118.185.137.196","insertTime":1742052512,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052494,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2948
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2948
            [uid] => u595
            [unique_id] => 36075_2948_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052483
            [channelDTime] => 1742052512
            [channelDuration] => 29
            [cSTime] => 1742052501
            [cETime] => 1742052512
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07993827542
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052512
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052494
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1105
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.39999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.359999999888
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1105
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.39999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94225.17000001195
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052514
{"compaign_id":"36075","contact_id":"2907","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2907","uid":"u595","unique_id":"36075_2907_138-u595","ivrId":"3158","channelOTime":1742052475,"channelDTime":1742052516,"channelDuration":41,"cSTime":1742052496,"cETime":1742052516,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08889692372","server_ip":"118.185.137.196","insertTime":1742052516,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052476,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2907
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2907
            [uid] => u595
            [unique_id] => 36075_2907_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052475
            [channelDTime] => 1742052516
            [channelDuration] => 41
            [cSTime] => 1742052496
            [cETime] => 1742052516
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08889692372
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052516
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052476
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1106
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.47999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.279999999886
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1106
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.47999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94225.09000001194
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052518
{"compaign_id":"36075","contact_id":"3008","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3008","uid":"u595","unique_id":"36075_3008_138-u595","ivrId":"3158","channelOTime":1742052509,"channelDTime":1742052516,"channelDuration":7,"cSTime":1742052514,"cETime":1742052516,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06290381924","server_ip":"118.185.137.196","insertTime":1742052516,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052510,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3008
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3008
            [uid] => u595
            [unique_id] => 36075_3008_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052509
            [channelDTime] => 1742052516
            [channelDuration] => 7
            [cSTime] => 1742052514
            [cETime] => 1742052516
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06290381924
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052516
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052510
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1108
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.63999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.119999999886
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1108
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.63999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94224.93000001194
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052518
{"compaign_id":"36075","contact_id":"2958","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2958","uid":"u595","unique_id":"36075_2958_138-u595","ivrId":"3158","channelOTime":1742052492,"channelDTime":1742052517,"channelDuration":25,"cSTime":1742052514,"cETime":1742052517,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08019764399","server_ip":"118.185.137.196","insertTime":1742052517,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052506,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2958
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2958
            [uid] => u595
            [unique_id] => 36075_2958_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052492
            [channelDTime] => 1742052517
            [channelDuration] => 25
            [cSTime] => 1742052514
            [cETime] => 1742052517
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08019764399
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052517
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052506
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1109
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.71999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30007.039999999884
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1109
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.71999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94224.85000001194
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052518
{"compaign_id":"36075","contact_id":"2981","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2981","uid":"u595","unique_id":"36075_2981_138-u595","ivrId":"3158","channelOTime":1742052497,"channelDTime":1742052517,"channelDuration":20,"cSTime":1742052514,"cETime":1742052517,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09515712767","server_ip":"118.185.137.196","insertTime":1742052517,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052500,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2981
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2981
            [uid] => u595
            [unique_id] => 36075_2981_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052497
            [channelDTime] => 1742052517
            [channelDuration] => 20
            [cSTime] => 1742052514
            [cETime] => 1742052517
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09515712767
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052517
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052500
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1110
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.79999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30006.959999999883
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1110
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.79999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94224.77000001194
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052519
{"compaign_id":"36075","contact_id":"2960","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2960","uid":"u595","unique_id":"36075_2960_138-u595","ivrId":"3158","channelOTime":1742052493,"channelDTime":1742052517,"channelDuration":24,"cSTime":1742052509,"cETime":1742052517,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08625911061","server_ip":"118.185.137.196","insertTime":1742052517,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052495,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2960
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2960
            [uid] => u595
            [unique_id] => 36075_2960_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052493
            [channelDTime] => 1742052517
            [channelDuration] => 24
            [cSTime] => 1742052509
            [cETime] => 1742052517
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08625911061
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052517
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052495
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1111
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.87999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30006.87999999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1111
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.87999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94224.69000001193
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052519
{"compaign_id":"36075","contact_id":"2936","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2936","uid":"u595","unique_id":"36075_2936_138-u595","ivrId":"3158","channelOTime":1742052480,"channelDTime":1742052517,"channelDuration":37,"cSTime":1742052494,"cETime":1742052517,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08340697685","server_ip":"118.185.137.196","insertTime":1742052517,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052482,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052494,"endTime":1742052517,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2936
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2936
            [uid] => u595
            [unique_id] => 36075_2936_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052480
            [channelDTime] => 1742052517
            [channelDuration] => 37
            [cSTime] => 1742052494
            [cETime] => 1742052517
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08340697685
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052517
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052482
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052494
                                    [endTime] => 1742052517
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1112
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.95999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30006.79999999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1112
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 88.95999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94224.61000001193
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052519
{"compaign_id":"36075","contact_id":"2967","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2967","uid":"u595","unique_id":"36075_2967_138-u595","ivrId":"3158","channelOTime":1742052494,"channelDTime":1742052518,"channelDuration":24,"cSTime":1742052506,"cETime":1742052518,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08979476693","server_ip":"118.185.137.196","insertTime":1742052518,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052496,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2967
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2967
            [uid] => u595
            [unique_id] => 36075_2967_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052494
            [channelDTime] => 1742052518
            [channelDuration] => 24
            [cSTime] => 1742052506
            [cETime] => 1742052518
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08979476693
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052518
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052496
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1114
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.11999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30006.63999999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1114
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.11999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94224.45000001193
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052519
{"compaign_id":"36075","contact_id":"2919","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2919","uid":"u595","unique_id":"36075_2919_138-u595","ivrId":"3158","channelOTime":1742052477,"channelDTime":1742052518,"channelDuration":41,"cSTime":1742052495,"cETime":1742052518,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09958085371","server_ip":"118.185.137.196","insertTime":1742052518,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052481,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052495,"endTime":1742052518,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2919
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2919
            [uid] => u595
            [unique_id] => 36075_2919_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052477
            [channelDTime] => 1742052518
            [channelDuration] => 41
            [cSTime] => 1742052495
            [cETime] => 1742052518
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09958085371
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052518
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052481
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052495
                                    [endTime] => 1742052518
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1115
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.19999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30006.559999999878
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1115
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.19999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94224.37000001193
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052520
{"compaign_id":"36075","contact_id":"2902","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2902","uid":"u595","unique_id":"36075_2902_138-u595","ivrId":"3158","channelOTime":1742052474,"channelDTime":1742052519,"channelDuration":45,"cSTime":1742052496,"cETime":1742052519,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07204443598","server_ip":"118.185.137.196","insertTime":1742052519,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052476,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052496,"endTime":1742052519,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2902
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2902
            [uid] => u595
            [unique_id] => 36075_2902_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052474
            [channelDTime] => 1742052519
            [channelDuration] => 45
            [cSTime] => 1742052496
            [cETime] => 1742052519
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07204443598
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052519
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052476
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052496
                                    [endTime] => 1742052519
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1117
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.35999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30006.399999999878
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1117
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.35999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94224.21000001192
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052521
{"compaign_id":"36075","contact_id":"2993","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2993","uid":"u595","unique_id":"36075_2993_138-u595","ivrId":"3158","channelOTime":1742052499,"channelDTime":1742052519,"channelDuration":20,"cSTime":1742052517,"cETime":1742052519,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09903939164","server_ip":"118.185.137.196","insertTime":1742052519,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052502,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2993
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2993
            [uid] => u595
            [unique_id] => 36075_2993_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052499
            [channelDTime] => 1742052519
            [channelDuration] => 20
            [cSTime] => 1742052517
            [cETime] => 1742052519
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09903939164
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052519
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052502
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1119
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.51999999999863
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30006.239999999878
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1119
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.51999999999863
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94224.05000001192
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052521
{"compaign_id":"36075","contact_id":"2957","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2957","uid":"u595","unique_id":"36075_2957_138-u595","ivrId":"3158","channelOTime":1742052492,"channelDTime":1742052521,"channelDuration":29,"cSTime":1742052515,"cETime":1742052521,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08347497959","server_ip":"118.185.137.196","insertTime":1742052521,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052496,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2957
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2957
            [uid] => u595
            [unique_id] => 36075_2957_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052492
            [channelDTime] => 1742052521
            [channelDuration] => 29
            [cSTime] => 1742052515
            [cETime] => 1742052521
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08347497959
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052521
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052496
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1120
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.59999999999863
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30006.159999999876
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1120
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.59999999999863
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94223.97000001192
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052523
{"compaign_id":"36075","contact_id":"2915","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2915","uid":"u595","unique_id":"36075_2915_138-u595","ivrId":"3158","channelOTime":1742052476,"channelDTime":1742052525,"channelDuration":49,"cSTime":1742052502,"cETime":1742052525,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06299343599","server_ip":"118.185.137.196","insertTime":1742052525,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052478,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052502,"endTime":1742052525,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2915
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2915
            [uid] => u595
            [unique_id] => 36075_2915_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052476
            [channelDTime] => 1742052525
            [channelDuration] => 49
            [cSTime] => 1742052502
            [cETime] => 1742052525
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06299343599
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052525
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052478
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052502
                                    [endTime] => 1742052525
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1121
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.67999999999863
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30006.079999999874
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1121
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.67999999999863
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94223.89000001192
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052527
{"compaign_id":"36075","contact_id":"3020","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3020","uid":"u595","unique_id":"36075_3020_138-u595","ivrId":"3158","channelOTime":1742052512,"channelDTime":1742052528,"channelDuration":16,"cSTime":1742052521,"cETime":1742052528,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07022861765","server_ip":"118.185.137.196","insertTime":1742052528,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052514,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3020
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3020
            [uid] => u595
            [unique_id] => 36075_3020_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052512
            [channelDTime] => 1742052528
            [channelDuration] => 16
            [cSTime] => 1742052521
            [cETime] => 1742052528
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07022861765
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052528
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052514
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1123
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.83999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30005.919999999875
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1123
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.83999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94223.73000001191
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052529
{"compaign_id":"36075","contact_id":"2946","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2946","uid":"u595","unique_id":"36075_2946_138-u595","ivrId":"3158","channelOTime":1742052482,"channelDTime":1742052528,"channelDuration":46,"cSTime":1742052505,"cETime":1742052528,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07276528207","server_ip":"118.185.137.196","insertTime":1742052528,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052484,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052505,"endTime":1742052528,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2946
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2946
            [uid] => u595
            [unique_id] => 36075_2946_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052482
            [channelDTime] => 1742052528
            [channelDuration] => 46
            [cSTime] => 1742052505
            [cETime] => 1742052528
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07276528207
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052528
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052484
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052505
                                    [endTime] => 1742052528
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1124
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.91999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30005.839999999873
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1124
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 89.91999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94223.65000001191
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052530
{"compaign_id":"36075","contact_id":"3017","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3017","uid":"u595","unique_id":"36075_3017_138-u595","ivrId":"3158","channelOTime":1742052511,"channelDTime":1742052528,"channelDuration":17,"cSTime":1742052520,"cETime":1742052528,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07876146725","server_ip":"118.185.137.196","insertTime":1742052528,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052515,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3017
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3017
            [uid] => u595
            [unique_id] => 36075_3017_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052511
            [channelDTime] => 1742052528
            [channelDuration] => 17
            [cSTime] => 1742052520
            [cETime] => 1742052528
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07876146725
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052528
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052515
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1126
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.07999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30005.679999999873
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1126
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.07999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94223.49000001191
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052530
{"compaign_id":"36075","contact_id":"2973","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2973","uid":"u595","unique_id":"36075_2973_138-u595","ivrId":"3158","channelOTime":1742052495,"channelDTime":1742052529,"channelDuration":34,"cSTime":1742052522,"cETime":1742052529,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09772581778","server_ip":"118.185.137.196","insertTime":1742052529,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052498,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2973
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2973
            [uid] => u595
            [unique_id] => 36075_2973_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052495
            [channelDTime] => 1742052529
            [channelDuration] => 34
            [cSTime] => 1742052522
            [cETime] => 1742052529
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09772581778
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052529
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052498
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1127
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.15999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30005.59999999987
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1127
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.15999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94223.4100000119
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052530
{"compaign_id":"36075","contact_id":"2978","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2978","uid":"u595","unique_id":"36075_2978_138-u595","ivrId":"3158","channelOTime":1742052496,"channelDTime":1742052529,"channelDuration":33,"cSTime":1742052513,"cETime":1742052529,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09781369889","server_ip":"118.185.137.196","insertTime":1742052529,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052499,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2978
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2978
            [uid] => u595
            [unique_id] => 36075_2978_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052496
            [channelDTime] => 1742052529
            [channelDuration] => 33
            [cSTime] => 1742052513
            [cETime] => 1742052529
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09781369889
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052529
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052499
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1128
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.23999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30005.51999999987
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1128
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.23999999999862
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94223.3300000119
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052531
{"compaign_id":"36075","contact_id":"3025","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3025","uid":"u595","unique_id":"36075_3025_138-u595","ivrId":"3158","channelOTime":1742052513,"channelDTime":1742052529,"channelDuration":16,"cSTime":1742052522,"cETime":1742052529,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09731085701","server_ip":"118.185.137.196","insertTime":1742052529,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052515,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3025
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3025
            [uid] => u595
            [unique_id] => 36075_3025_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052513
            [channelDTime] => 1742052529
            [channelDuration] => 16
            [cSTime] => 1742052522
            [cETime] => 1742052529
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09731085701
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052529
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052515
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1130
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.39999999999861
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30005.35999999987
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1130
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.39999999999861
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94223.1700000119
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052531
{"compaign_id":"36075","contact_id":"3010","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3010","uid":"u595","unique_id":"36075_3010_138-u595","ivrId":"3158","channelOTime":1742052510,"channelDTime":1742052530,"channelDuration":20,"cSTime":1742052524,"cETime":1742052530,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08080912065","server_ip":"118.185.137.196","insertTime":1742052530,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052513,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3010
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3010
            [uid] => u595
            [unique_id] => 36075_3010_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052510
            [channelDTime] => 1742052530
            [channelDuration] => 20
            [cSTime] => 1742052524
            [cETime] => 1742052530
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08080912065
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052530
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052513
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1131
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.47999999999861
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30005.279999999868
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1131
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.47999999999861
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94223.0900000119
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052531
{"compaign_id":"36075","contact_id":"3069","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3069","uid":"u595","unique_id":"36075_3069_138-u595","ivrId":"3158","channelOTime":1742052524,"channelDTime":1742052530,"channelDuration":6,"cSTime":1742052527,"cETime":1742052530,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09494545258","server_ip":"118.185.137.196","insertTime":1742052530,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052526,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3069
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3069
            [uid] => u595
            [unique_id] => 36075_3069_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052524
            [channelDTime] => 1742052530
            [channelDuration] => 6
            [cSTime] => 1742052527
            [cETime] => 1742052530
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09494545258
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052530
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052526
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1132
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.55999999999861
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30005.199999999866
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1132
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.55999999999861
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94223.0100000119
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052532
{"compaign_id":"36075","contact_id":"2979","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2979","uid":"u595","unique_id":"36075_2979_138-u595","ivrId":"3158","channelOTime":1742052496,"channelDTime":1742052531,"channelDuration":35,"cSTime":1742052508,"cETime":1742052531,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09850274478","server_ip":"118.185.137.196","insertTime":1742052531,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052498,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052508,"endTime":1742052531,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2979
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2979
            [uid] => u595
            [unique_id] => 36075_2979_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052496
            [channelDTime] => 1742052531
            [channelDuration] => 35
            [cSTime] => 1742052508
            [cETime] => 1742052531
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09850274478
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052531
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052498
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052508
                                    [endTime] => 1742052531
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1133
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.63999999999861
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30005.119999999864
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1133
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.63999999999861
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94222.9300000119
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052533
{"compaign_id":"36075","contact_id":"3064","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3064","uid":"u595","unique_id":"36075_3064_138-u595","ivrId":"3158","channelOTime":1742052523,"channelDTime":1742052531,"channelDuration":8,"cSTime":1742052529,"cETime":1742052531,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08688873742","server_ip":"118.185.137.196","insertTime":1742052531,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052524,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3064
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3064
            [uid] => u595
            [unique_id] => 36075_3064_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052523
            [channelDTime] => 1742052531
            [channelDuration] => 8
            [cSTime] => 1742052529
            [cETime] => 1742052531
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08688873742
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052531
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052524
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1135
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.7999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30004.959999999865
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1135
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.7999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94222.7700000119
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052533
{"compaign_id":"36075","contact_id":"3026","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3026","uid":"u595","unique_id":"36075_3026_138-u595","ivrId":"3158","channelOTime":1742052513,"channelDTime":1742052532,"channelDuration":19,"cSTime":1742052524,"cETime":1742052532,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07708791599","server_ip":"118.185.137.196","insertTime":1742052532,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052516,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3026
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3026
            [uid] => u595
            [unique_id] => 36075_3026_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052513
            [channelDTime] => 1742052532
            [channelDuration] => 19
            [cSTime] => 1742052524
            [cETime] => 1742052532
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07708791599
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052532
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052516
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1136
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.8799999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30004.879999999863
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1136
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.8799999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94222.69000001189
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052534
{"compaign_id":"36075","contact_id":"3073","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3073","uid":"u595","unique_id":"36075_3073_138-u595","ivrId":"3158","channelOTime":1742052524,"channelDTime":1742052533,"channelDuration":9,"cSTime":1742052531,"cETime":1742052533,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09354857665","server_ip":"118.185.137.196","insertTime":1742052533,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052526,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3073
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3073
            [uid] => u595
            [unique_id] => 36075_3073_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052524
            [channelDTime] => 1742052533
            [channelDuration] => 9
            [cSTime] => 1742052531
            [cETime] => 1742052533
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09354857665
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052533
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052526
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1137
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.9599999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30004.79999999986
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1137
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 90.9599999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94222.61000001189
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052535
{"compaign_id":"36075","contact_id":"3032","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3032","uid":"u595","unique_id":"36075_3032_138-u595","ivrId":"3158","channelOTime":1742052514,"channelDTime":1742052533,"channelDuration":19,"cSTime":1742052522,"cETime":1742052533,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07870843193","server_ip":"118.185.137.196","insertTime":1742052533,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052517,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3032
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3032
            [uid] => u595
            [unique_id] => 36075_3032_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052514
            [channelDTime] => 1742052533
            [channelDuration] => 19
            [cSTime] => 1742052522
            [cETime] => 1742052533
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07870843193
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052533
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052517
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1138
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.0399999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30004.71999999986
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1138
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.0399999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94222.53000001189
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052535
{"compaign_id":"36075","contact_id":"3022","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3022","uid":"u595","unique_id":"36075_3022_138-u595","ivrId":"3158","channelOTime":1742052512,"channelDTime":1742052533,"channelDuration":21,"cSTime":1742052523,"cETime":1742052533,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09384997813","server_ip":"118.185.137.196","insertTime":1742052533,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052514,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3022
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3022
            [uid] => u595
            [unique_id] => 36075_3022_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052512
            [channelDTime] => 1742052533
            [channelDuration] => 21
            [cSTime] => 1742052523
            [cETime] => 1742052533
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09384997813
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052533
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052514
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1139
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.1199999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30004.639999999858
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1139
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.1199999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94222.45000001189
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052535
{"compaign_id":"36075","contact_id":"3013","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3013","uid":"u595","unique_id":"36075_3013_138-u595","ivrId":"3158","channelOTime":1742052510,"channelDTime":1742052537,"channelDuration":27,"cSTime":1742052526,"cETime":1742052537,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09567043302","server_ip":"118.185.137.196","insertTime":1742052537,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052513,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3013
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3013
            [uid] => u595
            [unique_id] => 36075_3013_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052510
            [channelDTime] => 1742052537
            [channelDuration] => 27
            [cSTime] => 1742052526
            [cETime] => 1742052537
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09567043302
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052537
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052513
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1140
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.1999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30004.559999999856
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1140
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.1999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94222.37000001188
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052539
{"compaign_id":"36075","contact_id":"2988","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2988","uid":"u595","unique_id":"36075_2988_138-u595","ivrId":"3158","channelOTime":1742052498,"channelDTime":1742052539,"channelDuration":41,"cSTime":1742052515,"cETime":1742052539,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09845403310","server_ip":"118.185.137.196","insertTime":1742052539,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052501,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052515,"endTime":1742052539,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2988
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2988
            [uid] => u595
            [unique_id] => 36075_2988_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052498
            [channelDTime] => 1742052539
            [channelDuration] => 41
            [cSTime] => 1742052515
            [cETime] => 1742052539
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09845403310
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052539
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052501
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052515
                                    [endTime] => 1742052539
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1141
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.2799999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30004.479999999854
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1141
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.2799999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94222.29000001188
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052540
2025-03-15 20:59:03[LOG]Starting Cron
2025-03-15 20:59:03[LOG]Process is already running
{"compaign_id":"36075","contact_id":"3088","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3088","uid":"u595","unique_id":"36075_3088_138-u595","ivrId":"3158","channelOTime":1742052527,"channelDTime":1742052541,"channelDuration":14,"cSTime":1742052538,"cETime":1742052541,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09321381110","server_ip":"118.185.137.196","insertTime":1742052541,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052529,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3088
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3088
            [uid] => u595
            [unique_id] => 36075_3088_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052527
            [channelDTime] => 1742052541
            [channelDuration] => 14
            [cSTime] => 1742052538
            [cETime] => 1742052541
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09321381110
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052541
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052529
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1143
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.43999999999859
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30004.319999999854
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1143
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.43999999999859
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94222.13000001188
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052543
{"compaign_id":"36075","contact_id":"2996","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_2996","uid":"u595","unique_id":"36075_2996_138-u595","ivrId":"3158","channelOTime":1742052500,"channelDTime":1742052542,"channelDuration":42,"cSTime":1742052519,"cETime":1742052542,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09121552311","server_ip":"118.185.137.196","insertTime":1742052542,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052504,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052519,"endTime":1742052536,"duration":17}],"#3":[{"startTime":1742052536,"endTime":1742052542,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 2996
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_2996
            [uid] => u595
            [unique_id] => 36075_2996_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052500
            [channelDTime] => 1742052542
            [channelDuration] => 42
            [cSTime] => 1742052519
            [cETime] => 1742052542
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09121552311
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052542
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052504
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052519
                                    [endTime] => 1742052536
                                    [duration] => 17
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052536
                                    [endTime] => 1742052542
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1144
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.51999999999859
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30004.239999999852
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1144
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.51999999999859
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94222.05000001188
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052544
{"compaign_id":"36075","contact_id":"3029","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3029","uid":"u595","unique_id":"36075_3029_138-u595","ivrId":"3158","channelOTime":1742052514,"channelDTime":1742052543,"channelDuration":29,"cSTime":1742052528,"cETime":1742052543,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08777783905","server_ip":"118.185.137.196","insertTime":1742052543,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052517,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3029
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3029
            [uid] => u595
            [unique_id] => 36075_3029_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052514
            [channelDTime] => 1742052543
            [channelDuration] => 29
            [cSTime] => 1742052528
            [cETime] => 1742052543
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08777783905
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052543
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052517
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1146
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.67999999999859
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30004.079999999853
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1146
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.67999999999859
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94221.89000001187
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052544
{"compaign_id":"36075","contact_id":"3059","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3059","uid":"u595","unique_id":"36075_3059_138-u595","ivrId":"3158","channelOTime":1742052522,"channelDTime":1742052545,"channelDuration":23,"cSTime":1742052538,"cETime":1742052545,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09389951052","server_ip":"118.185.137.196","insertTime":1742052545,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052523,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3059
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3059
            [uid] => u595
            [unique_id] => 36075_3059_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052522
            [channelDTime] => 1742052545
            [channelDuration] => 23
            [cSTime] => 1742052538
            [cETime] => 1742052545
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09389951052
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052545
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052523
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1147
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.75999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30003.99999999985
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1147
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.75999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94221.81000001187
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052546
{"compaign_id":"36075","contact_id":"3081","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3081","uid":"u595","unique_id":"36075_3081_138-u595","ivrId":"3158","channelOTime":1742052526,"channelDTime":1742052545,"channelDuration":19,"cSTime":1742052536,"cETime":1742052545,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07990237508","server_ip":"118.185.137.196","insertTime":1742052545,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052529,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3081
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3081
            [uid] => u595
            [unique_id] => 36075_3081_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052526
            [channelDTime] => 1742052545
            [channelDuration] => 19
            [cSTime] => 1742052536
            [cETime] => 1742052545
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07990237508
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052545
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052529
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1148
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.83999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30003.91999999985
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1148
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.83999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94221.73000001187
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052547
{"compaign_id":"36075","contact_id":"3049","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3049","uid":"u595","unique_id":"36075_3049_138-u595","ivrId":"3158","channelOTime":1742052518,"channelDTime":1742052546,"channelDuration":28,"cSTime":1742052531,"cETime":1742052546,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08714856978","server_ip":"118.185.137.196","insertTime":1742052546,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052523,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3049
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3049
            [uid] => u595
            [unique_id] => 36075_3049_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052518
            [channelDTime] => 1742052546
            [channelDuration] => 28
            [cSTime] => 1742052531
            [cETime] => 1742052546
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08714856978
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052546
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052523
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1149
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.91999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30003.839999999847
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1149
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.91999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94221.65000001187
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052548
{"compaign_id":"36075","contact_id":"3019","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3019","uid":"u595","unique_id":"36075_3019_138-u595","ivrId":"3158","channelOTime":1742052512,"channelDTime":1742052547,"channelDuration":35,"cSTime":1742052523,"cETime":1742052547,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09575006877","server_ip":"118.185.137.196","insertTime":1742052547,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052513,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052523,"endTime":1742052547,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3019
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3019
            [uid] => u595
            [unique_id] => 36075_3019_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052512
            [channelDTime] => 1742052547
            [channelDuration] => 35
            [cSTime] => 1742052523
            [cETime] => 1742052547
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09575006877
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052547
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052513
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052523
                                    [endTime] => 1742052547
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1150
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.99999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30003.759999999846
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1150
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 91.99999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94221.57000001187
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052549
{"compaign_id":"36075","contact_id":"3014","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3014","uid":"u595","unique_id":"36075_3014_138-u595","ivrId":"3158","channelOTime":1742052511,"channelDTime":1742052547,"channelDuration":36,"cSTime":1742052524,"cETime":1742052547,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07099173532","server_ip":"118.185.137.196","insertTime":1742052547,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052513,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052524,"endTime":1742052547,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3014
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3014
            [uid] => u595
            [unique_id] => 36075_3014_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052511
            [channelDTime] => 1742052547
            [channelDuration] => 36
            [cSTime] => 1742052524
            [cETime] => 1742052547
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07099173532
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052547
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052513
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052524
                                    [endTime] => 1742052547
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1152
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.15999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30003.599999999846
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1152
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.15999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94221.41000001186
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052549
{"compaign_id":"36075","contact_id":"3060","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3060","uid":"u595","unique_id":"36075_3060_138-u595","ivrId":"3158","channelOTime":1742052522,"channelDTime":1742052547,"channelDuration":25,"cSTime":1742052524,"cETime":1742052547,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09818096388","server_ip":"118.185.137.196","insertTime":1742052547,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052523,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052524,"endTime":1742052547,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3060
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3060
            [uid] => u595
            [unique_id] => 36075_3060_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052522
            [channelDTime] => 1742052547
            [channelDuration] => 25
            [cSTime] => 1742052524
            [cETime] => 1742052547
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09818096388
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052547
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052523
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052524
                                    [endTime] => 1742052547
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1154
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.31999999999857
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30003.439999999846
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1154
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.31999999999857
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94221.25000001186
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052549
{"compaign_id":"36075","contact_id":"3040","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3040","uid":"u595","unique_id":"36075_3040_138-u595","ivrId":"3158","channelOTime":1742052516,"channelDTime":1742052549,"channelDuration":33,"cSTime":1742052539,"cETime":1742052549,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08788875290","server_ip":"118.185.137.196","insertTime":1742052549,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052520,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3040
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3040
            [uid] => u595
            [unique_id] => 36075_3040_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052516
            [channelDTime] => 1742052549
            [channelDuration] => 33
            [cSTime] => 1742052539
            [cETime] => 1742052549
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08788875290
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052549
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052520
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1156
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.47999999999857
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30003.279999999846
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1156
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.47999999999857
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94221.09000001186
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052550
{"compaign_id":"36075","contact_id":"3055","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3055","uid":"u595","unique_id":"36075_3055_138-u595","ivrId":"3158","channelOTime":1742052521,"channelDTime":1742052549,"channelDuration":28,"cSTime":1742052539,"cETime":1742052549,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09644862194","server_ip":"118.185.137.196","insertTime":1742052549,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052522,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3055
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3055
            [uid] => u595
            [unique_id] => 36075_3055_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052521
            [channelDTime] => 1742052549
            [channelDuration] => 28
            [cSTime] => 1742052539
            [cETime] => 1742052549
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09644862194
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052549
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052522
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1157
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.55999999999857
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30003.199999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1157
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.55999999999857
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94221.01000001185
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052551
{"compaign_id":"36075","contact_id":"3071","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3071","uid":"u595","unique_id":"36075_3071_138-u595","ivrId":"3158","channelOTime":1742052524,"channelDTime":1742052550,"channelDuration":26,"cSTime":1742052529,"cETime":1742052550,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07307061965","server_ip":"118.185.137.196","insertTime":1742052550,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052526,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3071
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3071
            [uid] => u595
            [unique_id] => 36075_3071_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052524
            [channelDTime] => 1742052550
            [channelDuration] => 26
            [cSTime] => 1742052529
            [cETime] => 1742052550
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07307061965
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052550
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052526
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1158
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.63999999999857
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30003.119999999843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1158
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.63999999999857
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94220.93000001185
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052551
{"compaign_id":"36075","contact_id":"3070","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3070","uid":"u595","unique_id":"36075_3070_138-u595","ivrId":"3158","channelOTime":1742052524,"channelDTime":1742052550,"channelDuration":26,"cSTime":1742052533,"cETime":1742052550,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09652717668","server_ip":"118.185.137.196","insertTime":1742052550,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052526,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3070
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3070
            [uid] => u595
            [unique_id] => 36075_3070_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052524
            [channelDTime] => 1742052550
            [channelDuration] => 26
            [cSTime] => 1742052533
            [cETime] => 1742052550
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09652717668
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052550
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052526
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1160
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.79999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30002.959999999843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1160
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.79999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94220.77000001185
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052552
{"compaign_id":"36075","contact_id":"3067","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3067","uid":"u595","unique_id":"36075_3067_138-u595","ivrId":"3158","channelOTime":1742052523,"channelDTime":1742052553,"channelDuration":30,"cSTime":1742052537,"cETime":1742052553,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08867721054","server_ip":"118.185.137.196","insertTime":1742052553,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052526,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3067
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3067
            [uid] => u595
            [unique_id] => 36075_3067_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052523
            [channelDTime] => 1742052553
            [channelDuration] => 30
            [cSTime] => 1742052537
            [cETime] => 1742052553
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08867721054
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052553
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052526
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1162
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.95999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30002.799999999843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1162
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 92.95999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94220.61000001185
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052554
{"compaign_id":"36075","contact_id":"3018","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3018","uid":"u595","unique_id":"36075_3018_138-u595","ivrId":"3158","channelOTime":1742052511,"channelDTime":1742052554,"channelDuration":43,"cSTime":1742052531,"cETime":1742052554,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09808246669","server_ip":"118.185.137.196","insertTime":1742052554,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052513,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052531,"endTime":1742052554,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3018
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3018
            [uid] => u595
            [unique_id] => 36075_3018_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052511
            [channelDTime] => 1742052554
            [channelDuration] => 43
            [cSTime] => 1742052531
            [cETime] => 1742052554
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09808246669
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052554
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052513
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052531
                                    [endTime] => 1742052554
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1164
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.11999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30002.639999999843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1164
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.11999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94220.45000001184
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052556
{"compaign_id":"36075","contact_id":"3044","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3044","uid":"u595","unique_id":"36075_3044_138-u595","ivrId":"3158","channelOTime":1742052517,"channelDTime":1742052554,"channelDuration":37,"cSTime":1742052532,"cETime":1742052554,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07054882319","server_ip":"118.185.137.196","insertTime":1742052554,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052521,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052532,"endTime":1742052556,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3044
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3044
            [uid] => u595
            [unique_id] => 36075_3044_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052517
            [channelDTime] => 1742052554
            [channelDuration] => 37
            [cSTime] => 1742052532
            [cETime] => 1742052554
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07054882319
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052554
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052521
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052532
                                    [endTime] => 1742052556
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1166
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.27999999999855
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30002.479999999843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1166
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.27999999999855
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94220.29000001184
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052556
{"compaign_id":"36075","contact_id":"3058","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3058","uid":"u595","unique_id":"36075_3058_138-u595","ivrId":"3158","channelOTime":1742052521,"channelDTime":1742052555,"channelDuration":34,"cSTime":1742052531,"cETime":1742052555,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08700033043","server_ip":"118.185.137.196","insertTime":1742052555,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052523,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052531,"endTime":1742052555,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3058
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3058
            [uid] => u595
            [unique_id] => 36075_3058_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052521
            [channelDTime] => 1742052555
            [channelDuration] => 34
            [cSTime] => 1742052531
            [cETime] => 1742052555
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08700033043
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052555
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052523
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052531
                                    [endTime] => 1742052555
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1168
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.43999999999855
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30002.319999999843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1168
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.43999999999855
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94220.13000001184
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052556
{"compaign_id":"36075","contact_id":"3074","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3074","uid":"u595","unique_id":"36075_3074_138-u595","ivrId":"3158","channelOTime":1742052525,"channelDTime":1742052557,"channelDuration":32,"cSTime":1742052533,"cETime":1742052557,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09575402905","server_ip":"118.185.137.196","insertTime":1742052557,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052527,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052533,"endTime":1742052557,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3074
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3074
            [uid] => u595
            [unique_id] => 36075_3074_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052525
            [channelDTime] => 1742052557
            [channelDuration] => 32
            [cSTime] => 1742052533
            [cETime] => 1742052557
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09575402905
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052557
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052527
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052533
                                    [endTime] => 1742052557
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1170
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.59999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30002.159999999843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1170
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.59999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94219.97000001183
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052558
{"compaign_id":"36075","contact_id":"3047","total_duration":"27","answer_duration":27,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3047","uid":"u595","unique_id":"36075_3047_138-u595","ivrId":"3158","channelOTime":1742052517,"channelDTime":1742052561,"channelDuration":44,"cSTime":1742052534,"cETime":1742052561,"cDuration":27,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09859950753","server_ip":"118.185.137.196","insertTime":1742052561,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052520,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052534,"endTime":1742052555,"duration":21}],"#3":[{"startTime":1742052555,"endTime":1742052561,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3047
    [total_duration] => 27
    [answer_duration] => 27
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3047
            [uid] => u595
            [unique_id] => 36075_3047_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052517
            [channelDTime] => 1742052561
            [channelDuration] => 44
            [cSTime] => 1742052534
            [cETime] => 1742052561
            [cDuration] => 27
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09859950753
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052561
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052520
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052534
                                    [endTime] => 1742052555
                                    [duration] => 21
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052555
                                    [endTime] => 1742052561
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1172
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.75999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30001.999999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1172
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.75999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94219.81000001183
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052563
{"compaign_id":"36075","contact_id":"3042","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3042","uid":"u595","unique_id":"36075_3042_138-u595","ivrId":"3158","channelOTime":1742052516,"channelDTime":1742052561,"channelDuration":45,"cSTime":1742052538,"cETime":1742052561,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08144643346","server_ip":"118.185.137.196","insertTime":1742052561,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052538,"endTime":1742052561,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3042
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3042
            [uid] => u595
            [unique_id] => 36075_3042_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052516
            [channelDTime] => 1742052561
            [channelDuration] => 45
            [cSTime] => 1742052538
            [cETime] => 1742052561
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08144643346
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052561
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052538
                                    [endTime] => 1742052561
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1174
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.91999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30001.839999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1174
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 93.91999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94219.65000001182
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052563
{"compaign_id":"36075","contact_id":"3046","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3046","uid":"u595","unique_id":"36075_3046_138-u595","ivrId":"3158","channelOTime":1742052517,"channelDTime":1742052564,"channelDuration":47,"cSTime":1742052540,"cETime":1742052564,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07720905191","server_ip":"118.185.137.196","insertTime":1742052564,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052520,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052540,"endTime":1742052564,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3046
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3046
            [uid] => u595
            [unique_id] => 36075_3046_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052517
            [channelDTime] => 1742052564
            [channelDuration] => 47
            [cSTime] => 1742052540
            [cETime] => 1742052564
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07720905191
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052564
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052520
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052540
                                    [endTime] => 1742052564
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1176
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.07999999999853
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30001.679999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1176
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.07999999999853
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94219.49000001182
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052565
{"compaign_id":"36075","contact_id":"3036","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3036","uid":"u595","unique_id":"36075_3036_138-u595","ivrId":"3158","channelOTime":1742052515,"channelDTime":1742052564,"channelDuration":49,"cSTime":1742052540,"cETime":1742052564,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09508657046","server_ip":"118.185.137.196","insertTime":1742052564,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052518,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052540,"endTime":1742052564,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3036
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3036
            [uid] => u595
            [unique_id] => 36075_3036_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052515
            [channelDTime] => 1742052564
            [channelDuration] => 49
            [cSTime] => 1742052540
            [cETime] => 1742052564
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09508657046
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052564
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052518
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052540
                                    [endTime] => 1742052564
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1178
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.23999999999853
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30001.519999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1178
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.23999999999853
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94219.33000001182
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052566
{"compaign_id":"36075","contact_id":"3085","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3085","uid":"u595","unique_id":"36075_3085_138-u595","ivrId":"3158","channelOTime":1742052527,"channelDTime":1742052566,"channelDuration":39,"cSTime":1742052556,"cETime":1742052566,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07978036603","server_ip":"118.185.137.196","insertTime":1742052566,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052529,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3085
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3085
            [uid] => u595
            [unique_id] => 36075_3085_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052527
            [channelDTime] => 1742052566
            [channelDuration] => 39
            [cSTime] => 1742052556
            [cETime] => 1742052566
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07978036603
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052566
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052529
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1180
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.39999999999853
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30001.359999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1180
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.39999999999853
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94219.17000001181
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052568
{"compaign_id":"36075","contact_id":"3111","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3111","uid":"u595","unique_id":"36075_3111_138-u595","ivrId":"3158","channelOTime":1742052550,"channelDTime":1742052568,"channelDuration":18,"cSTime":1742052566,"cETime":1742052568,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09804292275","server_ip":"118.185.137.196","insertTime":1742052568,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052552,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3111
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3111
            [uid] => u595
            [unique_id] => 36075_3111_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052550
            [channelDTime] => 1742052568
            [channelDuration] => 18
            [cSTime] => 1742052566
            [cETime] => 1742052568
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09804292275
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052568
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052552
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1181
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.47999999999853
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30001.279999999842
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1181
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.47999999999853
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94219.09000001181
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052569
{"compaign_id":"36075","contact_id":"3083","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3083","uid":"u595","unique_id":"36075_3083_138-u595","ivrId":"3158","channelOTime":1742052526,"channelDTime":1742052568,"channelDuration":42,"cSTime":1742052550,"cETime":1742052568,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08980370199","server_ip":"118.185.137.196","insertTime":1742052568,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052527,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3083
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3083
            [uid] => u595
            [unique_id] => 36075_3083_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052526
            [channelDTime] => 1742052568
            [channelDuration] => 42
            [cSTime] => 1742052550
            [cETime] => 1742052568
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08980370199
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052568
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052527
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1182
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.55999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30001.19999999984
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1182
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.55999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94219.01000001181
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052570
{"compaign_id":"36075","contact_id":"3093","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3093","uid":"u595","unique_id":"36075_3093_138-u595","ivrId":"3158","channelOTime":1742052528,"channelDTime":1742052569,"channelDuration":41,"cSTime":1742052545,"cETime":1742052569,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09390646898","server_ip":"118.185.137.196","insertTime":1742052569,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052531,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052545,"endTime":1742052569,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3093
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3093
            [uid] => u595
            [unique_id] => 36075_3093_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052528
            [channelDTime] => 1742052569
            [channelDuration] => 41
            [cSTime] => 1742052545
            [cETime] => 1742052569
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09390646898
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052569
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052531
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052545
                                    [endTime] => 1742052569
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1184
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.71999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30001.03999999984
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1184
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.71999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94218.85000001181
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052570
{"compaign_id":"36075","contact_id":"3148","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3148","uid":"u595","unique_id":"36075_3148_138-u595","ivrId":"3158","channelOTime":1742052557,"channelDTime":1742052569,"channelDuration":12,"cSTime":1742052565,"cETime":1742052569,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09573928686","server_ip":"118.185.137.196","insertTime":1742052569,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052559,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3148
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3148
            [uid] => u595
            [unique_id] => 36075_3148_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052557
            [channelDTime] => 1742052569
            [channelDuration] => 12
            [cSTime] => 1742052565
            [cETime] => 1742052569
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09573928686
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052569
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052559
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1186
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.87999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30000.87999999984
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1186
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.87999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94218.6900000118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052571
{"compaign_id":"36075","contact_id":"3132","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3132","uid":"u595","unique_id":"36075_3132_138-u595","ivrId":"3158","channelOTime":1742052554,"channelDTime":1742052570,"channelDuration":16,"cSTime":1742052563,"cETime":1742052570,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09513214185","server_ip":"118.185.137.196","insertTime":1742052570,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052556,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3132
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3132
            [uid] => u595
            [unique_id] => 36075_3132_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052554
            [channelDTime] => 1742052570
            [channelDuration] => 16
            [cSTime] => 1742052563
            [cETime] => 1742052570
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09513214185
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052570
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052556
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1187
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.95999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30000.79999999984
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1187
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 94.95999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94218.6100000118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052572
{"compaign_id":"36075","contact_id":"3120","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3120","uid":"u595","unique_id":"36075_3120_138-u595","ivrId":"3158","channelOTime":1742052552,"channelDTime":1742052575,"channelDuration":23,"cSTime":1742052560,"cETime":1742052575,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08651427851","server_ip":"118.185.137.196","insertTime":1742052575,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052554,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3120
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3120
            [uid] => u595
            [unique_id] => 36075_3120_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052552
            [channelDTime] => 1742052575
            [channelDuration] => 23
            [cSTime] => 1742052560
            [cETime] => 1742052575
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08651427851
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052575
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052554
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1188
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.03999999999851
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30000.719999999837
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1188
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.03999999999851
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94218.5300000118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052576
{"compaign_id":"36075","contact_id":"3110","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3110","uid":"u595","unique_id":"36075_3110_138-u595","ivrId":"3158","channelOTime":1742052550,"channelDTime":1742052575,"channelDuration":25,"cSTime":1742052570,"cETime":1742052575,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08787532113","server_ip":"118.185.137.196","insertTime":1742052575,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052555,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3110
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3110
            [uid] => u595
            [unique_id] => 36075_3110_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052550
            [channelDTime] => 1742052575
            [channelDuration] => 25
            [cSTime] => 1742052570
            [cETime] => 1742052575
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08787532113
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052575
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052555
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1189
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.11999999999851
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30000.639999999836
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1189
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.11999999999851
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94218.4500000118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052577
{"compaign_id":"36075","contact_id":"3140","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3140","uid":"u595","unique_id":"36075_3140_138-u595","ivrId":"3158","channelOTime":1742052556,"channelDTime":1742052576,"channelDuration":20,"cSTime":1742052571,"cETime":1742052576,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08120867784","server_ip":"118.185.137.196","insertTime":1742052576,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052557,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3140
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3140
            [uid] => u595
            [unique_id] => 36075_3140_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052556
            [channelDTime] => 1742052576
            [channelDuration] => 20
            [cSTime] => 1742052571
            [cETime] => 1742052576
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08120867784
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052576
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052557
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1190
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.19999999999851
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30000.559999999834
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1190
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.19999999999851
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94218.3700000118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052578
{"compaign_id":"36075","contact_id":"3115","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3115","uid":"u595","unique_id":"36075_3115_138-u595","ivrId":"3158","channelOTime":1742052551,"channelDTime":1742052580,"channelDuration":29,"cSTime":1742052572,"cETime":1742052580,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09606118087","server_ip":"118.185.137.196","insertTime":1742052580,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052553,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3115
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3115
            [uid] => u595
            [unique_id] => 36075_3115_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052551
            [channelDTime] => 1742052580
            [channelDuration] => 29
            [cSTime] => 1742052572
            [cETime] => 1742052580
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09606118087
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052580
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052553
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1191
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.27999999999851
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30000.479999999832
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1191
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.27999999999851
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94218.2900000118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052582
{"compaign_id":"36075","contact_id":"3123","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3123","uid":"u595","unique_id":"36075_3123_138-u595","ivrId":"3158","channelOTime":1742052552,"channelDTime":1742052587,"channelDuration":35,"cSTime":1742052563,"cETime":1742052587,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07349426261","server_ip":"118.185.137.196","insertTime":1742052587,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052554,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052563,"endTime":1742052581,"duration":18}],"#3":[{"startTime":1742052581,"endTime":1742052587,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3123
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3123
            [uid] => u595
            [unique_id] => 36075_3123_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052552
            [channelDTime] => 1742052587
            [channelDuration] => 35
            [cSTime] => 1742052563
            [cETime] => 1742052587
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07349426261
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052587
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052554
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052563
                                    [endTime] => 1742052581
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052581
                                    [endTime] => 1742052587
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1192
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.35999999999851
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30000.39999999983
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1192
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.35999999999851
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94218.2100000118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052589
{"compaign_id":"36075","contact_id":"3139","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3139","uid":"u595","unique_id":"36075_3139_138-u595","ivrId":"3158","channelOTime":1742052556,"channelDTime":1742052588,"channelDuration":32,"cSTime":1742052576,"cETime":1742052588,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08107126094","server_ip":"118.185.137.196","insertTime":1742052588,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052558,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3139
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3139
            [uid] => u595
            [unique_id] => 36075_3139_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052556
            [channelDTime] => 1742052588
            [channelDuration] => 32
            [cSTime] => 1742052576
            [cETime] => 1742052588
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08107126094
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052588
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052558
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1194
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.5199999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30000.23999999983
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1194
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.5199999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94218.05000001179
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052589
{"compaign_id":"36075","contact_id":"3149","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3149","uid":"u595","unique_id":"36075_3149_138-u595","ivrId":"3158","channelOTime":1742052558,"channelDTime":1742052590,"channelDuration":32,"cSTime":1742052567,"cETime":1742052590,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08318101464","server_ip":"118.185.137.196","insertTime":1742052590,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052560,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052567,"endTime":1742052590,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3149
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3149
            [uid] => u595
            [unique_id] => 36075_3149_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052558
            [channelDTime] => 1742052590
            [channelDuration] => 32
            [cSTime] => 1742052567
            [cETime] => 1742052590
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08318101464
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052590
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052560
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052567
                                    [endTime] => 1742052590
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1195
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.5999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 30000.15999999983
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1195
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.5999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94217.97000001179
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052592
{"compaign_id":"36075","contact_id":"3154","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3154","uid":"u595","unique_id":"36075_3154_138-u595","ivrId":"3158","channelOTime":1742052582,"channelDTime":1742052595,"channelDuration":13,"cSTime":1742052593,"cETime":1742052595,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09347718875","server_ip":"118.185.137.196","insertTime":1742052595,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052584,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3154
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3154
            [uid] => u595
            [unique_id] => 36075_3154_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052582
            [channelDTime] => 1742052595
            [channelDuration] => 13
            [cSTime] => 1742052593
            [cETime] => 1742052595
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09347718875
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052595
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052584
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1197
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.7599999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29999.99999999983
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1197
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.7599999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94217.81000001178
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052597
{"compaign_id":"36075","contact_id":"3102","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3102","uid":"u595","unique_id":"36075_3102_138-u595","ivrId":"3158","channelOTime":1742052548,"channelDTime":1742052595,"channelDuration":47,"cSTime":1742052572,"cETime":1742052595,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07489050886","server_ip":"118.185.137.196","insertTime":1742052595,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052550,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052572,"endTime":1742052595,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3102
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3102
            [uid] => u595
            [unique_id] => 36075_3102_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052548
            [channelDTime] => 1742052595
            [channelDuration] => 47
            [cSTime] => 1742052572
            [cETime] => 1742052595
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07489050886
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052595
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052550
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052572
                                    [endTime] => 1742052595
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1198
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.8399999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29999.919999999827
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1198
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.8399999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94217.73000001178
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052597
{"compaign_id":"36075","contact_id":"3159","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3159","uid":"u595","unique_id":"36075_3159_138-u595","ivrId":"3158","channelOTime":1742052583,"channelDTime":1742052597,"channelDuration":14,"cSTime":1742052594,"cETime":1742052597,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08604712115","server_ip":"118.185.137.196","insertTime":1742052597,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052585,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3159
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3159
            [uid] => u595
            [unique_id] => 36075_3159_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052583
            [channelDTime] => 1742052597
            [channelDuration] => 14
            [cSTime] => 1742052594
            [cETime] => 1742052597
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08604712115
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052597
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052585
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1200
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.9999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29999.759999999827
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1200
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 95.9999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94217.57000001178
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052599
{"compaign_id":"36075","contact_id":"3172","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3172","uid":"u595","unique_id":"36075_3172_138-u595","ivrId":"3158","channelOTime":1742052585,"channelDTime":1742052598,"channelDuration":13,"cSTime":1742052594,"cETime":1742052598,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07827647491","server_ip":"118.185.137.196","insertTime":1742052598,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052588,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3172
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3172
            [uid] => u595
            [unique_id] => 36075_3172_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052585
            [channelDTime] => 1742052598
            [channelDuration] => 13
            [cSTime] => 1742052594
            [cETime] => 1742052598
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07827647491
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052598
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052588
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1201
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.07999999999849
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29999.679999999826
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1201
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.07999999999849
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94217.49000001178
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052600
{"compaign_id":"36075","contact_id":"3169","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3169","uid":"u595","unique_id":"36075_3169_138-u595","ivrId":"3158","channelOTime":1742052585,"channelDTime":1742052600,"channelDuration":15,"cSTime":1742052597,"cETime":1742052600,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07003034386","server_ip":"118.185.137.196","insertTime":1742052600,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052587,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3169
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3169
            [uid] => u595
            [unique_id] => 36075_3169_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052585
            [channelDTime] => 1742052600
            [channelDuration] => 15
            [cSTime] => 1742052597
            [cETime] => 1742052600
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07003034386
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052600
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052587
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1202
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.15999999999849
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29999.599999999824
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1202
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.15999999999849
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94217.41000001178
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052601
{"compaign_id":"36075","contact_id":"3196","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3196","uid":"u595","unique_id":"36075_3196_138-u595","ivrId":"3158","channelOTime":1742052590,"channelDTime":1742052601,"channelDuration":11,"cSTime":1742052597,"cETime":1742052601,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09167656626","server_ip":"118.185.137.196","insertTime":1742052601,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052592,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3196
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3196
            [uid] => u595
            [unique_id] => 36075_3196_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052590
            [channelDTime] => 1742052601
            [channelDuration] => 11
            [cSTime] => 1742052597
            [cETime] => 1742052601
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09167656626
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052601
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052592
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1203
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.23999999999849
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29999.519999999822
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1203
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.23999999999849
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 94217.33000001177
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052602
2025-03-15 21:00:03[LOG]Starting Cron
2025-03-15 21:00:03[LOG]Process is already running
{"compaign_id":"36075","contact_id":"3147","total_duration":"27","answer_duration":27,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3147","uid":"u595","unique_id":"36075_3147_138-u595","ivrId":"3158","channelOTime":1742052557,"channelDTime":1742052601,"channelDuration":44,"cSTime":1742052574,"cETime":1742052601,"cDuration":27,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09728111033","server_ip":"118.185.137.196","insertTime":1742052601,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052559,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052574,"endTime":1742052595,"duration":21}],"#3":[{"startTime":1742052595,"endTime":1742052601,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3147
    [total_duration] => 27
    [answer_duration] => 27
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3147
            [uid] => u595
            [unique_id] => 36075_3147_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052557
            [channelDTime] => 1742052601
            [channelDuration] => 44
            [cSTime] => 1742052574
            [cETime] => 1742052601
            [cDuration] => 27
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09728111033
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052601
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052559
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052574
                                    [endTime] => 1742052595
                                    [duration] => 21
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052595
                                    [endTime] => 1742052601
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1204
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.31999999999849
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29999.43999999982
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1204
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.31999999999849
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96273.37000001177
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052603
{"compaign_id":"36075","contact_id":"3127","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3127","uid":"u595","unique_id":"36075_3127_138-u595","ivrId":"3158","channelOTime":1742052553,"channelDTime":1742052602,"channelDuration":49,"cSTime":1742052579,"cETime":1742052602,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07549727877","server_ip":"118.185.137.196","insertTime":1742052602,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052572,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052579,"endTime":1742052602,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3127
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3127
            [uid] => u595
            [unique_id] => 36075_3127_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052553
            [channelDTime] => 1742052602
            [channelDuration] => 49
            [cSTime] => 1742052579
            [cETime] => 1742052602
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07549727877
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052602
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052572
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052579
                                    [endTime] => 1742052602
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1206
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.47999999999848
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29999.27999999982
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1206
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.47999999999848
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96273.21000001176
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052604
{"compaign_id":"36075","contact_id":"3168","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3168","uid":"u595","unique_id":"36075_3168_138-u595","ivrId":"3158","channelOTime":1742052585,"channelDTime":1742052604,"channelDuration":19,"cSTime":1742052596,"cETime":1742052604,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09660322950","server_ip":"118.185.137.196","insertTime":1742052604,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052586,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3168
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3168
            [uid] => u595
            [unique_id] => 36075_3168_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052585
            [channelDTime] => 1742052604
            [channelDuration] => 19
            [cSTime] => 1742052596
            [cETime] => 1742052604
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09660322950
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052604
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052586
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1208
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.63999999999848
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29999.11999999982
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1208
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.63999999999848
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96273.05000001176
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052606
{"compaign_id":"36075","contact_id":"3155","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3155","uid":"u595","unique_id":"36075_3155_138-u595","ivrId":"3158","channelOTime":1742052582,"channelDTime":1742052607,"channelDuration":25,"cSTime":1742052591,"cETime":1742052607,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09161719391","server_ip":"118.185.137.196","insertTime":1742052607,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052584,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3155
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3155
            [uid] => u595
            [unique_id] => 36075_3155_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052582
            [channelDTime] => 1742052607
            [channelDuration] => 25
            [cSTime] => 1742052591
            [cETime] => 1742052607
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09161719391
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052607
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052584
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1209
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.71999999999848
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29999.03999999982
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1209
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.71999999999848
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96272.97000001176
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052609
{"compaign_id":"36075","contact_id":"3197","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3197","uid":"u595","unique_id":"36075_3197_138-u595","ivrId":"3158","channelOTime":1742052590,"channelDTime":1742052609,"channelDuration":19,"cSTime":1742052602,"cETime":1742052609,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09907918777","server_ip":"118.185.137.196","insertTime":1742052609,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052592,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3197
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3197
            [uid] => u595
            [unique_id] => 36075_3197_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052590
            [channelDTime] => 1742052609
            [channelDuration] => 19
            [cSTime] => 1742052602
            [cETime] => 1742052609
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09907918777
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052609
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052592
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1211
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.87999999999847
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29998.87999999982
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1211
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.87999999999847
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96272.81000001176
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052611
{"compaign_id":"36075","contact_id":"3166","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3166","uid":"u595","unique_id":"36075_3166_138-u595","ivrId":"3158","channelOTime":1742052584,"channelDTime":1742052610,"channelDuration":26,"cSTime":1742052594,"cETime":1742052610,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09703818489","server_ip":"118.185.137.196","insertTime":1742052610,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052586,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3166
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3166
            [uid] => u595
            [unique_id] => 36075_3166_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052584
            [channelDTime] => 1742052610
            [channelDuration] => 26
            [cSTime] => 1742052594
            [cETime] => 1742052610
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09703818489
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052610
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052586
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1212
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.95999999999847
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29998.799999999817
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1212
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 96.95999999999847
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96272.73000001175
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052611
{"compaign_id":"36075","contact_id":"3160","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3160","uid":"u595","unique_id":"36075_3160_138-u595","ivrId":"3158","channelOTime":1742052583,"channelDTime":1742052610,"channelDuration":27,"cSTime":1742052593,"cETime":1742052610,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08238762866","server_ip":"118.185.137.196","insertTime":1742052610,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052585,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3160
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3160
            [uid] => u595
            [unique_id] => 36075_3160_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052583
            [channelDTime] => 1742052610
            [channelDuration] => 27
            [cSTime] => 1742052593
            [cETime] => 1742052610
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08238762866
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052610
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052585
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1214
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.11999999999847
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29998.639999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1214
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.11999999999847
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96272.57000001175
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052612
{"compaign_id":"36075","contact_id":"3164","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3164","uid":"u595","unique_id":"36075_3164_138-u595","ivrId":"3158","channelOTime":1742052584,"channelDTime":1742052610,"channelDuration":26,"cSTime":1742052592,"cETime":1742052610,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06381958245","server_ip":"118.185.137.196","insertTime":1742052610,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052585,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3164
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3164
            [uid] => u595
            [unique_id] => 36075_3164_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052584
            [channelDTime] => 1742052610
            [channelDuration] => 26
            [cSTime] => 1742052592
            [cETime] => 1742052610
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06381958245
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052610
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052585
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1216
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.27999999999847
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29998.479999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1216
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.27999999999847
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96272.41000001175
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052612
{"compaign_id":"36075","contact_id":"3193","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3193","uid":"u595","unique_id":"36075_3193_138-u595","ivrId":"3158","channelOTime":1742052590,"channelDTime":1742052610,"channelDuration":20,"cSTime":1742052605,"cETime":1742052610,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09358605054","server_ip":"118.185.137.196","insertTime":1742052610,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052592,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3193
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3193
            [uid] => u595
            [unique_id] => 36075_3193_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052590
            [channelDTime] => 1742052610
            [channelDuration] => 20
            [cSTime] => 1742052605
            [cETime] => 1742052610
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09358605054
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052610
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052592
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1218
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.43999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29998.319999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1218
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.43999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96272.25000001174
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052612
{"compaign_id":"36075","contact_id":"3180","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3180","uid":"u595","unique_id":"36075_3180_138-u595","ivrId":"3158","channelOTime":1742052587,"channelDTime":1742052612,"channelDuration":25,"cSTime":1742052601,"cETime":1742052612,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09906436597","server_ip":"118.185.137.196","insertTime":1742052612,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052591,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3180
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3180
            [uid] => u595
            [unique_id] => 36075_3180_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052587
            [channelDTime] => 1742052612
            [channelDuration] => 25
            [cSTime] => 1742052601
            [cETime] => 1742052612
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09906436597
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052612
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052591
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1219
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.51999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29998.239999999816
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1219
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.51999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96272.17000001174
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052613
{"compaign_id":"36075","contact_id":"3184","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3184","uid":"u595","unique_id":"36075_3184_138-u595","ivrId":"3158","channelOTime":1742052588,"channelDTime":1742052614,"channelDuration":26,"cSTime":1742052599,"cETime":1742052614,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09730323953","server_ip":"118.185.137.196","insertTime":1742052614,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052590,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3184
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3184
            [uid] => u595
            [unique_id] => 36075_3184_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052588
            [channelDTime] => 1742052614
            [channelDuration] => 26
            [cSTime] => 1742052599
            [cETime] => 1742052614
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09730323953
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052614
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052590
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1220
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.59999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29998.159999999814
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1220
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.59999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96272.09000001174
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052616
{"compaign_id":"36075","contact_id":"3165","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3165","uid":"u595","unique_id":"36075_3165_138-u595","ivrId":"3158","channelOTime":1742052584,"channelDTime":1742052618,"channelDuration":34,"cSTime":1742052595,"cETime":1742052618,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09981229854","server_ip":"118.185.137.196","insertTime":1742052618,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052586,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052595,"endTime":1742052618,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3165
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3165
            [uid] => u595
            [unique_id] => 36075_3165_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052584
            [channelDTime] => 1742052618
            [channelDuration] => 34
            [cSTime] => 1742052595
            [cETime] => 1742052618
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09981229854
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052618
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052586
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052595
                                    [endTime] => 1742052618
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1221
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.67999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29998.079999999813
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1221
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.67999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96272.01000001174
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052620
{"compaign_id":"36075","contact_id":"3182","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3182","uid":"u595","unique_id":"36075_3182_138-u595","ivrId":"3158","channelOTime":1742052587,"channelDTime":1742052619,"channelDuration":32,"cSTime":1742052603,"cETime":1742052619,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08605159779","server_ip":"118.185.137.196","insertTime":1742052619,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052590,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3182
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3182
            [uid] => u595
            [unique_id] => 36075_3182_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052587
            [channelDTime] => 1742052619
            [channelDuration] => 32
            [cSTime] => 1742052603
            [cETime] => 1742052619
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08605159779
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052619
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052590
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1223
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.83999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29997.919999999813
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1223
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.83999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96271.85000001173
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052620
{"compaign_id":"36075","contact_id":"3179","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3179","uid":"u595","unique_id":"36075_3179_138-u595","ivrId":"3158","channelOTime":1742052587,"channelDTime":1742052629,"channelDuration":42,"cSTime":1742052617,"cETime":1742052629,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08420608706","server_ip":"118.185.137.196","insertTime":1742052629,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052591,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3179
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3179
            [uid] => u595
            [unique_id] => 36075_3179_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052587
            [channelDTime] => 1742052629
            [channelDuration] => 42
            [cSTime] => 1742052617
            [cETime] => 1742052629
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08420608706
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052629
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052591
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1225
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.99999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29997.759999999813
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1225
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 97.99999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96271.69000001173
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052631
{"compaign_id":"36075","contact_id":"3198","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3198","uid":"u595","unique_id":"36075_3198_138-u595","ivrId":"3158","channelOTime":1742052591,"channelDTime":1742052641,"channelDuration":50,"cSTime":1742052617,"cETime":1742052641,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09633338558","server_ip":"118.185.137.196","insertTime":1742052641,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052594,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052617,"endTime":1742052641,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3198
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3198
            [uid] => u595
            [unique_id] => 36075_3198_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052591
            [channelDTime] => 1742052641
            [channelDuration] => 50
            [cSTime] => 1742052617
            [cETime] => 1742052641
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09633338558
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052641
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052594
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052617
                                    [endTime] => 1742052641
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1226
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.07999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29997.67999999981
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1226
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.07999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96271.61000001173
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052642
2025-03-15 21:01:02[LOG]Starting Cron
2025-03-15 21:01:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"3210","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3210","uid":"u595","unique_id":"36075_3210_138-u595","ivrId":"3158","channelOTime":1742052678,"channelDTime":1742052685,"channelDuration":7,"cSTime":1742052683,"cETime":1742052685,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09637073971","server_ip":"118.185.137.196","insertTime":1742052685,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052679,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3210
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3210
            [uid] => u595
            [unique_id] => 36075_3210_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052678
            [channelDTime] => 1742052685
            [channelDuration] => 7
            [cSTime] => 1742052683
            [cETime] => 1742052685
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09637073971
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052685
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052679
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1228
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.23999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29997.51999999981
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1228
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.23999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96271.45000001173
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052687
{"compaign_id":"36075","contact_id":"3205","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3205","uid":"u595","unique_id":"36075_3205_138-u595","ivrId":"3158","channelOTime":1742052677,"channelDTime":1742052689,"channelDuration":12,"cSTime":1742052681,"cETime":1742052689,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08807438412","server_ip":"118.185.137.196","insertTime":1742052689,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052679,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3205
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3205
            [uid] => u595
            [unique_id] => 36075_3205_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052677
            [channelDTime] => 1742052689
            [channelDuration] => 12
            [cSTime] => 1742052681
            [cETime] => 1742052689
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08807438412
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052689
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052679
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1229
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.31999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29997.43999999981
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1229
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.31999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96271.37000001172
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052691
{"compaign_id":"36075","contact_id":"3211","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3211","uid":"u595","unique_id":"36075_3211_138-u595","ivrId":"3158","channelOTime":1742052678,"channelDTime":1742052689,"channelDuration":11,"cSTime":1742052682,"cETime":1742052689,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07894155455","server_ip":"118.185.137.196","insertTime":1742052689,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052680,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3211
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3211
            [uid] => u595
            [unique_id] => 36075_3211_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052678
            [channelDTime] => 1742052689
            [channelDuration] => 11
            [cSTime] => 1742052682
            [cETime] => 1742052689
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07894155455
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052689
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052680
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1230
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.39999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29997.359999999808
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1230
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.39999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96271.29000001172
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052691
{"compaign_id":"36075","contact_id":"3207","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3207","uid":"u595","unique_id":"36075_3207_138-u595","ivrId":"3158","channelOTime":1742052677,"channelDTime":1742052697,"channelDuration":20,"cSTime":1742052690,"cETime":1742052697,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09910207963","server_ip":"118.185.137.196","insertTime":1742052697,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052679,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3207
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3207
            [uid] => u595
            [unique_id] => 36075_3207_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052677
            [channelDTime] => 1742052697
            [channelDuration] => 20
            [cSTime] => 1742052690
            [cETime] => 1742052697
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09910207963
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052697
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052679
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1231
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.47999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29997.279999999806
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1231
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.47999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96271.21000001172
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052699
{"compaign_id":"36075","contact_id":"3229","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3229","uid":"u595","unique_id":"36075_3229_138-u595","ivrId":"3158","channelOTime":1742052682,"channelDTime":1742052700,"channelDuration":18,"cSTime":1742052685,"cETime":1742052700,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09588019776","server_ip":"118.185.137.196","insertTime":1742052700,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052682,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3229
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3229
            [uid] => u595
            [unique_id] => 36075_3229_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052682
            [channelDTime] => 1742052700
            [channelDuration] => 18
            [cSTime] => 1742052685
            [cETime] => 1742052700
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09588019776
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052700
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052682
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1232
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.55999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29997.199999999804
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1232
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.55999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96271.13000001172
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052701
{"compaign_id":"36075","contact_id":"3241","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3241","uid":"u595","unique_id":"36075_3241_138-u595","ivrId":"3158","channelOTime":1742052684,"channelDTime":1742052702,"channelDuration":18,"cSTime":1742052693,"cETime":1742052702,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09711758692","server_ip":"118.185.137.196","insertTime":1742052702,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052689,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3241
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3241
            [uid] => u595
            [unique_id] => 36075_3241_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052684
            [channelDTime] => 1742052702
            [channelDuration] => 18
            [cSTime] => 1742052693
            [cETime] => 1742052702
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09711758692
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052702
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052689
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1233
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.63999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29997.119999999803
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1233
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.63999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96271.05000001172
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052703
{"compaign_id":"36075","contact_id":"3273","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3273","uid":"u595","unique_id":"36075_3273_138-u595","ivrId":"3158","channelOTime":1742052692,"channelDTime":1742052706,"channelDuration":14,"cSTime":1742052700,"cETime":1742052706,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07087472068","server_ip":"118.185.137.196","insertTime":1742052706,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052694,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3273
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3273
            [uid] => u595
            [unique_id] => 36075_3273_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052692
            [channelDTime] => 1742052706
            [channelDuration] => 14
            [cSTime] => 1742052700
            [cETime] => 1742052706
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07087472068
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052706
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052694
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1234
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.71999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29997.0399999998
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1234
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.71999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96270.97000001172
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052707
{"compaign_id":"36075","contact_id":"3250","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3250","uid":"u595","unique_id":"36075_3250_138-u595","ivrId":"3158","channelOTime":1742052688,"channelDTime":1742052706,"channelDuration":18,"cSTime":1742052703,"cETime":1742052706,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09631704380","server_ip":"118.185.137.196","insertTime":1742052706,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052690,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3250
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3250
            [uid] => u595
            [unique_id] => 36075_3250_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052688
            [channelDTime] => 1742052706
            [channelDuration] => 18
            [cSTime] => 1742052703
            [cETime] => 1742052706
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09631704380
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052706
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052690
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1235
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.79999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29996.9599999998
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1235
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.79999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96270.89000001171
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052708
{"compaign_id":"36075","contact_id":"3248","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3248","uid":"u595","unique_id":"36075_3248_138-u595","ivrId":"3158","channelOTime":1742052685,"channelDTime":1742052707,"channelDuration":22,"cSTime":1742052704,"cETime":1742052707,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07657980682","server_ip":"118.185.137.196","insertTime":1742052707,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052688,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3248
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3248
            [uid] => u595
            [unique_id] => 36075_3248_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052685
            [channelDTime] => 1742052707
            [channelDuration] => 22
            [cSTime] => 1742052704
            [cETime] => 1742052707
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07657980682
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052707
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052688
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1236
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.87999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29996.879999999797
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1236
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.87999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96270.81000001171
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052709
{"compaign_id":"36075","contact_id":"3228","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3228","uid":"u595","unique_id":"36075_3228_138-u595","ivrId":"3158","channelOTime":1742052681,"channelDTime":1742052707,"channelDuration":26,"cSTime":1742052696,"cETime":1742052707,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09395569207","server_ip":"118.185.137.196","insertTime":1742052707,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052683,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3228
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3228
            [uid] => u595
            [unique_id] => 36075_3228_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052681
            [channelDTime] => 1742052707
            [channelDuration] => 26
            [cSTime] => 1742052696
            [cETime] => 1742052707
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09395569207
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052707
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052683
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1237
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.95999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29996.799999999796
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1237
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 98.95999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96270.73000001171
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052709
{"compaign_id":"36075","contact_id":"3221","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3221","uid":"u595","unique_id":"36075_3221_138-u595","ivrId":"3158","channelOTime":1742052680,"channelDTime":1742052711,"channelDuration":31,"cSTime":1742052696,"cETime":1742052711,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09764147959","server_ip":"118.185.137.196","insertTime":1742052711,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052682,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3221
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3221
            [uid] => u595
            [unique_id] => 36075_3221_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052680
            [channelDTime] => 1742052711
            [channelDuration] => 31
            [cSTime] => 1742052696
            [cETime] => 1742052711
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09764147959
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052711
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052682
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1238
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.03999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29996.719999999794
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1238
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.03999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96270.65000001171
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052713
{"compaign_id":"36075","contact_id":"3260","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3260","uid":"u595","unique_id":"36075_3260_138-u595","ivrId":"3158","channelOTime":1742052690,"channelDTime":1742052712,"channelDuration":22,"cSTime":1742052707,"cETime":1742052712,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08220559587","server_ip":"118.185.137.196","insertTime":1742052712,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052692,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3260
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3260
            [uid] => u595
            [unique_id] => 36075_3260_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052690
            [channelDTime] => 1742052712
            [channelDuration] => 22
            [cSTime] => 1742052707
            [cETime] => 1742052712
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08220559587
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052712
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052692
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1239
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.11999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29996.639999999792
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1239
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.11999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96270.5700000117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052714
{"compaign_id":"36075","contact_id":"3226","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3226","uid":"u595","unique_id":"36075_3226_138-u595","ivrId":"3158","channelOTime":1742052681,"channelDTime":1742052712,"channelDuration":31,"cSTime":1742052696,"cETime":1742052712,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06306877283","server_ip":"118.185.137.196","insertTime":1742052712,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052686,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3226
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3226
            [uid] => u595
            [unique_id] => 36075_3226_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052681
            [channelDTime] => 1742052712
            [channelDuration] => 31
            [cSTime] => 1742052696
            [cETime] => 1742052712
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06306877283
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052712
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052686
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1240
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.19999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29996.55999999979
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1240
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.19999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96270.4900000117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052714
{"compaign_id":"36075","contact_id":"3284","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3284","uid":"u595","unique_id":"36075_3284_138-u595","ivrId":"3158","channelOTime":1742052695,"channelDTime":1742052716,"channelDuration":21,"cSTime":1742052703,"cETime":1742052716,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08448747493","server_ip":"118.185.137.196","insertTime":1742052716,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052697,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3284
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3284
            [uid] => u595
            [unique_id] => 36075_3284_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052695
            [channelDTime] => 1742052716
            [channelDuration] => 21
            [cSTime] => 1742052703
            [cETime] => 1742052716
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08448747493
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052716
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052697
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1242
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.35999999999842
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29996.39999999979
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1242
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.35999999999842
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96270.3300000117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052717
{"compaign_id":"36075","contact_id":"3281","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3281","uid":"u595","unique_id":"36075_3281_138-u595","ivrId":"3158","channelOTime":1742052694,"channelDTime":1742052717,"channelDuration":23,"cSTime":1742052714,"cETime":1742052717,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08603522748","server_ip":"118.185.137.196","insertTime":1742052717,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052696,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3281
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3281
            [uid] => u595
            [unique_id] => 36075_3281_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052694
            [channelDTime] => 1742052717
            [channelDuration] => 23
            [cSTime] => 1742052714
            [cETime] => 1742052717
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08603522748
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052717
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052696
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1243
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.43999999999842
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29996.31999999979
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1243
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.43999999999842
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96270.2500000117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052719
{"compaign_id":"36075","contact_id":"3202","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3202","uid":"u595","unique_id":"36075_3202_138-u595","ivrId":"3158","channelOTime":1742052676,"channelDTime":1742052718,"channelDuration":42,"cSTime":1742052694,"cETime":1742052718,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08638923011","server_ip":"118.185.137.196","insertTime":1742052718,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052678,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052694,"endTime":1742052718,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3202
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3202
            [uid] => u595
            [unique_id] => 36075_3202_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052676
            [channelDTime] => 1742052718
            [channelDuration] => 42
            [cSTime] => 1742052694
            [cETime] => 1742052718
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08638923011
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052718
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052678
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052694
                                    [endTime] => 1742052718
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1244
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.51999999999842
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29996.239999999787
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1244
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.51999999999842
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96270.1700000117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052719
2025-03-15 21:02:01[LOG]Starting Cron
2025-03-15 21:02:01[LOG]Process is already running
{"compaign_id":"36075","contact_id":"3288","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3288","uid":"u595","unique_id":"36075_3288_138-u595","ivrId":"3158","channelOTime":1742052695,"channelDTime":1742052720,"channelDuration":25,"cSTime":1742052706,"cETime":1742052720,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09625460508","server_ip":"118.185.137.196","insertTime":1742052720,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052698,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3288
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3288
            [uid] => u595
            [unique_id] => 36075_3288_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052695
            [channelDTime] => 1742052720
            [channelDuration] => 25
            [cSTime] => 1742052706
            [cETime] => 1742052720
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09625460508
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052720
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052698
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1246
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.67999999999842
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29996.079999999787
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1246
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.67999999999842
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96270.0100000117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052722
{"compaign_id":"36075","contact_id":"3323","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3323","uid":"u595","unique_id":"36075_3323_138-u595","ivrId":"3158","channelOTime":1742052710,"channelDTime":1742052720,"channelDuration":10,"cSTime":1742052716,"cETime":1742052720,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08431487209","server_ip":"118.185.137.196","insertTime":1742052720,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052711,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3323
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3323
            [uid] => u595
            [unique_id] => 36075_3323_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052710
            [channelDTime] => 1742052720
            [channelDuration] => 10
            [cSTime] => 1742052716
            [cETime] => 1742052720
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08431487209
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052720
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052711
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1247
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.75999999999841
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29995.999999999785
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1247
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.75999999999841
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96269.9300000117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052722
{"compaign_id":"36075","contact_id":"3289","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3289","uid":"u595","unique_id":"36075_3289_138-u595","ivrId":"3158","channelOTime":1742052696,"channelDTime":1742052720,"channelDuration":24,"cSTime":1742052712,"cETime":1742052720,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09028245387","server_ip":"118.185.137.196","insertTime":1742052720,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052698,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3289
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3289
            [uid] => u595
            [unique_id] => 36075_3289_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052696
            [channelDTime] => 1742052720
            [channelDuration] => 24
            [cSTime] => 1742052712
            [cETime] => 1742052720
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09028245387
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052720
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052698
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1248
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.83999999999841
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29995.919999999784
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1248
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.83999999999841
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96269.85000001169
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052722
{"compaign_id":"36075","contact_id":"3276","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3276","uid":"u595","unique_id":"36075_3276_138-u595","ivrId":"3158","channelOTime":1742052693,"channelDTime":1742052720,"channelDuration":27,"cSTime":1742052710,"cETime":1742052720,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09899344291","server_ip":"118.185.137.196","insertTime":1742052720,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052694,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3276
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3276
            [uid] => u595
            [unique_id] => 36075_3276_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052693
            [channelDTime] => 1742052720
            [channelDuration] => 27
            [cSTime] => 1742052710
            [cETime] => 1742052720
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09899344291
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052720
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052694
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1249
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.91999999999841
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29995.839999999782
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1249
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.91999999999841
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96269.77000001169
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052722
{"compaign_id":"36075","contact_id":"3258","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3258","uid":"u595","unique_id":"36075_3258_138-u595","ivrId":"3158","channelOTime":1742052689,"channelDTime":1742052721,"channelDuration":32,"cSTime":1742052698,"cETime":1742052721,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09972237264","server_ip":"118.185.137.196","insertTime":1742052721,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052691,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052698,"endTime":1742052721,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3258
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3258
            [uid] => u595
            [unique_id] => 36075_3258_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052689
            [channelDTime] => 1742052721
            [channelDuration] => 32
            [cSTime] => 1742052698
            [cETime] => 1742052721
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09972237264
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052721
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052691
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052698
                                    [endTime] => 1742052721
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1250
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.99999999999841
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29995.75999999978
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1250
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 99.99999999999841
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96269.69000001169
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052723
{"compaign_id":"36075","contact_id":"3327","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3327","uid":"u595","unique_id":"36075_3327_138-u595","ivrId":"3158","channelOTime":1742052711,"channelDTime":1742052722,"channelDuration":11,"cSTime":1742052717,"cETime":1742052722,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09101369917","server_ip":"118.185.137.196","insertTime":1742052722,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052712,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3327
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3327
            [uid] => u595
            [unique_id] => 36075_3327_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052711
            [channelDTime] => 1742052722
            [channelDuration] => 11
            [cSTime] => 1742052717
            [cETime] => 1742052722
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09101369917
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052722
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052712
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1252
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.1599999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29995.59999999978
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1252
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.1599999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96269.53000001168
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052723
{"compaign_id":"36075","contact_id":"3262","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3262","uid":"u595","unique_id":"36075_3262_138-u595","ivrId":"3158","channelOTime":1742052690,"channelDTime":1742052723,"channelDuration":33,"cSTime":1742052699,"cETime":1742052723,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07995181086","server_ip":"118.185.137.196","insertTime":1742052723,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052692,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052699,"endTime":1742052723,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3262
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3262
            [uid] => u595
            [unique_id] => 36075_3262_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052690
            [channelDTime] => 1742052723
            [channelDuration] => 33
            [cSTime] => 1742052699
            [cETime] => 1742052723
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07995181086
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052723
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052692
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052699
                                    [endTime] => 1742052723
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1253
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.2399999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29995.51999999978
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1253
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.2399999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96269.45000001168
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052724
{"compaign_id":"36075","contact_id":"3257","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3257","uid":"u595","unique_id":"36075_3257_138-u595","ivrId":"3158","channelOTime":1742052689,"channelDTime":1742052723,"channelDuration":34,"cSTime":1742052700,"cETime":1742052723,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07007588543","server_ip":"118.185.137.196","insertTime":1742052723,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052694,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052700,"endTime":1742052723,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3257
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3257
            [uid] => u595
            [unique_id] => 36075_3257_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052689
            [channelDTime] => 1742052723
            [channelDuration] => 34
            [cSTime] => 1742052700
            [cETime] => 1742052723
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07007588543
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052723
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052694
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052700
                                    [endTime] => 1742052723
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1255
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.3999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29995.35999999978
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1255
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.3999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96269.29000001168
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052725
{"compaign_id":"36075","contact_id":"3301","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3301","uid":"u595","unique_id":"36075_3301_138-u595","ivrId":"3158","channelOTime":1742052705,"channelDTime":1742052725,"channelDuration":20,"cSTime":1742052711,"cETime":1742052725,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09628695838","server_ip":"118.185.137.196","insertTime":1742052725,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052707,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3301
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3301
            [uid] => u595
            [unique_id] => 36075_3301_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052705
            [channelDTime] => 1742052725
            [channelDuration] => 20
            [cSTime] => 1742052711
            [cETime] => 1742052725
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09628695838
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052725
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052707
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1257
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.5599999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29995.19999999978
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1257
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.5599999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96269.13000001168
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052727
{"compaign_id":"36075","contact_id":"3305","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3305","uid":"u595","unique_id":"36075_3305_138-u595","ivrId":"3158","channelOTime":1742052706,"channelDTime":1742052725,"channelDuration":19,"cSTime":1742052720,"cETime":1742052725,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09389525644","server_ip":"118.185.137.196","insertTime":1742052725,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052709,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3305
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3305
            [uid] => u595
            [unique_id] => 36075_3305_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052706
            [channelDTime] => 1742052725
            [channelDuration] => 19
            [cSTime] => 1742052720
            [cETime] => 1742052725
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09389525644
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052725
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052709
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1258
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.6399999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29995.119999999777
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1258
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.6399999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96269.05000001167
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052727
{"compaign_id":"36075","contact_id":"3329","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3329","uid":"u595","unique_id":"36075_3329_138-u595","ivrId":"3158","channelOTime":1742052711,"channelDTime":1742052726,"channelDuration":15,"cSTime":1742052719,"cETime":1742052726,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09867573906","server_ip":"118.185.137.196","insertTime":1742052726,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052713,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3329
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3329
            [uid] => u595
            [unique_id] => 36075_3329_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052711
            [channelDTime] => 1742052726
            [channelDuration] => 15
            [cSTime] => 1742052719
            [cETime] => 1742052726
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09867573906
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052726
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052713
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1259
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.7199999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29995.039999999775
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1259
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.7199999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96268.97000001167
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052728
{"compaign_id":"36075","contact_id":"3331","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3331","uid":"u595","unique_id":"36075_3331_138-u595","ivrId":"3158","channelOTime":1742052711,"channelDTime":1742052727,"channelDuration":16,"cSTime":1742052723,"cETime":1742052727,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09044848551","server_ip":"118.185.137.196","insertTime":1742052727,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052714,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3331
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3331
            [uid] => u595
            [unique_id] => 36075_3331_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052711
            [channelDTime] => 1742052727
            [channelDuration] => 16
            [cSTime] => 1742052723
            [cETime] => 1742052727
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09044848551
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052727
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052714
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1260
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.79999999999839
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29994.959999999774
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1260
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.79999999999839
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96268.89000001167
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052728
{"compaign_id":"36075","contact_id":"3286","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3286","uid":"u595","unique_id":"36075_3286_138-u595","ivrId":"3158","channelOTime":1742052695,"channelDTime":1742052727,"channelDuration":32,"cSTime":1742052715,"cETime":1742052727,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09795196664","server_ip":"118.185.137.196","insertTime":1742052727,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052697,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3286
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3286
            [uid] => u595
            [unique_id] => 36075_3286_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052695
            [channelDTime] => 1742052727
            [channelDuration] => 32
            [cSTime] => 1742052715
            [cETime] => 1742052727
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09795196664
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052727
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052697
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1261
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.87999999999839
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29994.879999999772
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1261
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.87999999999839
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96268.81000001167
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052729
{"compaign_id":"36075","contact_id":"3256","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3256","uid":"u595","unique_id":"36075_3256_138-u595","ivrId":"3158","channelOTime":1742052689,"channelDTime":1742052728,"channelDuration":39,"cSTime":1742052719,"cETime":1742052728,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09641992187","server_ip":"118.185.137.196","insertTime":1742052728,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052698,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3256
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3256
            [uid] => u595
            [unique_id] => 36075_3256_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052689
            [channelDTime] => 1742052728
            [channelDuration] => 39
            [cSTime] => 1742052719
            [cETime] => 1742052728
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09641992187
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052728
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052698
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1262
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.95999999999839
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29994.79999999977
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1262
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 100.95999999999839
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96268.73000001167
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052729
{"compaign_id":"36075","contact_id":"3287","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3287","uid":"u595","unique_id":"36075_3287_138-u595","ivrId":"3158","channelOTime":1742052695,"channelDTime":1742052728,"channelDuration":33,"cSTime":1742052707,"cETime":1742052728,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07980721744","server_ip":"118.185.137.196","insertTime":1742052728,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052697,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3287
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3287
            [uid] => u595
            [unique_id] => 36075_3287_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052695
            [channelDTime] => 1742052728
            [channelDuration] => 33
            [cSTime] => 1742052707
            [cETime] => 1742052728
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07980721744
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052728
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052697
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1263
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.03999999999839
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29994.71999999977
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1263
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.03999999999839
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96268.65000001166
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052730
{"compaign_id":"36075","contact_id":"3285","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3285","uid":"u595","unique_id":"36075_3285_138-u595","ivrId":"3158","channelOTime":1742052695,"channelDTime":1742052728,"channelDuration":33,"cSTime":1742052716,"cETime":1742052728,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08448608120","server_ip":"118.185.137.196","insertTime":1742052728,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052698,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3285
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3285
            [uid] => u595
            [unique_id] => 36075_3285_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052695
            [channelDTime] => 1742052728
            [channelDuration] => 33
            [cSTime] => 1742052716
            [cETime] => 1742052728
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08448608120
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052728
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052698
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1265
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.19999999999838
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29994.55999999977
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1265
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.19999999999838
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96268.49000001166
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052730
{"compaign_id":"36075","contact_id":"3317","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3317","uid":"u595","unique_id":"36075_3317_138-u595","ivrId":"3158","channelOTime":1742052709,"channelDTime":1742052730,"channelDuration":21,"cSTime":1742052721,"cETime":1742052730,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08766907129","server_ip":"118.185.137.196","insertTime":1742052730,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052710,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3317
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3317
            [uid] => u595
            [unique_id] => 36075_3317_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052709
            [channelDTime] => 1742052730
            [channelDuration] => 21
            [cSTime] => 1742052721
            [cETime] => 1742052730
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08766907129
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052730
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052710
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1266
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.27999999999838
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29994.479999999767
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1266
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.27999999999838
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96268.41000001166
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052731
{"compaign_id":"36075","contact_id":"3322","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3322","uid":"u595","unique_id":"36075_3322_138-u595","ivrId":"3158","channelOTime":1742052710,"channelDTime":1742052731,"channelDuration":21,"cSTime":1742052724,"cETime":1742052731,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06386788004","server_ip":"118.185.137.196","insertTime":1742052731,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052712,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3322
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3322
            [uid] => u595
            [unique_id] => 36075_3322_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052710
            [channelDTime] => 1742052731
            [channelDuration] => 21
            [cSTime] => 1742052724
            [cETime] => 1742052731
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06386788004
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052731
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052712
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1267
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.35999999999838
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29994.399999999765
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1267
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.35999999999838
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96268.33000001166
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052732
{"compaign_id":"36075","contact_id":"3274","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3274","uid":"u595","unique_id":"36075_3274_138-u595","ivrId":"3158","channelOTime":1742052693,"channelDTime":1742052731,"channelDuration":38,"cSTime":1742052711,"cETime":1742052731,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09676279470","server_ip":"118.185.137.196","insertTime":1742052731,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052694,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3274
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3274
            [uid] => u595
            [unique_id] => 36075_3274_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052693
            [channelDTime] => 1742052731
            [channelDuration] => 38
            [cSTime] => 1742052711
            [cETime] => 1742052731
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09676279470
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052731
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052694
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1268
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.43999999999838
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29994.319999999763
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1268
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.43999999999838
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96268.25000001166
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052733
{"compaign_id":"36075","contact_id":"3341","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3341","uid":"u595","unique_id":"36075_3341_138-u595","ivrId":"3158","channelOTime":1742052713,"channelDTime":1742052732,"channelDuration":19,"cSTime":1742052724,"cETime":1742052732,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07083934403","server_ip":"118.185.137.196","insertTime":1742052732,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052715,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3341
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3341
            [uid] => u595
            [unique_id] => 36075_3341_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052713
            [channelDTime] => 1742052732
            [channelDuration] => 19
            [cSTime] => 1742052724
            [cETime] => 1742052732
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07083934403
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052732
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052715
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1270
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.59999999999837
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29994.159999999763
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1270
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.59999999999837
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96268.09000001165
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052734
{"compaign_id":"36075","contact_id":"3268","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3268","uid":"u595","unique_id":"36075_3268_138-u595","ivrId":"3158","channelOTime":1742052691,"channelDTime":1742052733,"channelDuration":42,"cSTime":1742052714,"cETime":1742052733,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07093062639","server_ip":"118.185.137.196","insertTime":1742052733,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052694,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3268
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3268
            [uid] => u595
            [unique_id] => 36075_3268_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052691
            [channelDTime] => 1742052733
            [channelDuration] => 42
            [cSTime] => 1742052714
            [cETime] => 1742052733
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07093062639
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052733
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052694
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1271
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.67999999999837
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29994.07999999976
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1271
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.67999999999837
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96268.01000001165
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052734
{"compaign_id":"36075","contact_id":"3299","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3299","uid":"u595","unique_id":"36075_3299_138-u595","ivrId":"3158","channelOTime":1742052698,"channelDTime":1742052733,"channelDuration":35,"cSTime":1742052710,"cETime":1742052733,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09137070841","server_ip":"118.185.137.196","insertTime":1742052733,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052700,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052710,"endTime":1742052733,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3299
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3299
            [uid] => u595
            [unique_id] => 36075_3299_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052698
            [channelDTime] => 1742052733
            [channelDuration] => 35
            [cSTime] => 1742052710
            [cETime] => 1742052733
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09137070841
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052733
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052700
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052710
                                    [endTime] => 1742052733
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1273
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.83999999999837
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29993.91999999976
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1273
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.83999999999837
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96267.85000001165
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052735
{"compaign_id":"36075","contact_id":"3349","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3349","uid":"u595","unique_id":"36075_3349_138-u595","ivrId":"3158","channelOTime":1742052715,"channelDTime":1742052733,"channelDuration":18,"cSTime":1742052725,"cETime":1742052733,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07899273770","server_ip":"118.185.137.196","insertTime":1742052733,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052718,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3349
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3349
            [uid] => u595
            [unique_id] => 36075_3349_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052715
            [channelDTime] => 1742052733
            [channelDuration] => 18
            [cSTime] => 1742052725
            [cETime] => 1742052733
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07899273770
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052733
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052718
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1275
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.99999999999837
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29993.759999999762
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1275
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 101.99999999999837
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96267.69000001164
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052735
{"compaign_id":"36075","contact_id":"3277","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3277","uid":"u595","unique_id":"36075_3277_138-u595","ivrId":"3158","channelOTime":1742052693,"channelDTime":1742052734,"channelDuration":41,"cSTime":1742052710,"cETime":1742052734,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07060151710","server_ip":"118.185.137.196","insertTime":1742052734,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052695,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052710,"endTime":1742052734,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3277
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3277
            [uid] => u595
            [unique_id] => 36075_3277_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052693
            [channelDTime] => 1742052734
            [channelDuration] => 41
            [cSTime] => 1742052710
            [cETime] => 1742052734
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07060151710
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052734
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052695
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052710
                                    [endTime] => 1742052734
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1276
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.07999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29993.67999999976
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1276
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.07999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96267.61000001164
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052736
{"compaign_id":"36075","contact_id":"3338","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3338","uid":"u595","unique_id":"36075_3338_138-u595","ivrId":"3158","channelOTime":1742052713,"channelDTime":1742052735,"channelDuration":22,"cSTime":1742052729,"cETime":1742052735,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09336944735","server_ip":"118.185.137.196","insertTime":1742052735,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052714,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3338
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3338
            [uid] => u595
            [unique_id] => 36075_3338_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052713
            [channelDTime] => 1742052735
            [channelDuration] => 22
            [cSTime] => 1742052729
            [cETime] => 1742052735
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09336944735
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052735
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052714
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1278
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.23999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29993.51999999976
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1278
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.23999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96267.45000001164
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052737
{"compaign_id":"36075","contact_id":"3328","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3328","uid":"u595","unique_id":"36075_3328_138-u595","ivrId":"3158","channelOTime":1742052711,"channelDTime":1742052739,"channelDuration":28,"cSTime":1742052717,"cETime":1742052739,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07905960515","server_ip":"118.185.137.196","insertTime":1742052739,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052713,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052717,"endTime":1742052741,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3328
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3328
            [uid] => u595
            [unique_id] => 36075_3328_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052711
            [channelDTime] => 1742052739
            [channelDuration] => 28
            [cSTime] => 1742052717
            [cETime] => 1742052739
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07905960515
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052739
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052713
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052717
                                    [endTime] => 1742052741
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1279
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.31999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29993.43999999976
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1279
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.31999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96267.37000001164
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052741
{"compaign_id":"36075","contact_id":"3308","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3308","uid":"u595","unique_id":"36075_3308_138-u595","ivrId":"3158","channelOTime":1742052707,"channelDTime":1742052742,"channelDuration":35,"cSTime":1742052718,"cETime":1742052742,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09988228888","server_ip":"118.185.137.196","insertTime":1742052742,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052710,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052718,"endTime":1742052742,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3308
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3308
            [uid] => u595
            [unique_id] => 36075_3308_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052707
            [channelDTime] => 1742052742
            [channelDuration] => 35
            [cSTime] => 1742052718
            [cETime] => 1742052742
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09988228888
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052742
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052710
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052718
                                    [endTime] => 1742052742
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1281
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.47999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29993.27999999976
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1281
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.47999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96267.21000001163
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052743
{"compaign_id":"36075","contact_id":"3332","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3332","uid":"u595","unique_id":"36075_3332_138-u595","ivrId":"3158","channelOTime":1742052712,"channelDTime":1742052742,"channelDuration":30,"cSTime":1742052724,"cETime":1742052742,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08269656575","server_ip":"118.185.137.196","insertTime":1742052742,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052715,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3332
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3332
            [uid] => u595
            [unique_id] => 36075_3332_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052712
            [channelDTime] => 1742052742
            [channelDuration] => 30
            [cSTime] => 1742052724
            [cETime] => 1742052742
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08269656575
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052742
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052715
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1283
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.63999999999835
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29993.11999999976
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1283
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.63999999999835
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96267.05000001163
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052744
{"compaign_id":"36075","contact_id":"3350","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3350","uid":"u595","unique_id":"36075_3350_138-u595","ivrId":"3158","channelOTime":1742052727,"channelDTime":1742052747,"channelDuration":20,"cSTime":1742052736,"cETime":1742052747,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08309262811","server_ip":"118.185.137.196","insertTime":1742052747,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052729,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3350
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3350
            [uid] => u595
            [unique_id] => 36075_3350_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052727
            [channelDTime] => 1742052747
            [channelDuration] => 20
            [cSTime] => 1742052736
            [cETime] => 1742052747
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08309262811
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052747
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052729
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1285
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.79999999999835
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29992.95999999976
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1285
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.79999999999835
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96266.89000001163
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052748
{"compaign_id":"36075","contact_id":"3318","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3318","uid":"u595","unique_id":"36075_3318_138-u595","ivrId":"3158","channelOTime":1742052709,"channelDTime":1742052748,"channelDuration":39,"cSTime":1742052724,"cETime":1742052748,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08126390087","server_ip":"118.185.137.196","insertTime":1742052748,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052711,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052724,"endTime":1742052742,"duration":18}],"#3":[{"startTime":1742052742,"endTime":1742052748,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3318
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3318
            [uid] => u595
            [unique_id] => 36075_3318_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052709
            [channelDTime] => 1742052748
            [channelDuration] => 39
            [cSTime] => 1742052724
            [cETime] => 1742052748
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08126390087
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052748
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052711
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052724
                                    [endTime] => 1742052742
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052742
                                    [endTime] => 1742052748
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1286
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.87999999999835
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29992.879999999757
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1286
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 102.87999999999835
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96266.81000001162
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052750
{"compaign_id":"36075","contact_id":"3386","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3386","uid":"u595","unique_id":"36075_3386_138-u595","ivrId":"3158","channelOTime":1742052735,"channelDTime":1742052751,"channelDuration":16,"cSTime":1742052745,"cETime":1742052751,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09176961489","server_ip":"118.185.137.196","insertTime":1742052751,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052737,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3386
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3386
            [uid] => u595
            [unique_id] => 36075_3386_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052735
            [channelDTime] => 1742052751
            [channelDuration] => 16
            [cSTime] => 1742052745
            [cETime] => 1742052751
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09176961489
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052751
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052737
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1288
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.03999999999834
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29992.719999999757
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1288
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.03999999999834
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96266.65000001162
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052752
{"compaign_id":"36075","contact_id":"3312","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3312","uid":"u595","unique_id":"36075_3312_138-u595","ivrId":"3158","channelOTime":1742052708,"channelDTime":1742052752,"channelDuration":44,"cSTime":1742052732,"cETime":1742052752,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09677238350","server_ip":"118.185.137.196","insertTime":1742052752,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052709,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3312
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3312
            [uid] => u595
            [unique_id] => 36075_3312_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052708
            [channelDTime] => 1742052752
            [channelDuration] => 44
            [cSTime] => 1742052732
            [cETime] => 1742052752
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09677238350
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052752
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052709
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1289
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.11999999999834
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29992.639999999756
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1289
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.11999999999834
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96266.57000001162
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052754
{"compaign_id":"36075","contact_id":"3374","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3374","uid":"u595","unique_id":"36075_3374_138-u595","ivrId":"3158","channelOTime":1742052732,"channelDTime":1742052755,"channelDuration":23,"cSTime":1742052738,"cETime":1742052755,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08080068253","server_ip":"118.185.137.196","insertTime":1742052755,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052734,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3374
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3374
            [uid] => u595
            [unique_id] => 36075_3374_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052732
            [channelDTime] => 1742052755
            [channelDuration] => 23
            [cSTime] => 1742052738
            [cETime] => 1742052755
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08080068253
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052755
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052734
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1291
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.27999999999834
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29992.479999999756
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1291
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.27999999999834
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96266.41000001162
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052756
{"compaign_id":"36075","contact_id":"3378","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3378","uid":"u595","unique_id":"36075_3378_138-u595","ivrId":"3158","channelOTime":1742052733,"channelDTime":1742052755,"channelDuration":22,"cSTime":1742052748,"cETime":1742052755,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09797243748","server_ip":"118.185.137.196","insertTime":1742052755,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052739,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3378
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3378
            [uid] => u595
            [unique_id] => 36075_3378_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052733
            [channelDTime] => 1742052755
            [channelDuration] => 22
            [cSTime] => 1742052748
            [cETime] => 1742052755
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09797243748
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052755
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052739
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1293
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.43999999999834
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29992.319999999756
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1293
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.43999999999834
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96266.25000001161
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052757
{"compaign_id":"36075","contact_id":"3411","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3411","uid":"u595","unique_id":"36075_3411_138-u595","ivrId":"3158","channelOTime":1742052742,"channelDTime":1742052756,"channelDuration":14,"cSTime":1742052750,"cETime":1742052756,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07004553253","server_ip":"118.185.137.196","insertTime":1742052756,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052744,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3411
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3411
            [uid] => u595
            [unique_id] => 36075_3411_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052742
            [channelDTime] => 1742052756
            [channelDuration] => 14
            [cSTime] => 1742052750
            [cETime] => 1742052756
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07004553253
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052756
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052744
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1294
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.51999999999833
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29992.239999999754
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1294
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.51999999999833
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96266.17000001161
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052758
{"compaign_id":"36075","contact_id":"3306","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3306","uid":"u595","unique_id":"36075_3306_138-u595","ivrId":"3158","channelOTime":1742052706,"channelDTime":1742052756,"channelDuration":50,"cSTime":1742052733,"cETime":1742052756,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09711489986","server_ip":"118.185.137.196","insertTime":1742052756,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052709,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052733,"endTime":1742052756,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3306
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3306
            [uid] => u595
            [unique_id] => 36075_3306_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052706
            [channelDTime] => 1742052756
            [channelDuration] => 50
            [cSTime] => 1742052733
            [cETime] => 1742052756
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09711489986
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052756
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052709
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052733
                                    [endTime] => 1742052756
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1295
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.59999999999833
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29992.159999999752
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1295
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.59999999999833
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96266.09000001161
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052758
{"compaign_id":"36075","contact_id":"3408","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3408","uid":"u595","unique_id":"36075_3408_138-u595","ivrId":"3158","channelOTime":1742052741,"channelDTime":1742052758,"channelDuration":17,"cSTime":1742052755,"cETime":1742052758,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08447781797","server_ip":"118.185.137.196","insertTime":1742052758,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052744,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3408
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3408
            [uid] => u595
            [unique_id] => 36075_3408_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052741
            [channelDTime] => 1742052758
            [channelDuration] => 17
            [cSTime] => 1742052755
            [cETime] => 1742052758
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08447781797
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052758
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052744
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1297
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.75999999999833
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29991.999999999753
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1297
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.75999999999833
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96265.9300000116
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052759
{"compaign_id":"36075","contact_id":"3442","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3442","uid":"u595","unique_id":"36075_3442_138-u595","ivrId":"3158","channelOTime":1742052748,"channelDTime":1742052760,"channelDuration":12,"cSTime":1742052757,"cETime":1742052760,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08102691194","server_ip":"118.185.137.196","insertTime":1742052760,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052751,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3442
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3442
            [uid] => u595
            [unique_id] => 36075_3442_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052748
            [channelDTime] => 1742052760
            [channelDuration] => 12
            [cSTime] => 1742052757
            [cETime] => 1742052760
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08102691194
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052760
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052751
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1298
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.83999999999833
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29991.91999999975
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1298
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.83999999999833
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96265.8500000116
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052762
{"compaign_id":"36075","contact_id":"3437","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3437","uid":"u595","unique_id":"36075_3437_138-u595","ivrId":"3158","channelOTime":1742052747,"channelDTime":1742052761,"channelDuration":14,"cSTime":1742052757,"cETime":1742052761,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07860110811","server_ip":"118.185.137.196","insertTime":1742052761,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052753,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3437
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3437
            [uid] => u595
            [unique_id] => 36075_3437_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052747
            [channelDTime] => 1742052761
            [channelDuration] => 14
            [cSTime] => 1742052757
            [cETime] => 1742052761
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07860110811
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052761
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052753
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1299
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.91999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29991.83999999975
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1299
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.91999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96265.7700000116
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052762
{"compaign_id":"36075","contact_id":"3423","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3423","uid":"u595","unique_id":"36075_3423_138-u595","ivrId":"3158","channelOTime":1742052744,"channelDTime":1742052762,"channelDuration":18,"cSTime":1742052759,"cETime":1742052762,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07014932435","server_ip":"118.185.137.196","insertTime":1742052762,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052745,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3423
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3423
            [uid] => u595
            [unique_id] => 36075_3423_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052744
            [channelDTime] => 1742052762
            [channelDuration] => 18
            [cSTime] => 1742052759
            [cETime] => 1742052762
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07014932435
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052762
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052745
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1300
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.99999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29991.759999999747
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1300
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 103.99999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96265.6900000116
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052763
{"compaign_id":"36075","contact_id":"3432","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3432","uid":"u595","unique_id":"36075_3432_138-u595","ivrId":"3158","channelOTime":1742052746,"channelDTime":1742052763,"channelDuration":17,"cSTime":1742052757,"cETime":1742052763,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09037569452","server_ip":"118.185.137.196","insertTime":1742052763,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052749,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3432
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3432
            [uid] => u595
            [unique_id] => 36075_3432_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052746
            [channelDTime] => 1742052763
            [channelDuration] => 17
            [cSTime] => 1742052757
            [cETime] => 1742052763
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09037569452
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052763
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052749
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1301
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.07999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29991.679999999746
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1301
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.07999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96265.6100000116
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052765
{"compaign_id":"36075","contact_id":"3382","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3382","uid":"u595","unique_id":"36075_3382_138-u595","ivrId":"3158","channelOTime":1742052734,"channelDTime":1742052768,"channelDuration":34,"cSTime":1742052745,"cETime":1742052768,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07737381797","server_ip":"118.185.137.196","insertTime":1742052768,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052736,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052745,"endTime":1742052768,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3382
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3382
            [uid] => u595
            [unique_id] => 36075_3382_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052734
            [channelDTime] => 1742052768
            [channelDuration] => 34
            [cSTime] => 1742052745
            [cETime] => 1742052768
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07737381797
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052768
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052736
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052745
                                    [endTime] => 1742052768
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1302
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.15999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29991.599999999744
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1302
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.15999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96265.5300000116
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052770
{"compaign_id":"36075","contact_id":"3424","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3424","uid":"u595","unique_id":"36075_3424_138-u595","ivrId":"3158","channelOTime":1742052744,"channelDTime":1742052769,"channelDuration":25,"cSTime":1742052760,"cETime":1742052769,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06206529470","server_ip":"118.185.137.196","insertTime":1742052769,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052749,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3424
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3424
            [uid] => u595
            [unique_id] => 36075_3424_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052744
            [channelDTime] => 1742052769
            [channelDuration] => 25
            [cSTime] => 1742052760
            [cETime] => 1742052769
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06206529470
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052769
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052749
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1304
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.31999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29991.439999999744
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1304
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.31999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96265.3700000116
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052770
{"compaign_id":"36075","contact_id":"3419","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3419","uid":"u595","unique_id":"36075_3419_138-u595","ivrId":"3158","channelOTime":1742052743,"channelDTime":1742052770,"channelDuration":27,"cSTime":1742052753,"cETime":1742052770,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07567680705","server_ip":"118.185.137.196","insertTime":1742052770,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052744,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3419
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3419
            [uid] => u595
            [unique_id] => 36075_3419_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052743
            [channelDTime] => 1742052770
            [channelDuration] => 27
            [cSTime] => 1742052753
            [cETime] => 1742052770
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07567680705
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052770
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052744
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1305
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.39999999999831
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29991.359999999742
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1305
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.39999999999831
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96265.29000001159
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052772
{"compaign_id":"36075","contact_id":"3468","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3468","uid":"u595","unique_id":"36075_3468_138-u595","ivrId":"3158","channelOTime":1742052755,"channelDTime":1742052771,"channelDuration":16,"cSTime":1742052762,"cETime":1742052771,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09071325187","server_ip":"118.185.137.196","insertTime":1742052771,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052757,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3468
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3468
            [uid] => u595
            [unique_id] => 36075_3468_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052755
            [channelDTime] => 1742052771
            [channelDuration] => 16
            [cSTime] => 1742052762
            [cETime] => 1742052771
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09071325187
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052771
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052757
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1307
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.55999999999831
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29991.199999999742
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1307
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.55999999999831
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96265.13000001159
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052772
{"compaign_id":"36075","contact_id":"3466","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3466","uid":"u595","unique_id":"36075_3466_138-u595","ivrId":"3158","channelOTime":1742052755,"channelDTime":1742052771,"channelDuration":16,"cSTime":1742052764,"cETime":1742052771,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09631407825","server_ip":"118.185.137.196","insertTime":1742052771,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052757,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3466
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3466
            [uid] => u595
            [unique_id] => 36075_3466_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052755
            [channelDTime] => 1742052771
            [channelDuration] => 16
            [cSTime] => 1742052764
            [cETime] => 1742052771
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09631407825
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052771
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052757
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1308
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.63999999999831
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29991.11999999974
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1308
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.63999999999831
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96265.05000001159
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052773
{"compaign_id":"36075","contact_id":"3410","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3410","uid":"u595","unique_id":"36075_3410_138-u595","ivrId":"3158","channelOTime":1742052741,"channelDTime":1742052772,"channelDuration":31,"cSTime":1742052765,"cETime":1742052772,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09219402434","server_ip":"118.185.137.196","insertTime":1742052772,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052743,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3410
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3410
            [uid] => u595
            [unique_id] => 36075_3410_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052741
            [channelDTime] => 1742052772
            [channelDuration] => 31
            [cSTime] => 1742052765
            [cETime] => 1742052772
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09219402434
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052772
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052743
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1309
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.71999999999831
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29991.03999999974
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1309
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.71999999999831
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96264.97000001158
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052774
{"compaign_id":"36075","contact_id":"3362","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3362","uid":"u595","unique_id":"36075_3362_138-u595","ivrId":"3158","channelOTime":1742052730,"channelDTime":1742052772,"channelDuration":42,"cSTime":1742052749,"cETime":1742052772,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09835235564","server_ip":"118.185.137.196","insertTime":1742052772,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052733,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052749,"endTime":1742052772,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3362
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3362
            [uid] => u595
            [unique_id] => 36075_3362_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052730
            [channelDTime] => 1742052772
            [channelDuration] => 42
            [cSTime] => 1742052749
            [cETime] => 1742052772
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09835235564
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052772
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052733
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052749
                                    [endTime] => 1742052772
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1310
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.7999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29990.959999999737
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1310
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.7999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96264.89000001158
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052774
{"compaign_id":"36075","contact_id":"3498","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3498","uid":"u595","unique_id":"36075_3498_138-u595","ivrId":"3158","channelOTime":1742052761,"channelDTime":1742052775,"channelDuration":14,"cSTime":1742052773,"cETime":1742052775,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09114681196","server_ip":"118.185.137.196","insertTime":1742052775,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052764,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3498
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3498
            [uid] => u595
            [unique_id] => 36075_3498_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052761
            [channelDTime] => 1742052775
            [channelDuration] => 14
            [cSTime] => 1742052773
            [cETime] => 1742052775
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09114681196
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052775
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052764
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1312
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.9599999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29990.799999999737
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1312
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 104.9599999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96264.73000001158
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052777
{"compaign_id":"36075","contact_id":"3428","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3428","uid":"u595","unique_id":"36075_3428_138-u595","ivrId":"3158","channelOTime":1742052745,"channelDTime":1742052778,"channelDuration":33,"cSTime":1742052764,"cETime":1742052778,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06001145732","server_ip":"118.185.137.196","insertTime":1742052778,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052747,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3428
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3428
            [uid] => u595
            [unique_id] => 36075_3428_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052745
            [channelDTime] => 1742052778
            [channelDuration] => 33
            [cSTime] => 1742052764
            [cETime] => 1742052778
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06001145732
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052778
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052747
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1313
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.0399999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29990.719999999736
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1313
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.0399999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96264.65000001158
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052779
{"compaign_id":"36075","contact_id":"3426","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3426","uid":"u595","unique_id":"36075_3426_138-u595","ivrId":"3158","channelOTime":1742052745,"channelDTime":1742052778,"channelDuration":33,"cSTime":1742052765,"cETime":1742052778,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09611064965","server_ip":"118.185.137.196","insertTime":1742052778,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052747,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3426
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3426
            [uid] => u595
            [unique_id] => 36075_3426_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052745
            [channelDTime] => 1742052778
            [channelDuration] => 33
            [cSTime] => 1742052765
            [cETime] => 1742052778
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09611064965
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052778
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052747
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1314
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.1199999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29990.639999999734
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1314
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.1199999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96264.57000001158
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052780
{"compaign_id":"36075","contact_id":"3416","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3416","uid":"u595","unique_id":"36075_3416_138-u595","ivrId":"3158","channelOTime":1742052743,"channelDTime":1742052778,"channelDuration":35,"cSTime":1742052770,"cETime":1742052778,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08073665395","server_ip":"118.185.137.196","insertTime":1742052778,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052745,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3416
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3416
            [uid] => u595
            [unique_id] => 36075_3416_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052743
            [channelDTime] => 1742052778
            [channelDuration] => 35
            [cSTime] => 1742052770
            [cETime] => 1742052778
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08073665395
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052778
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052745
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1315
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.1999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29990.559999999732
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1315
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.1999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96264.49000001157
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052780
{"compaign_id":"36075","contact_id":"3363","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3363","uid":"u595","unique_id":"36075_3363_138-u595","ivrId":"3158","channelOTime":1742052730,"channelDTime":1742052779,"channelDuration":49,"cSTime":1742052755,"cETime":1742052779,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08400293040","server_ip":"118.185.137.196","insertTime":1742052779,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052733,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052755,"endTime":1742052779,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3363
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3363
            [uid] => u595
            [unique_id] => 36075_3363_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052730
            [channelDTime] => 1742052779
            [channelDuration] => 49
            [cSTime] => 1742052755
            [cETime] => 1742052779
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08400293040
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052779
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052733
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052755
                                    [endTime] => 1742052779
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1316
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.2799999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29990.47999999973
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1316
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.2799999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96264.41000001157
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052780
2025-03-15 21:03:02[LOG]Starting Cron
2025-03-15 21:03:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"3472","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3472","uid":"u595","unique_id":"36075_3472_138-u595","ivrId":"3158","channelOTime":1742052756,"channelDTime":1742052781,"channelDuration":25,"cSTime":1742052776,"cETime":1742052781,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08510996846","server_ip":"118.185.137.196","insertTime":1742052781,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052759,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3472
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3472
            [uid] => u595
            [unique_id] => 36075_3472_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052756
            [channelDTime] => 1742052781
            [channelDuration] => 25
            [cSTime] => 1742052776
            [cETime] => 1742052781
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08510996846
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052781
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052759
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1318
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.43999999999829
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29990.31999999973
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1318
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.43999999999829
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96264.25000001157
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052782
{"compaign_id":"36075","contact_id":"3456","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3456","uid":"u595","unique_id":"36075_3456_138-u595","ivrId":"3158","channelOTime":1742052753,"channelDTime":1742052782,"channelDuration":29,"cSTime":1742052759,"cETime":1742052782,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06397278510","server_ip":"118.185.137.196","insertTime":1742052782,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052754,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052759,"endTime":1742052782,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3456
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3456
            [uid] => u595
            [unique_id] => 36075_3456_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052753
            [channelDTime] => 1742052782
            [channelDuration] => 29
            [cSTime] => 1742052759
            [cETime] => 1742052782
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06397278510
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052782
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052754
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052759
                                    [endTime] => 1742052782
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1319
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.51999999999829
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29990.23999999973
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1319
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.51999999999829
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96264.17000001157
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052784
{"compaign_id":"36075","contact_id":"3390","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3390","uid":"u595","unique_id":"36075_3390_138-u595","ivrId":"3158","channelOTime":1742052735,"channelDTime":1742052783,"channelDuration":48,"cSTime":1742052764,"cETime":1742052783,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08368371002","server_ip":"118.185.137.196","insertTime":1742052783,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052737,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3390
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3390
            [uid] => u595
            [unique_id] => 36075_3390_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052735
            [channelDTime] => 1742052783
            [channelDuration] => 48
            [cSTime] => 1742052764
            [cETime] => 1742052783
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08368371002
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052783
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052737
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1321
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.67999999999829
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29990.07999999973
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1321
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.67999999999829
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96264.01000001156
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052785
{"compaign_id":"36075","contact_id":"3491","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3491","uid":"u595","unique_id":"36075_3491_138-u595","ivrId":"3158","channelOTime":1742052760,"channelDTime":1742052785,"channelDuration":25,"cSTime":1742052769,"cETime":1742052785,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09951496508","server_ip":"118.185.137.196","insertTime":1742052785,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052763,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3491
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3491
            [uid] => u595
            [unique_id] => 36075_3491_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052760
            [channelDTime] => 1742052785
            [channelDuration] => 25
            [cSTime] => 1742052769
            [cETime] => 1742052785
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09951496508
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052785
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052763
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1323
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.83999999999828
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29989.91999999973
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1323
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.83999999999828
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96263.85000001156
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052787
{"compaign_id":"36075","contact_id":"3477","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3477","uid":"u595","unique_id":"36075_3477_138-u595","ivrId":"3158","channelOTime":1742052757,"channelDTime":1742052787,"channelDuration":30,"cSTime":1742052766,"cETime":1742052787,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06384942393","server_ip":"118.185.137.196","insertTime":1742052787,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052759,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3477
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3477
            [uid] => u595
            [unique_id] => 36075_3477_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052757
            [channelDTime] => 1742052787
            [channelDuration] => 30
            [cSTime] => 1742052766
            [cETime] => 1742052787
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06384942393
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052787
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052759
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1325
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.99999999999828
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29989.75999999973
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1325
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 105.99999999999828
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96263.69000001156
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052789
{"compaign_id":"36075","contact_id":"3510","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3510","uid":"u595","unique_id":"36075_3510_138-u595","ivrId":"3158","channelOTime":1742052771,"channelDTime":1742052788,"channelDuration":17,"cSTime":1742052781,"cETime":1742052788,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08367692257","server_ip":"118.185.137.196","insertTime":1742052788,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052773,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3510
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3510
            [uid] => u595
            [unique_id] => 36075_3510_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052771
            [channelDTime] => 1742052788
            [channelDuration] => 17
            [cSTime] => 1742052781
            [cETime] => 1742052788
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08367692257
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052788
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052773
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1327
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.15999999999828
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29989.59999999973
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1327
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.15999999999828
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96263.53000001155
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052790
{"compaign_id":"36075","contact_id":"3514","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3514","uid":"u595","unique_id":"36075_3514_138-u595","ivrId":"3158","channelOTime":1742052772,"channelDTime":1742052789,"channelDuration":17,"cSTime":1742052780,"cETime":1742052789,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07055885298","server_ip":"118.185.137.196","insertTime":1742052789,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052774,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3514
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3514
            [uid] => u595
            [unique_id] => 36075_3514_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052772
            [channelDTime] => 1742052789
            [channelDuration] => 17
            [cSTime] => 1742052780
            [cETime] => 1742052789
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07055885298
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052789
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052774
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1328
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.23999999999828
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29989.519999999728
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1328
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.23999999999828
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96263.45000001155
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052791
{"compaign_id":"36075","contact_id":"3529","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3529","uid":"u595","unique_id":"36075_3529_138-u595","ivrId":"3158","channelOTime":1742052775,"channelDTime":1742052790,"channelDuration":15,"cSTime":1742052784,"cETime":1742052790,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09135963894","server_ip":"118.185.137.196","insertTime":1742052790,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052777,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3529
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3529
            [uid] => u595
            [unique_id] => 36075_3529_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052775
            [channelDTime] => 1742052790
            [channelDuration] => 15
            [cSTime] => 1742052784
            [cETime] => 1742052790
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09135963894
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052790
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052777
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1329
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.31999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29989.439999999726
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1329
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.31999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96263.37000001155
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052791
{"compaign_id":"36075","contact_id":"3476","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3476","uid":"u595","unique_id":"36075_3476_138-u595","ivrId":"3158","channelOTime":1742052757,"channelDTime":1742052790,"channelDuration":33,"cSTime":1742052773,"cETime":1742052790,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07500307090","server_ip":"118.185.137.196","insertTime":1742052790,"ivrData":{"#2":["D"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052759,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052773,"endTime":1742052790,"duration":17}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3476
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3476
            [uid] => u595
            [unique_id] => 36075_3476_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052757
            [channelDTime] => 1742052790
            [channelDuration] => 33
            [cSTime] => 1742052773
            [cETime] => 1742052790
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07500307090
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052790
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => D
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052759
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052773
                                    [endTime] => 1742052790
                                    [duration] => 17
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1330
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.39999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29989.359999999724
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1330
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.39999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96263.29000001155
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052792
{"compaign_id":"36075","contact_id":"3548","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3548","uid":"u595","unique_id":"36075_3548_138-u595","ivrId":"3158","channelOTime":1742052778,"channelDTime":1742052790,"channelDuration":12,"cSTime":1742052788,"cETime":1742052790,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07087441650","server_ip":"118.185.137.196","insertTime":1742052790,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052781,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3548
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3548
            [uid] => u595
            [unique_id] => 36075_3548_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052778
            [channelDTime] => 1742052790
            [channelDuration] => 12
            [cSTime] => 1742052788
            [cETime] => 1742052790
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07087441650
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052790
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052781
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1332
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.55999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29989.199999999724
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1332
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.55999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96263.13000001154
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052792
{"compaign_id":"36075","contact_id":"3500","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3500","uid":"u595","unique_id":"36075_3500_138-u595","ivrId":"3158","channelOTime":1742052769,"channelDTime":1742052793,"channelDuration":24,"cSTime":1742052780,"cETime":1742052793,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08095179964","server_ip":"118.185.137.196","insertTime":1742052793,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052770,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3500
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3500
            [uid] => u595
            [unique_id] => 36075_3500_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052769
            [channelDTime] => 1742052793
            [channelDuration] => 24
            [cSTime] => 1742052780
            [cETime] => 1742052793
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08095179964
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052793
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052770
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1333
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.63999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29989.119999999722
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1333
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.63999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96263.05000001154
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052795
{"compaign_id":"36075","contact_id":"3471","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3471","uid":"u595","unique_id":"36075_3471_138-u595","ivrId":"3158","channelOTime":1742052756,"channelDTime":1742052798,"channelDuration":42,"cSTime":1742052774,"cETime":1742052798,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08129088258","server_ip":"118.185.137.196","insertTime":1742052798,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052759,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052774,"endTime":1742052798,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3471
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3471
            [uid] => u595
            [unique_id] => 36075_3471_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052756
            [channelDTime] => 1742052798
            [channelDuration] => 42
            [cSTime] => 1742052774
            [cETime] => 1742052798
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08129088258
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052798
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052759
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052774
                                    [endTime] => 1742052798
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1334
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.71999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29989.03999999972
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1334
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.71999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96262.97000001154
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052800
{"compaign_id":"36075","contact_id":"3474","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3474","uid":"u595","unique_id":"36075_3474_138-u595","ivrId":"3158","channelOTime":1742052756,"channelDTime":1742052800,"channelDuration":44,"cSTime":1742052784,"cETime":1742052800,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07811028084","server_ip":"118.185.137.196","insertTime":1742052800,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052760,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3474
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3474
            [uid] => u595
            [unique_id] => 36075_3474_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052756
            [channelDTime] => 1742052800
            [channelDuration] => 44
            [cSTime] => 1742052784
            [cETime] => 1742052800
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07811028084
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052800
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052760
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1336
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.87999999999826
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29988.87999999972
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1336
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 106.87999999999826
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96262.81000001154
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052801
{"compaign_id":"36075","contact_id":"3539","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3539","uid":"u595","unique_id":"36075_3539_138-u595","ivrId":"3158","channelOTime":1742052777,"channelDTime":1742052800,"channelDuration":23,"cSTime":1742052793,"cETime":1742052800,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09725563415","server_ip":"118.185.137.196","insertTime":1742052800,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052779,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3539
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3539
            [uid] => u595
            [unique_id] => 36075_3539_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052777
            [channelDTime] => 1742052800
            [channelDuration] => 23
            [cSTime] => 1742052793
            [cETime] => 1742052800
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09725563415
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052800
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052779
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1338
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.03999999999826
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29988.71999999972
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1338
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.03999999999826
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96262.65000001153
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052802
{"compaign_id":"36075","contact_id":"3503","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3503","uid":"u595","unique_id":"36075_3503_138-u595","ivrId":"3158","channelOTime":1742052769,"channelDTime":1742052800,"channelDuration":31,"cSTime":1742052777,"cETime":1742052800,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07211101103","server_ip":"118.185.137.196","insertTime":1742052800,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052770,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052777,"endTime":1742052794,"duration":17}],"#3":[{"startTime":1742052794,"endTime":1742052800,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3503
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3503
            [uid] => u595
            [unique_id] => 36075_3503_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052769
            [channelDTime] => 1742052800
            [channelDuration] => 31
            [cSTime] => 1742052777
            [cETime] => 1742052800
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07211101103
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052800
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052770
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052777
                                    [endTime] => 1742052794
                                    [duration] => 17
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052794
                                    [endTime] => 1742052800
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1339
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.11999999999826
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29988.63999999972
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1339
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.11999999999826
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96262.57000001153
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052802
{"compaign_id":"36075","contact_id":"3524","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3524","uid":"u595","unique_id":"36075_3524_138-u595","ivrId":"3158","channelOTime":1742052774,"channelDTime":1742052801,"channelDuration":27,"cSTime":1742052782,"cETime":1742052801,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08795958383","server_ip":"118.185.137.196","insertTime":1742052801,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052776,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3524
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3524
            [uid] => u595
            [unique_id] => 36075_3524_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052774
            [channelDTime] => 1742052801
            [channelDuration] => 27
            [cSTime] => 1742052782
            [cETime] => 1742052801
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08795958383
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052801
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052776
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1341
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.27999999999825
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29988.47999999972
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1341
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.27999999999825
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96262.41000001153
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052803
{"compaign_id":"36075","contact_id":"3570","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3570","uid":"u595","unique_id":"36075_3570_138-u595","ivrId":"3158","channelOTime":1742052790,"channelDTime":1742052801,"channelDuration":11,"cSTime":1742052797,"cETime":1742052801,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09810685274","server_ip":"118.185.137.196","insertTime":1742052801,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052795,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3570
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3570
            [uid] => u595
            [unique_id] => 36075_3570_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052790
            [channelDTime] => 1742052801
            [channelDuration] => 11
            [cSTime] => 1742052797
            [cETime] => 1742052801
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09810685274
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052801
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052795
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1343
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.43999999999825
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29988.31999999972
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1343
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.43999999999825
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96262.25000001153
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052803
{"compaign_id":"36075","contact_id":"3482","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3482","uid":"u595","unique_id":"36075_3482_138-u595","ivrId":"3158","channelOTime":1742052758,"channelDTime":1742052801,"channelDuration":43,"cSTime":1742052778,"cETime":1742052801,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09900779927","server_ip":"118.185.137.196","insertTime":1742052801,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052761,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052778,"endTime":1742052802,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3482
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3482
            [uid] => u595
            [unique_id] => 36075_3482_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052758
            [channelDTime] => 1742052801
            [channelDuration] => 43
            [cSTime] => 1742052778
            [cETime] => 1742052801
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09900779927
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052801
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052761
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052778
                                    [endTime] => 1742052802
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1344
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.51999999999825
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29988.239999999718
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1344
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.51999999999825
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96262.17000001152
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052803
{"compaign_id":"36075","contact_id":"3552","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3552","uid":"u595","unique_id":"36075_3552_138-u595","ivrId":"3158","channelOTime":1742052786,"channelDTime":1742052803,"channelDuration":17,"cSTime":1742052800,"cETime":1742052803,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09149558493","server_ip":"118.185.137.196","insertTime":1742052803,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052792,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3552
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3552
            [uid] => u595
            [unique_id] => 36075_3552_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052786
            [channelDTime] => 1742052803
            [channelDuration] => 17
            [cSTime] => 1742052800
            [cETime] => 1742052803
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09149558493
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052803
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052792
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1346
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.67999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29988.079999999718
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1346
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.67999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96262.01000001152
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052805
{"compaign_id":"36075","contact_id":"3560","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3560","uid":"u595","unique_id":"36075_3560_138-u595","ivrId":"3158","channelOTime":1742052788,"channelDTime":1742052803,"channelDuration":15,"cSTime":1742052798,"cETime":1742052803,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09519024389","server_ip":"118.185.137.196","insertTime":1742052803,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052791,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3560
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3560
            [uid] => u595
            [unique_id] => 36075_3560_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052788
            [channelDTime] => 1742052803
            [channelDuration] => 15
            [cSTime] => 1742052798
            [cETime] => 1742052803
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09519024389
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052803
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052791
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1347
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.75999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29987.999999999716
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1347
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.75999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96261.93000001152
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052805
{"compaign_id":"36075","contact_id":"3565","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3565","uid":"u595","unique_id":"36075_3565_138-u595","ivrId":"3158","channelOTime":1742052789,"channelDTime":1742052805,"channelDuration":16,"cSTime":1742052802,"cETime":1742052805,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08076882521","server_ip":"118.185.137.196","insertTime":1742052805,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052791,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3565
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3565
            [uid] => u595
            [unique_id] => 36075_3565_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052789
            [channelDTime] => 1742052805
            [channelDuration] => 16
            [cSTime] => 1742052802
            [cETime] => 1742052805
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08076882521
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052805
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052791
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1348
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.83999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29987.919999999714
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1348
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.83999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96261.85000001152
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052807
{"compaign_id":"36075","contact_id":"3579","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3579","uid":"u595","unique_id":"36075_3579_138-u595","ivrId":"3158","channelOTime":1742052791,"channelDTime":1742052806,"channelDuration":15,"cSTime":1742052801,"cETime":1742052806,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09908384449","server_ip":"118.185.137.196","insertTime":1742052806,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052794,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3579
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3579
            [uid] => u595
            [unique_id] => 36075_3579_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052791
            [channelDTime] => 1742052806
            [channelDuration] => 15
            [cSTime] => 1742052801
            [cETime] => 1742052806
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09908384449
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052806
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052794
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1349
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.91999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29987.839999999713
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1349
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.91999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96261.77000001151
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052808
{"compaign_id":"36075","contact_id":"3553","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3553","uid":"u595","unique_id":"36075_3553_138-u595","ivrId":"3158","channelOTime":1742052786,"channelDTime":1742052806,"channelDuration":20,"cSTime":1742052797,"cETime":1742052806,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08445479017","server_ip":"118.185.137.196","insertTime":1742052806,"ivrData":{"#2":["A"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052790,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052797,"endTime":1742052806,"duration":9}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3553
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3553
            [uid] => u595
            [unique_id] => 36075_3553_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052786
            [channelDTime] => 1742052806
            [channelDuration] => 20
            [cSTime] => 1742052797
            [cETime] => 1742052806
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08445479017
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052806
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => A
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052790
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052797
                                    [endTime] => 1742052806
                                    [duration] => 9
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1350
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.99999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29987.75999999971
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1350
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 107.99999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96261.69000001151
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052808
{"compaign_id":"36075","contact_id":"3520","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3520","uid":"u595","unique_id":"36075_3520_138-u595","ivrId":"3158","channelOTime":1742052773,"channelDTime":1742052808,"channelDuration":35,"cSTime":1742052794,"cETime":1742052808,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09550615242","server_ip":"118.185.137.196","insertTime":1742052808,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052779,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3520
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3520
            [uid] => u595
            [unique_id] => 36075_3520_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052773
            [channelDTime] => 1742052808
            [channelDuration] => 35
            [cSTime] => 1742052794
            [cETime] => 1742052808
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09550615242
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052808
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052779
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1351
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.07999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29987.67999999971
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1351
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.07999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96261.61000001151
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052809
{"compaign_id":"36075","contact_id":"3594","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3594","uid":"u595","unique_id":"36075_3594_138-u595","ivrId":"3158","channelOTime":1742052794,"channelDTime":1742052808,"channelDuration":14,"cSTime":1742052805,"cETime":1742052808,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07981552920","server_ip":"118.185.137.196","insertTime":1742052808,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052797,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3594
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3594
            [uid] => u595
            [unique_id] => 36075_3594_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052794
            [channelDTime] => 1742052808
            [channelDuration] => 14
            [cSTime] => 1742052805
            [cETime] => 1742052808
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07981552920
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052808
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052797
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1352
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.15999999999823
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29987.599999999708
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1352
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.15999999999823
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96261.53000001151
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052810
{"compaign_id":"36075","contact_id":"3542","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3542","uid":"u595","unique_id":"36075_3542_138-u595","ivrId":"3158","channelOTime":1742052777,"channelDTime":1742052808,"channelDuration":31,"cSTime":1742052785,"cETime":1742052808,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09082201813","server_ip":"118.185.137.196","insertTime":1742052808,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052780,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052785,"endTime":1742052808,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3542
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3542
            [uid] => u595
            [unique_id] => 36075_3542_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052777
            [channelDTime] => 1742052808
            [channelDuration] => 31
            [cSTime] => 1742052785
            [cETime] => 1742052808
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09082201813
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052808
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052780
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052785
                                    [endTime] => 1742052808
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1353
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.23999999999823
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29987.519999999706
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1353
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.23999999999823
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96261.45000001151
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052810
{"compaign_id":"36075","contact_id":"3535","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3535","uid":"u595","unique_id":"36075_3535_138-u595","ivrId":"3158","channelOTime":1742052776,"channelDTime":1742052808,"channelDuration":32,"cSTime":1742052801,"cETime":1742052808,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09685802291","server_ip":"118.185.137.196","insertTime":1742052808,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052778,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3535
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3535
            [uid] => u595
            [unique_id] => 36075_3535_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052776
            [channelDTime] => 1742052808
            [channelDuration] => 32
            [cSTime] => 1742052801
            [cETime] => 1742052808
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09685802291
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052808
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052778
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1355
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.39999999999823
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29987.359999999706
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1355
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.39999999999823
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96261.2900000115
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052810
{"compaign_id":"36075","contact_id":"3534","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3534","uid":"u595","unique_id":"36075_3534_138-u595","ivrId":"3158","channelOTime":1742052776,"channelDTime":1742052809,"channelDuration":33,"cSTime":1742052789,"cETime":1742052809,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09680147144","server_ip":"118.185.137.196","insertTime":1742052809,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052783,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3534
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3534
            [uid] => u595
            [unique_id] => 36075_3534_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052776
            [channelDTime] => 1742052809
            [channelDuration] => 33
            [cSTime] => 1742052789
            [cETime] => 1742052809
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09680147144
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052809
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052783
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1356
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.47999999999823
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29987.279999999704
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1356
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.47999999999823
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96261.2100000115
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052811
{"compaign_id":"36075","contact_id":"3567","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3567","uid":"u595","unique_id":"36075_3567_138-u595","ivrId":"3158","channelOTime":1742052789,"channelDTime":1742052811,"channelDuration":22,"cSTime":1742052798,"cETime":1742052811,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08367533856","server_ip":"118.185.137.196","insertTime":1742052811,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052793,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3567
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3567
            [uid] => u595
            [unique_id] => 36075_3567_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052789
            [channelDTime] => 1742052811
            [channelDuration] => 22
            [cSTime] => 1742052798
            [cETime] => 1742052811
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08367533856
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052811
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052793
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1358
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.63999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29987.119999999704
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1358
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.63999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96261.0500000115
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052812
{"compaign_id":"36075","contact_id":"3602","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3602","uid":"u595","unique_id":"36075_3602_138-u595","ivrId":"3158","channelOTime":1742052798,"channelDTime":1742052811,"channelDuration":13,"cSTime":1742052806,"cETime":1742052811,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09000688571","server_ip":"118.185.137.196","insertTime":1742052811,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052800,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3602
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3602
            [uid] => u595
            [unique_id] => 36075_3602_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052798
            [channelDTime] => 1742052811
            [channelDuration] => 13
            [cSTime] => 1742052806
            [cETime] => 1742052811
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09000688571
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052811
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052800
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1359
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.71999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29987.039999999703
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1359
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.71999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.9700000115
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052813
{"compaign_id":"36075","contact_id":"3633","total_duration":"0","answer_duration":0,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3633","uid":"u595","unique_id":"36075_3633_138-u595","ivrId":"3158","channelOTime":1742052804,"channelDTime":1742052811,"channelDuration":7,"cSTime":1742052811,"cETime":1742052811,"cDuration":0,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06304278275","server_ip":"118.185.137.196","insertTime":1742052811,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052806,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3633
    [total_duration] => 0
    [answer_duration] => 0
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3633
            [uid] => u595
            [unique_id] => 36075_3633_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052804
            [channelDTime] => 1742052811
            [channelDuration] => 7
            [cSTime] => 1742052811
            [cETime] => 1742052811
            [cDuration] => 0
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06304278275
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052811
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052806
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1360
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.79999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29986.9599999997
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1360
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.79999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.8900000115
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)
1742052813
{"compaign_id":"36075","contact_id":"3588","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3588","uid":"u595","unique_id":"36075_3588_138-u595","ivrId":"3158","channelOTime":1742052793,"channelDTime":1742052811,"channelDuration":18,"cSTime":1742052806,"cETime":1742052811,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09990011732","server_ip":"118.185.137.196","insertTime":1742052811,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052801,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3588
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3588
            [uid] => u595
            [unique_id] => 36075_3588_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052793
            [channelDTime] => 1742052811
            [channelDuration] => 18
            [cSTime] => 1742052806
            [cETime] => 1742052811
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09990011732
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052811
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052801
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1360
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.79999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29986.9599999997
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1360
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.79999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.8900000115
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052813
{"compaign_id":"36075","contact_id":"3532","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3532","uid":"u595","unique_id":"36075_3532_138-u595","ivrId":"3158","channelOTime":1742052775,"channelDTime":1742052811,"channelDuration":36,"cSTime":1742052805,"cETime":1742052811,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09853686987","server_ip":"118.185.137.196","insertTime":1742052811,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052778,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3532
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3532
            [uid] => u595
            [unique_id] => 36075_3532_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052775
            [channelDTime] => 1742052811
            [channelDuration] => 36
            [cSTime] => 1742052805
            [cETime] => 1742052811
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09853686987
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052811
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052778
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1361
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.87999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29986.8799999997
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1361
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.87999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.8100000115
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052813
{"compaign_id":"36075","contact_id":"3568","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3568","uid":"u595","unique_id":"36075_3568_138-u595","ivrId":"3158","channelOTime":1742052789,"channelDTime":1742052812,"channelDuration":23,"cSTime":1742052798,"cETime":1742052812,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09663066959","server_ip":"118.185.137.196","insertTime":1742052812,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052793,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3568
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3568
            [uid] => u595
            [unique_id] => 36075_3568_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052789
            [channelDTime] => 1742052812
            [channelDuration] => 23
            [cSTime] => 1742052798
            [cETime] => 1742052812
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09663066959
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052812
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052793
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1362
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.95999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29986.799999999697
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1362
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 108.95999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.73000001149
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052814
{"compaign_id":"36075","contact_id":"3551","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3551","uid":"u595","unique_id":"36075_3551_138-u595","ivrId":"3158","channelOTime":1742052786,"channelDTime":1742052814,"channelDuration":28,"cSTime":1742052808,"cETime":1742052814,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09499905900","server_ip":"118.185.137.196","insertTime":1742052814,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052788,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3551
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3551
            [uid] => u595
            [unique_id] => 36075_3551_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052786
            [channelDTime] => 1742052814
            [channelDuration] => 28
            [cSTime] => 1742052808
            [cETime] => 1742052814
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09499905900
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052814
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052788
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1363
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.03999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29986.719999999696
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1363
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.03999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.65000001149
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052815
{"compaign_id":"36075","contact_id":"3624","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3624","uid":"u595","unique_id":"36075_3624_138-u595","ivrId":"3158","channelOTime":1742052802,"channelDTime":1742052814,"channelDuration":12,"cSTime":1742052811,"cETime":1742052814,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08416093372","server_ip":"118.185.137.196","insertTime":1742052814,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052807,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3624
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3624
            [uid] => u595
            [unique_id] => 36075_3624_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052802
            [channelDTime] => 1742052814
            [channelDuration] => 12
            [cSTime] => 1742052811
            [cETime] => 1742052814
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08416093372
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052814
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052807
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1364
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.11999999999821
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29986.639999999694
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1364
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.11999999999821
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.57000001149
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052816
{"compaign_id":"36075","contact_id":"3501","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3501","uid":"u595","unique_id":"36075_3501_138-u595","ivrId":"3158","channelOTime":1742052769,"channelDTime":1742052816,"channelDuration":47,"cSTime":1742052793,"cETime":1742052816,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08105559240","server_ip":"118.185.137.196","insertTime":1742052816,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052771,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052793,"endTime":1742052816,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3501
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3501
            [uid] => u595
            [unique_id] => 36075_3501_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052769
            [channelDTime] => 1742052816
            [channelDuration] => 47
            [cSTime] => 1742052793
            [cETime] => 1742052816
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08105559240
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052816
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052771
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052793
                                    [endTime] => 1742052816
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1365
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.19999999999821
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29986.559999999692
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1365
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.19999999999821
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.49000001149
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052818
{"compaign_id":"36075","contact_id":"3569","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3569","uid":"u595","unique_id":"36075_3569_138-u595","ivrId":"3158","channelOTime":1742052789,"channelDTime":1742052817,"channelDuration":28,"cSTime":1742052811,"cETime":1742052817,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09442942682","server_ip":"118.185.137.196","insertTime":1742052817,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052794,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3569
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3569
            [uid] => u595
            [unique_id] => 36075_3569_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052789
            [channelDTime] => 1742052817
            [channelDuration] => 28
            [cSTime] => 1742052811
            [cETime] => 1742052817
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09442942682
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052817
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052794
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1367
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.35999999999821
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29986.399999999692
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1367
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.35999999999821
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.33000001148
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052818
{"compaign_id":"36075","contact_id":"3585","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3585","uid":"u595","unique_id":"36075_3585_138-u595","ivrId":"3158","channelOTime":1742052793,"channelDTime":1742052817,"channelDuration":24,"cSTime":1742052816,"cETime":1742052817,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08011260981","server_ip":"118.185.137.196","insertTime":1742052817,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052795,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3585
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3585
            [uid] => u595
            [unique_id] => 36075_3585_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052793
            [channelDTime] => 1742052817
            [channelDuration] => 24
            [cSTime] => 1742052816
            [cETime] => 1742052817
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08011260981
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052817
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052795
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1368
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.43999999999821
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29986.31999999969
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1368
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.43999999999821
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.25000001148
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052819
{"compaign_id":"36075","contact_id":"3558","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3558","uid":"u595","unique_id":"36075_3558_138-u595","ivrId":"3158","channelOTime":1742052787,"channelDTime":1742052817,"channelDuration":30,"cSTime":1742052797,"cETime":1742052817,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08870605202","server_ip":"118.185.137.196","insertTime":1742052817,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052790,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3558
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3558
            [uid] => u595
            [unique_id] => 36075_3558_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052787
            [channelDTime] => 1742052817
            [channelDuration] => 30
            [cSTime] => 1742052797
            [cETime] => 1742052817
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08870605202
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052817
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052790
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1369
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.5199999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29986.23999999969
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1369
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.5199999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.17000001148
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052819
{"compaign_id":"36075","contact_id":"3614","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3614","uid":"u595","unique_id":"36075_3614_138-u595","ivrId":"3158","channelOTime":1742052800,"channelDTime":1742052817,"channelDuration":17,"cSTime":1742052808,"cETime":1742052817,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09838304118","server_ip":"118.185.137.196","insertTime":1742052817,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052803,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3614
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3614
            [uid] => u595
            [unique_id] => 36075_3614_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052800
            [channelDTime] => 1742052817
            [channelDuration] => 17
            [cSTime] => 1742052808
            [cETime] => 1742052817
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09838304118
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052817
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052803
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1371
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.6799999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29986.07999999969
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1371
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.6799999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96260.01000001148
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052819
{"compaign_id":"36075","contact_id":"3578","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3578","uid":"u595","unique_id":"36075_3578_138-u595","ivrId":"3158","channelOTime":1742052791,"channelDTime":1742052818,"channelDuration":27,"cSTime":1742052812,"cETime":1742052818,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08085872300","server_ip":"118.185.137.196","insertTime":1742052818,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052793,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3578
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3578
            [uid] => u595
            [unique_id] => 36075_3578_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052791
            [channelDTime] => 1742052818
            [channelDuration] => 27
            [cSTime] => 1742052812
            [cETime] => 1742052818
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08085872300
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052818
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052793
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1372
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.7599999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29985.999999999687
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1372
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.7599999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96259.93000001147
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052820
{"compaign_id":"36075","contact_id":"3616","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3616","uid":"u595","unique_id":"36075_3616_138-u595","ivrId":"3158","channelOTime":1742052801,"channelDTime":1742052819,"channelDuration":18,"cSTime":1742052810,"cETime":1742052819,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06303622093","server_ip":"118.185.137.196","insertTime":1742052819,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052802,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3616
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3616
            [uid] => u595
            [unique_id] => 36075_3616_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052801
            [channelDTime] => 1742052819
            [channelDuration] => 18
            [cSTime] => 1742052810
            [cETime] => 1742052819
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06303622093
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052819
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052802
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1373
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.8399999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29985.919999999685
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1373
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.8399999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96259.85000001147
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052820
{"compaign_id":"36075","contact_id":"3641","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3641","uid":"u595","unique_id":"36075_3641_138-u595","ivrId":"3158","channelOTime":1742052806,"channelDTime":1742052820,"channelDuration":14,"cSTime":1742052811,"cETime":1742052820,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07058317173","server_ip":"118.185.137.196","insertTime":1742052820,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052807,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3641
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3641
            [uid] => u595
            [unique_id] => 36075_3641_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052806
            [channelDTime] => 1742052820
            [channelDuration] => 14
            [cSTime] => 1742052811
            [cETime] => 1742052820
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07058317173
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052820
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052807
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1374
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.9199999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29985.839999999684
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1374
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.9199999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96259.77000001147
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052822
{"compaign_id":"36075","contact_id":"3610","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3610","uid":"u595","unique_id":"36075_3610_138-u595","ivrId":"3158","channelOTime":1742052800,"channelDTime":1742052821,"channelDuration":21,"cSTime":1742052809,"cETime":1742052821,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06362428564","server_ip":"118.185.137.196","insertTime":1742052821,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052801,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3610
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3610
            [uid] => u595
            [unique_id] => 36075_3610_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052800
            [channelDTime] => 1742052821
            [channelDuration] => 21
            [cSTime] => 1742052809
            [cETime] => 1742052821
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06362428564
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052821
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052801
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1375
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.9999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29985.759999999682
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1375
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 109.9999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96259.69000001147
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052822
{"compaign_id":"36075","contact_id":"3629","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3629","uid":"u595","unique_id":"36075_3629_138-u595","ivrId":"3158","channelOTime":1742052803,"channelDTime":1742052821,"channelDuration":18,"cSTime":1742052818,"cETime":1742052821,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09501315051","server_ip":"118.185.137.196","insertTime":1742052821,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052806,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3629
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3629
            [uid] => u595
            [unique_id] => 36075_3629_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052803
            [channelDTime] => 1742052821
            [channelDuration] => 18
            [cSTime] => 1742052818
            [cETime] => 1742052821
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09501315051
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052821
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052806
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1376
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.0799999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29985.67999999968
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1376
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.0799999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96259.61000001147
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052823
{"compaign_id":"36075","contact_id":"3521","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3521","uid":"u595","unique_id":"36075_3521_138-u595","ivrId":"3158","channelOTime":1742052773,"channelDTime":1742052821,"channelDuration":48,"cSTime":1742052798,"cETime":1742052821,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07397999731","server_ip":"118.185.137.196","insertTime":1742052821,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052775,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052798,"endTime":1742052821,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3521
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3521
            [uid] => u595
            [unique_id] => 36075_3521_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052773
            [channelDTime] => 1742052821
            [channelDuration] => 48
            [cSTime] => 1742052798
            [cETime] => 1742052821
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07397999731
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052821
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052775
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052798
                                    [endTime] => 1742052821
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1377
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.15999999999819
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29985.59999999968
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1377
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.15999999999819
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96259.53000001147
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052823
{"compaign_id":"36075","contact_id":"3572","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3572","uid":"u595","unique_id":"36075_3572_138-u595","ivrId":"3158","channelOTime":1742052790,"channelDTime":1742052822,"channelDuration":32,"cSTime":1742052798,"cETime":1742052822,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06355285140","server_ip":"118.185.137.196","insertTime":1742052822,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052794,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052798,"endTime":1742052822,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3572
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3572
            [uid] => u595
            [unique_id] => 36075_3572_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052790
            [channelDTime] => 1742052822
            [channelDuration] => 32
            [cSTime] => 1742052798
            [cETime] => 1742052822
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06355285140
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052822
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052794
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052798
                                    [endTime] => 1742052822
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1379
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.31999999999819
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29985.43999999968
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1379
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.31999999999819
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96259.37000001146
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052823
{"compaign_id":"36075","contact_id":"3605","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3605","uid":"u595","unique_id":"36075_3605_138-u595","ivrId":"3158","channelOTime":1742052799,"channelDTime":1742052824,"channelDuration":25,"cSTime":1742052810,"cETime":1742052824,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08837893859","server_ip":"118.185.137.196","insertTime":1742052824,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052800,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3605
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3605
            [uid] => u595
            [unique_id] => 36075_3605_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052799
            [channelDTime] => 1742052824
            [channelDuration] => 25
            [cSTime] => 1742052810
            [cETime] => 1742052824
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08837893859
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052824
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052800
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1381
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.47999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29985.27999999968
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1381
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.47999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96259.21000001146
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052825
{"compaign_id":"36075","contact_id":"3646","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3646","uid":"u595","unique_id":"36075_3646_138-u595","ivrId":"3158","channelOTime":1742052807,"channelDTime":1742052824,"channelDuration":17,"cSTime":1742052819,"cETime":1742052824,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08668157228","server_ip":"118.185.137.196","insertTime":1742052824,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052808,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3646
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3646
            [uid] => u595
            [unique_id] => 36075_3646_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052807
            [channelDTime] => 1742052824
            [channelDuration] => 17
            [cSTime] => 1742052819
            [cETime] => 1742052824
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08668157228
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052824
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052808
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1382
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.55999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29985.199999999677
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1382
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.55999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96259.13000001146
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052826
{"compaign_id":"36075","contact_id":"3593","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3593","uid":"u595","unique_id":"36075_3593_138-u595","ivrId":"3158","channelOTime":1742052794,"channelDTime":1742052825,"channelDuration":31,"cSTime":1742052812,"cETime":1742052825,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09483181292","server_ip":"118.185.137.196","insertTime":1742052825,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052796,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3593
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3593
            [uid] => u595
            [unique_id] => 36075_3593_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052794
            [channelDTime] => 1742052825
            [channelDuration] => 31
            [cSTime] => 1742052812
            [cETime] => 1742052825
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09483181292
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052825
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052796
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1383
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.63999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29985.119999999675
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1383
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.63999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96259.05000001146
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052826
{"compaign_id":"36075","contact_id":"3604","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3604","uid":"u595","unique_id":"36075_3604_138-u595","ivrId":"3158","channelOTime":1742052798,"channelDTime":1742052825,"channelDuration":27,"cSTime":1742052817,"cETime":1742052825,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06003792897","server_ip":"118.185.137.196","insertTime":1742052825,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052801,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3604
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3604
            [uid] => u595
            [unique_id] => 36075_3604_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052798
            [channelDTime] => 1742052825
            [channelDuration] => 27
            [cSTime] => 1742052817
            [cETime] => 1742052825
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06003792897
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052825
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052801
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1384
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.71999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29985.039999999673
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1384
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.71999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.97000001145
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052827
{"compaign_id":"36075","contact_id":"3669","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3669","uid":"u595","unique_id":"36075_3669_138-u595","ivrId":"3158","channelOTime":1742052813,"channelDTime":1742052825,"channelDuration":12,"cSTime":1742052822,"cETime":1742052825,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07304040253","server_ip":"118.185.137.196","insertTime":1742052825,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052817,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3669
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3669
            [uid] => u595
            [unique_id] => 36075_3669_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052813
            [channelDTime] => 1742052825
            [channelDuration] => 12
            [cSTime] => 1742052822
            [cETime] => 1742052825
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07304040253
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052825
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052817
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1385
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.79999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29984.95999999967
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1385
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.79999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.89000001145
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052827
{"compaign_id":"36075","contact_id":"3575","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3575","uid":"u595","unique_id":"36075_3575_138-u595","ivrId":"3158","channelOTime":1742052791,"channelDTime":1742052829,"channelDuration":38,"cSTime":1742052814,"cETime":1742052829,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08660917858","server_ip":"118.185.137.196","insertTime":1742052829,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052794,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3575
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3575
            [uid] => u595
            [unique_id] => 36075_3575_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052791
            [channelDTime] => 1742052829
            [channelDuration] => 38
            [cSTime] => 1742052814
            [cETime] => 1742052829
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08660917858
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052829
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052794
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1386
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.87999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29984.87999999967
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1386
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.87999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.81000001145
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052831
{"compaign_id":"36075","contact_id":"3694","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3694","uid":"u595","unique_id":"36075_3694_138-u595","ivrId":"3158","channelOTime":1742052818,"channelDTime":1742052829,"channelDuration":11,"cSTime":1742052826,"cETime":1742052829,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09841298243","server_ip":"118.185.137.196","insertTime":1742052829,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052821,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3694
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3694
            [uid] => u595
            [unique_id] => 36075_3694_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052818
            [channelDTime] => 1742052829
            [channelDuration] => 11
            [cSTime] => 1742052826
            [cETime] => 1742052829
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09841298243
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052829
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052821
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1387
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.95999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29984.79999999967
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1387
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 110.95999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.73000001145
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052831
{"compaign_id":"36075","contact_id":"3609","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3609","uid":"u595","unique_id":"36075_3609_138-u595","ivrId":"3158","channelOTime":1742052799,"channelDTime":1742052830,"channelDuration":31,"cSTime":1742052814,"cETime":1742052830,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07703889124","server_ip":"118.185.137.196","insertTime":1742052830,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052802,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3609
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3609
            [uid] => u595
            [unique_id] => 36075_3609_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052799
            [channelDTime] => 1742052830
            [channelDuration] => 31
            [cSTime] => 1742052814
            [cETime] => 1742052830
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07703889124
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052830
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052802
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1388
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.03999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29984.719999999666
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1388
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.03999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.65000001145
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052831
{"compaign_id":"36075","contact_id":"3652","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3652","uid":"u595","unique_id":"36075_3652_138-u595","ivrId":"3158","channelOTime":1742052810,"channelDTime":1742052831,"channelDuration":21,"cSTime":1742052825,"cETime":1742052831,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08484921501","server_ip":"118.185.137.196","insertTime":1742052831,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052812,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3652
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3652
            [uid] => u595
            [unique_id] => 36075_3652_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052810
            [channelDTime] => 1742052831
            [channelDuration] => 21
            [cSTime] => 1742052825
            [cETime] => 1742052831
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08484921501
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052831
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052812
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1390
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.19999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29984.559999999667
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1390
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.19999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.49000001144
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052833
{"compaign_id":"36075","contact_id":"3649","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3649","uid":"u595","unique_id":"36075_3649_138-u595","ivrId":"3158","channelOTime":1742052807,"channelDTime":1742052831,"channelDuration":24,"cSTime":1742052816,"cETime":1742052831,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07006201489","server_ip":"118.185.137.196","insertTime":1742052831,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052813,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3649
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3649
            [uid] => u595
            [unique_id] => 36075_3649_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052807
            [channelDTime] => 1742052831
            [channelDuration] => 24
            [cSTime] => 1742052816
            [cETime] => 1742052831
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07006201489
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052831
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052813
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1391
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.27999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29984.479999999665
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1391
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.27999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.41000001144
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052833
{"compaign_id":"36075","contact_id":"3607","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3607","uid":"u595","unique_id":"36075_3607_138-u595","ivrId":"3158","channelOTime":1742052799,"channelDTime":1742052831,"channelDuration":32,"cSTime":1742052816,"cETime":1742052831,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07041985532","server_ip":"118.185.137.196","insertTime":1742052831,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052802,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3607
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3607
            [uid] => u595
            [unique_id] => 36075_3607_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052799
            [channelDTime] => 1742052831
            [channelDuration] => 32
            [cSTime] => 1742052816
            [cETime] => 1742052831
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07041985532
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052831
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052802
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1392
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.35999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29984.399999999663
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1392
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.35999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.33000001144
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052833
{"compaign_id":"36075","contact_id":"3608","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3608","uid":"u595","unique_id":"36075_3608_138-u595","ivrId":"3158","channelOTime":1742052799,"channelDTime":1742052832,"channelDuration":33,"cSTime":1742052828,"cETime":1742052832,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08582009241","server_ip":"118.185.137.196","insertTime":1742052832,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052804,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3608
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3608
            [uid] => u595
            [unique_id] => 36075_3608_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052799
            [channelDTime] => 1742052832
            [channelDuration] => 33
            [cSTime] => 1742052828
            [cETime] => 1742052832
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08582009241
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052832
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052804
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1393
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.43999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29984.31999999966
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1393
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.43999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.25000001144
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052834
{"compaign_id":"36075","contact_id":"3673","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3673","uid":"u595","unique_id":"36075_3673_138-u595","ivrId":"3158","channelOTime":1742052814,"channelDTime":1742052833,"channelDuration":19,"cSTime":1742052831,"cETime":1742052833,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08688038487","server_ip":"118.185.137.196","insertTime":1742052833,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052816,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3673
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3673
            [uid] => u595
            [unique_id] => 36075_3673_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052814
            [channelDTime] => 1742052833
            [channelDuration] => 19
            [cSTime] => 1742052831
            [cETime] => 1742052833
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08688038487
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052833
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052816
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1394
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.51999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29984.23999999966
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1394
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.51999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.17000001144
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052835
{"compaign_id":"36075","contact_id":"3617","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3617","uid":"u595","unique_id":"36075_3617_138-u595","ivrId":"3158","channelOTime":1742052801,"channelDTime":1742052834,"channelDuration":33,"cSTime":1742052821,"cETime":1742052834,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09780742745","server_ip":"118.185.137.196","insertTime":1742052834,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052812,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3617
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3617
            [uid] => u595
            [unique_id] => 36075_3617_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052801
            [channelDTime] => 1742052834
            [channelDuration] => 33
            [cSTime] => 1742052821
            [cETime] => 1742052834
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09780742745
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052834
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052812
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1395
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.59999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29984.159999999658
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1395
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.59999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.09000001143
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052836
{"compaign_id":"36075","contact_id":"3670","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3670","uid":"u595","unique_id":"36075_3670_138-u595","ivrId":"3158","channelOTime":1742052814,"channelDTime":1742052838,"channelDuration":24,"cSTime":1742052829,"cETime":1742052838,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07002722399","server_ip":"118.185.137.196","insertTime":1742052838,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052817,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3670
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3670
            [uid] => u595
            [unique_id] => 36075_3670_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052814
            [channelDTime] => 1742052838
            [channelDuration] => 24
            [cSTime] => 1742052829
            [cETime] => 1742052838
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07002722399
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052838
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052817
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1396
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.67999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29984.079999999656
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1396
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.67999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96258.01000001143
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052839
{"compaign_id":"36075","contact_id":"3701","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3701","uid":"u595","unique_id":"36075_3701_138-u595","ivrId":"3158","channelOTime":1742052822,"channelDTime":1742052838,"channelDuration":16,"cSTime":1742052833,"cETime":1742052838,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06291574388","server_ip":"118.185.137.196","insertTime":1742052838,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052825,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3701
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3701
            [uid] => u595
            [unique_id] => 36075_3701_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052822
            [channelDTime] => 1742052838
            [channelDuration] => 16
            [cSTime] => 1742052833
            [cETime] => 1742052838
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06291574388
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052838
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052825
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1397
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.75999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29983.999999999654
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1397
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.75999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96257.93000001143
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052840
{"compaign_id":"36075","contact_id":"3640","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3640","uid":"u595","unique_id":"36075_3640_138-u595","ivrId":"3158","channelOTime":1742052806,"channelDTime":1742052839,"channelDuration":33,"cSTime":1742052831,"cETime":1742052839,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06290856270","server_ip":"118.185.137.196","insertTime":1742052839,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052809,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3640
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3640
            [uid] => u595
            [unique_id] => 36075_3640_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052806
            [channelDTime] => 1742052839
            [channelDuration] => 33
            [cSTime] => 1742052831
            [cETime] => 1742052839
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06290856270
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052839
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052809
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1398
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.83999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29983.919999999653
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1398
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.83999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96257.85000001143
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052840
{"compaign_id":"36075","contact_id":"3743","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3743","uid":"u595","unique_id":"36075_3743_138-u595","ivrId":"3158","channelOTime":1742052830,"channelDTime":1742052839,"channelDuration":9,"cSTime":1742052836,"cETime":1742052839,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09380433880","server_ip":"118.185.137.196","insertTime":1742052839,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052832,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3743
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3743
            [uid] => u595
            [unique_id] => 36075_3743_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052830
            [channelDTime] => 1742052839
            [channelDuration] => 9
            [cSTime] => 1742052836
            [cETime] => 1742052839
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09380433880
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052839
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052832
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1399
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.91999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29983.83999999965
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1399
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.91999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96257.77000001143
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052841
{"compaign_id":"36075","contact_id":"3660","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3660","uid":"u595","unique_id":"36075_3660_138-u595","ivrId":"3158","channelOTime":1742052812,"channelDTime":1742052840,"channelDuration":28,"cSTime":1742052826,"cETime":1742052840,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09519457102","server_ip":"118.185.137.196","insertTime":1742052840,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052815,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3660
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3660
            [uid] => u595
            [unique_id] => 36075_3660_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052812
            [channelDTime] => 1742052840
            [channelDuration] => 28
            [cSTime] => 1742052826
            [cETime] => 1742052840
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09519457102
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052840
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052815
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1400
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.99999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29983.75999999965
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1400
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 111.99999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96257.69000001143
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052842
2025-03-15 21:04:02[LOG]Starting Cron
2025-03-15 21:04:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"3650","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3650","uid":"u595","unique_id":"36075_3650_138-u595","ivrId":"3158","channelOTime":1742052810,"channelDTime":1742052841,"channelDuration":31,"cSTime":1742052819,"cETime":1742052841,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07842209560","server_ip":"118.185.137.196","insertTime":1742052841,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052812,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052819,"endTime":1742052835,"duration":16}],"#3":[{"startTime":1742052835,"endTime":1742052841,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3650
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3650
            [uid] => u595
            [unique_id] => 36075_3650_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052810
            [channelDTime] => 1742052841
            [channelDuration] => 31
            [cSTime] => 1742052819
            [cETime] => 1742052841
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07842209560
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052841
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052812
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052819
                                    [endTime] => 1742052835
                                    [duration] => 16
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052835
                                    [endTime] => 1742052841
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1401
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.07999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29983.679999999647
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1401
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.07999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96257.61000001142
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052843
{"compaign_id":"36075","contact_id":"3707","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3707","uid":"u595","unique_id":"36075_3707_138-u595","ivrId":"3158","channelOTime":1742052823,"channelDTime":1742052841,"channelDuration":18,"cSTime":1742052837,"cETime":1742052841,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07489593713","server_ip":"118.185.137.196","insertTime":1742052841,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052824,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3707
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3707
            [uid] => u595
            [unique_id] => 36075_3707_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052823
            [channelDTime] => 1742052841
            [channelDuration] => 18
            [cSTime] => 1742052837
            [cETime] => 1742052841
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07489593713
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052841
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052824
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1403
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.23999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29983.519999999648
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1403
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.23999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96257.45000001142
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052843
{"compaign_id":"36075","contact_id":"3656","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3656","uid":"u595","unique_id":"36075_3656_138-u595","ivrId":"3158","channelOTime":1742052811,"channelDTime":1742052842,"channelDuration":31,"cSTime":1742052822,"cETime":1742052842,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08127754566","server_ip":"118.185.137.196","insertTime":1742052842,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052813,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3656
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3656
            [uid] => u595
            [unique_id] => 36075_3656_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052811
            [channelDTime] => 1742052842
            [channelDuration] => 31
            [cSTime] => 1742052822
            [cETime] => 1742052842
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08127754566
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052842
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052813
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1404
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.31999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29983.439999999646
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1404
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.31999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96257.37000001142
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052843
{"compaign_id":"36075","contact_id":"3683","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3683","uid":"u595","unique_id":"36075_3683_138-u595","ivrId":"3158","channelOTime":1742052816,"channelDTime":1742052842,"channelDuration":26,"cSTime":1742052834,"cETime":1742052842,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06281868752","server_ip":"118.185.137.196","insertTime":1742052842,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052820,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3683
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3683
            [uid] => u595
            [unique_id] => 36075_3683_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052816
            [channelDTime] => 1742052842
            [channelDuration] => 26
            [cSTime] => 1742052834
            [cETime] => 1742052842
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06281868752
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052842
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052820
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1406
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.47999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29983.279999999646
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1406
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.47999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96257.21000001142
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052844
{"compaign_id":"36075","contact_id":"3737","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3737","uid":"u595","unique_id":"36075_3737_138-u595","ivrId":"3158","channelOTime":1742052829,"channelDTime":1742052842,"channelDuration":13,"cSTime":1742052838,"cETime":1742052842,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09000772900","server_ip":"118.185.137.196","insertTime":1742052842,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052830,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3737
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3737
            [uid] => u595
            [unique_id] => 36075_3737_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052829
            [channelDTime] => 1742052842
            [channelDuration] => 13
            [cSTime] => 1742052838
            [cETime] => 1742052842
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09000772900
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052842
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052830
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1407
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.55999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29983.199999999644
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1407
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.55999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96257.13000001141
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052844
{"compaign_id":"36075","contact_id":"3703","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3703","uid":"u595","unique_id":"36075_3703_138-u595","ivrId":"3158","channelOTime":1742052822,"channelDTime":1742052843,"channelDuration":21,"cSTime":1742052835,"cETime":1742052843,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08953274030","server_ip":"118.185.137.196","insertTime":1742052843,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052825,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3703
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3703
            [uid] => u595
            [unique_id] => 36075_3703_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052822
            [channelDTime] => 1742052843
            [channelDuration] => 21
            [cSTime] => 1742052835
            [cETime] => 1742052843
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08953274030
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052843
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052825
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1408
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.63999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29983.119999999642
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1408
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.63999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96257.05000001141
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052845
{"compaign_id":"36075","contact_id":"3735","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3735","uid":"u595","unique_id":"36075_3735_138-u595","ivrId":"3158","channelOTime":1742052829,"channelDTime":1742052844,"channelDuration":15,"cSTime":1742052839,"cETime":1742052844,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07781971587","server_ip":"118.185.137.196","insertTime":1742052844,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052831,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3735
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3735
            [uid] => u595
            [unique_id] => 36075_3735_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052829
            [channelDTime] => 1742052844
            [channelDuration] => 15
            [cSTime] => 1742052839
            [cETime] => 1742052844
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07781971587
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052844
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052831
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1409
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.71999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29983.03999999964
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1409
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.71999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96256.97000001141
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052845
{"compaign_id":"36075","contact_id":"3713","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3713","uid":"u595","unique_id":"36075_3713_138-u595","ivrId":"3158","channelOTime":1742052824,"channelDTime":1742052844,"channelDuration":20,"cSTime":1742052841,"cETime":1742052844,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08217671123","server_ip":"118.185.137.196","insertTime":1742052844,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052827,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3713
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3713
            [uid] => u595
            [unique_id] => 36075_3713_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052824
            [channelDTime] => 1742052844
            [channelDuration] => 20
            [cSTime] => 1742052841
            [cETime] => 1742052844
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08217671123
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052844
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052827
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1410
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.79999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29982.95999999964
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1410
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.79999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96256.89000001141
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052845
{"compaign_id":"36075","contact_id":"3642","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3642","uid":"u595","unique_id":"36075_3642_138-u595","ivrId":"3158","channelOTime":1742052806,"channelDTime":1742052844,"channelDuration":38,"cSTime":1742052827,"cETime":1742052844,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09789841767","server_ip":"118.185.137.196","insertTime":1742052844,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052808,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3642
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3642
            [uid] => u595
            [unique_id] => 36075_3642_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052806
            [channelDTime] => 1742052844
            [channelDuration] => 38
            [cSTime] => 1742052827
            [cETime] => 1742052844
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09789841767
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052844
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052808
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1411
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.87999999999813
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29982.879999999637
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1411
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 112.87999999999813
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96256.8100000114
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052846
{"compaign_id":"36075","contact_id":"3715","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3715","uid":"u595","unique_id":"36075_3715_138-u595","ivrId":"3158","channelOTime":1742052825,"channelDTime":1742052845,"channelDuration":20,"cSTime":1742052835,"cETime":1742052845,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08149271216","server_ip":"118.185.137.196","insertTime":1742052845,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052827,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3715
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3715
            [uid] => u595
            [unique_id] => 36075_3715_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052825
            [channelDTime] => 1742052845
            [channelDuration] => 20
            [cSTime] => 1742052835
            [cETime] => 1742052845
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08149271216
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052845
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052827
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1413
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.03999999999813
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29982.719999999637
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1413
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.03999999999813
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96256.6500000114
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052847
{"compaign_id":"36075","contact_id":"3744","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3744","uid":"u595","unique_id":"36075_3744_138-u595","ivrId":"3158","channelOTime":1742052830,"channelDTime":1742052846,"channelDuration":16,"cSTime":1742052839,"cETime":1742052846,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09359577944","server_ip":"118.185.137.196","insertTime":1742052846,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052832,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3744
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3744
            [uid] => u595
            [unique_id] => 36075_3744_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052830
            [channelDTime] => 1742052846
            [channelDuration] => 16
            [cSTime] => 1742052839
            [cETime] => 1742052846
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09359577944
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052846
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052832
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1414
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.11999999999813
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29982.639999999636
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1414
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.11999999999813
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96256.5700000114
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052847
{"compaign_id":"36075","contact_id":"3661","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3661","uid":"u595","unique_id":"36075_3661_138-u595","ivrId":"3158","channelOTime":1742052812,"channelDTime":1742052846,"channelDuration":34,"cSTime":1742052826,"cETime":1742052846,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08899145209","server_ip":"118.185.137.196","insertTime":1742052846,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052816,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3661
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3661
            [uid] => u595
            [unique_id] => 36075_3661_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052812
            [channelDTime] => 1742052846
            [channelDuration] => 34
            [cSTime] => 1742052826
            [cETime] => 1742052846
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08899145209
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052846
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052816
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1415
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.19999999999813
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29982.559999999634
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1415
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.19999999999813
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96256.4900000114
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052848
{"compaign_id":"36075","contact_id":"3756","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3756","uid":"u595","unique_id":"36075_3756_138-u595","ivrId":"3158","channelOTime":1742052835,"channelDTime":1742052847,"channelDuration":12,"cSTime":1742052844,"cETime":1742052847,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09048707410","server_ip":"118.185.137.196","insertTime":1742052847,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052836,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3756
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3756
            [uid] => u595
            [unique_id] => 36075_3756_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052835
            [channelDTime] => 1742052847
            [channelDuration] => 12
            [cSTime] => 1742052844
            [cETime] => 1742052847
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09048707410
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052847
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052836
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1417
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.35999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29982.399999999634
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1417
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.35999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96256.3300000114
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052849
{"compaign_id":"36075","contact_id":"3750","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3750","uid":"u595","unique_id":"36075_3750_138-u595","ivrId":"3158","channelOTime":1742052834,"channelDTime":1742052848,"channelDuration":14,"cSTime":1742052845,"cETime":1742052848,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08882460789","server_ip":"118.185.137.196","insertTime":1742052848,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052835,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3750
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3750
            [uid] => u595
            [unique_id] => 36075_3750_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052834
            [channelDTime] => 1742052848
            [channelDuration] => 14
            [cSTime] => 1742052845
            [cETime] => 1742052848
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08882460789
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052848
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052835
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1418
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.43999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29982.319999999632
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1418
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.43999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96256.2500000114
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052850
{"compaign_id":"36075","contact_id":"3688","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3688","uid":"u595","unique_id":"36075_3688_138-u595","ivrId":"3158","channelOTime":1742052817,"channelDTime":1742052849,"channelDuration":32,"cSTime":1742052835,"cETime":1742052849,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09775004907","server_ip":"118.185.137.196","insertTime":1742052849,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052820,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3688
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3688
            [uid] => u595
            [unique_id] => 36075_3688_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052817
            [channelDTime] => 1742052849
            [channelDuration] => 32
            [cSTime] => 1742052835
            [cETime] => 1742052849
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09775004907
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052849
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052820
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1419
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.51999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29982.23999999963
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1419
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.51999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96256.17000001139
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052850
{"compaign_id":"36075","contact_id":"3719","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3719","uid":"u595","unique_id":"36075_3719_138-u595","ivrId":"3158","channelOTime":1742052825,"channelDTime":1742052849,"channelDuration":24,"cSTime":1742052848,"cETime":1742052849,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09036650815","server_ip":"118.185.137.196","insertTime":1742052849,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052828,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3719
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3719
            [uid] => u595
            [unique_id] => 36075_3719_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052825
            [channelDTime] => 1742052849
            [channelDuration] => 24
            [cSTime] => 1742052848
            [cETime] => 1742052849
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09036650815
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052849
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052828
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1420
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.59999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29982.15999999963
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1420
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.59999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96256.09000001139
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052851
{"compaign_id":"36075","contact_id":"3710","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3710","uid":"u595","unique_id":"36075_3710_138-u595","ivrId":"3158","channelOTime":1742052824,"channelDTime":1742052850,"channelDuration":26,"cSTime":1742052841,"cETime":1742052850,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07003517019","server_ip":"118.185.137.196","insertTime":1742052850,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052825,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3710
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3710
            [uid] => u595
            [unique_id] => 36075_3710_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052824
            [channelDTime] => 1742052850
            [channelDuration] => 26
            [cSTime] => 1742052841
            [cETime] => 1742052850
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07003517019
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052850
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052825
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1421
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.67999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29982.079999999627
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1421
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.67999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96256.01000001139
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052851
{"compaign_id":"36075","contact_id":"3760","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3760","uid":"u595","unique_id":"36075_3760_138-u595","ivrId":"3158","channelOTime":1742052836,"channelDTime":1742052851,"channelDuration":15,"cSTime":1742052844,"cETime":1742052851,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06388644311","server_ip":"118.185.137.196","insertTime":1742052851,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052838,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3760
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3760
            [uid] => u595
            [unique_id] => 36075_3760_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052836
            [channelDTime] => 1742052851
            [channelDuration] => 15
            [cSTime] => 1742052844
            [cETime] => 1742052851
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06388644311
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052851
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052838
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1422
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.75999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29981.999999999625
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1422
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.75999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96255.93000001139
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052852
{"compaign_id":"36075","contact_id":"3725","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3725","uid":"u595","unique_id":"36075_3725_138-u595","ivrId":"3158","channelOTime":1742052827,"channelDTime":1742052851,"channelDuration":24,"cSTime":1742052839,"cETime":1742052851,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08459175119","server_ip":"118.185.137.196","insertTime":1742052851,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052829,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3725
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3725
            [uid] => u595
            [unique_id] => 36075_3725_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052827
            [channelDTime] => 1742052851
            [channelDuration] => 24
            [cSTime] => 1742052839
            [cETime] => 1742052851
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08459175119
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052851
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052829
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1423
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.83999999999811
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29981.919999999624
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1423
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.83999999999811
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96255.85000001139
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052852
{"compaign_id":"36075","contact_id":"3769","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3769","uid":"u595","unique_id":"36075_3769_138-u595","ivrId":"3158","channelOTime":1742052837,"channelDTime":1742052852,"channelDuration":15,"cSTime":1742052847,"cETime":1742052852,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07908638384","server_ip":"118.185.137.196","insertTime":1742052852,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052839,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3769
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3769
            [uid] => u595
            [unique_id] => 36075_3769_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052837
            [channelDTime] => 1742052852
            [channelDuration] => 15
            [cSTime] => 1742052847
            [cETime] => 1742052852
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07908638384
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052852
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052839
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1424
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.91999999999811
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29981.83999999962
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1424
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.91999999999811
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96255.77000001138
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052853
{"compaign_id":"36075","contact_id":"3741","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3741","uid":"u595","unique_id":"36075_3741_138-u595","ivrId":"3158","channelOTime":1742052830,"channelDTime":1742052852,"channelDuration":22,"cSTime":1742052840,"cETime":1742052852,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08709999503","server_ip":"118.185.137.196","insertTime":1742052852,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052831,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3741
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3741
            [uid] => u595
            [unique_id] => 36075_3741_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052830
            [channelDTime] => 1742052852
            [channelDuration] => 22
            [cSTime] => 1742052840
            [cETime] => 1742052852
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08709999503
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052852
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052831
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1425
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.99999999999811
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29981.75999999962
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1425
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 113.99999999999811
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96255.69000001138
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052854
{"compaign_id":"36075","contact_id":"3662","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3662","uid":"u595","unique_id":"36075_3662_138-u595","ivrId":"3158","channelOTime":1742052812,"channelDTime":1742052853,"channelDuration":41,"cSTime":1742052829,"cETime":1742052853,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08340158543","server_ip":"118.185.137.196","insertTime":1742052853,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052813,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052829,"endTime":1742052853,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3662
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3662
            [uid] => u595
            [unique_id] => 36075_3662_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052812
            [channelDTime] => 1742052853
            [channelDuration] => 41
            [cSTime] => 1742052829
            [cETime] => 1742052853
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08340158543
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052853
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052813
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052829
                                    [endTime] => 1742052853
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1426
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.07999999999811
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29981.67999999962
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1426
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.07999999999811
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96255.61000001138
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052855
{"compaign_id":"36075","contact_id":"3722","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3722","uid":"u595","unique_id":"36075_3722_138-u595","ivrId":"3158","channelOTime":1742052826,"channelDTime":1742052853,"channelDuration":27,"cSTime":1742052848,"cETime":1742052853,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09769671882","server_ip":"118.185.137.196","insertTime":1742052853,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052832,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3722
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3722
            [uid] => u595
            [unique_id] => 36075_3722_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052826
            [channelDTime] => 1742052853
            [channelDuration] => 27
            [cSTime] => 1742052848
            [cETime] => 1742052853
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09769671882
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052853
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052832
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1428
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.2399999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29981.51999999962
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1428
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.2399999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96255.45000001138
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052855
{"compaign_id":"36075","contact_id":"3655","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3655","uid":"u595","unique_id":"36075_3655_138-u595","ivrId":"3158","channelOTime":1742052811,"channelDTime":1742052853,"channelDuration":42,"cSTime":1742052830,"cETime":1742052853,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09182429312","server_ip":"118.185.137.196","insertTime":1742052853,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052813,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052830,"endTime":1742052853,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3655
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3655
            [uid] => u595
            [unique_id] => 36075_3655_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052811
            [channelDTime] => 1742052853
            [channelDuration] => 42
            [cSTime] => 1742052830
            [cETime] => 1742052853
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09182429312
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052853
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052813
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052830
                                    [endTime] => 1742052853
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1429
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.3199999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29981.439999999617
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1429
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.3199999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96255.37000001137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052855
{"compaign_id":"36075","contact_id":"3754","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3754","uid":"u595","unique_id":"36075_3754_138-u595","ivrId":"3158","channelOTime":1742052834,"channelDTime":1742052853,"channelDuration":19,"cSTime":1742052848,"cETime":1742052853,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07416442388","server_ip":"118.185.137.196","insertTime":1742052853,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052837,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3754
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3754
            [uid] => u595
            [unique_id] => 36075_3754_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052834
            [channelDTime] => 1742052853
            [channelDuration] => 19
            [cSTime] => 1742052848
            [cETime] => 1742052853
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07416442388
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052853
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052837
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1431
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.4799999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29981.279999999617
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1431
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.4799999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96255.21000001137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052855
{"compaign_id":"36075","contact_id":"3699","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3699","uid":"u595","unique_id":"36075_3699_138-u595","ivrId":"3158","channelOTime":1742052819,"channelDTime":1742052854,"channelDuration":35,"cSTime":1742052845,"cETime":1742052854,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07020912848","server_ip":"118.185.137.196","insertTime":1742052854,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052822,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3699
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3699
            [uid] => u595
            [unique_id] => 36075_3699_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052819
            [channelDTime] => 1742052854
            [channelDuration] => 35
            [cSTime] => 1742052845
            [cETime] => 1742052854
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07020912848
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052854
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052822
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1432
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.5599999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29981.199999999615
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1432
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.5599999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96255.13000001137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052855
{"compaign_id":"36075","contact_id":"3702","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3702","uid":"u595","unique_id":"36075_3702_138-u595","ivrId":"3158","channelOTime":1742052822,"channelDTime":1742052854,"channelDuration":32,"cSTime":1742052842,"cETime":1742052854,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09726868181","server_ip":"118.185.137.196","insertTime":1742052854,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052824,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3702
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3702
            [uid] => u595
            [unique_id] => 36075_3702_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052822
            [channelDTime] => 1742052854
            [channelDuration] => 32
            [cSTime] => 1742052842
            [cETime] => 1742052854
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09726868181
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052854
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052824
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1433
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.6399999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29981.119999999613
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1433
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.6399999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96255.05000001137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052855
{"compaign_id":"36075","contact_id":"3742","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3742","uid":"u595","unique_id":"36075_3742_138-u595","ivrId":"3158","channelOTime":1742052830,"channelDTime":1742052854,"channelDuration":24,"cSTime":1742052843,"cETime":1742052854,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09695991781","server_ip":"118.185.137.196","insertTime":1742052854,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052832,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3742
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3742
            [uid] => u595
            [unique_id] => 36075_3742_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052830
            [channelDTime] => 1742052854
            [channelDuration] => 24
            [cSTime] => 1742052843
            [cETime] => 1742052854
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09695991781
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052854
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052832
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1434
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.7199999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29981.03999999961
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1434
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.7199999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96254.97000001137
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052856
{"compaign_id":"36075","contact_id":"3778","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3778","uid":"u595","unique_id":"36075_3778_138-u595","ivrId":"3158","channelOTime":1742052839,"channelDTime":1742052854,"channelDuration":15,"cSTime":1742052850,"cETime":1742052854,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07038027902","server_ip":"118.185.137.196","insertTime":1742052854,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052844,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3778
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3778
            [uid] => u595
            [unique_id] => 36075_3778_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052839
            [channelDTime] => 1742052854
            [channelDuration] => 15
            [cSTime] => 1742052850
            [cETime] => 1742052854
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07038027902
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052854
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052844
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1435
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.7999999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29980.95999999961
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1435
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.7999999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96254.89000001136
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052856
{"compaign_id":"36075","contact_id":"3782","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3782","uid":"u595","unique_id":"36075_3782_138-u595","ivrId":"3158","channelOTime":1742052840,"channelDTime":1742052854,"channelDuration":14,"cSTime":1742052850,"cETime":1742052854,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09559261397","server_ip":"118.185.137.196","insertTime":1742052854,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052841,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3782
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3782
            [uid] => u595
            [unique_id] => 36075_3782_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052840
            [channelDTime] => 1742052854
            [channelDuration] => 14
            [cSTime] => 1742052850
            [cETime] => 1742052854
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09559261397
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052854
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052841
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1436
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.87999999999809
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29980.879999999608
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1436
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.87999999999809
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96254.81000001136
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052856
{"compaign_id":"36075","contact_id":"3685","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3685","uid":"u595","unique_id":"36075_3685_138-u595","ivrId":"3158","channelOTime":1742052817,"channelDTime":1742052856,"channelDuration":39,"cSTime":1742052832,"cETime":1742052856,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09080956721","server_ip":"118.185.137.196","insertTime":1742052856,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052821,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052832,"endTime":1742052855,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3685
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3685
            [uid] => u595
            [unique_id] => 36075_3685_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052817
            [channelDTime] => 1742052856
            [channelDuration] => 39
            [cSTime] => 1742052832
            [cETime] => 1742052856
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09080956721
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052856
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052821
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052832
                                    [endTime] => 1742052855
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1437
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.95999999999809
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29980.799999999606
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1437
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 114.95999999999809
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96254.73000001136
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052857
{"compaign_id":"36075","contact_id":"3758","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3758","uid":"u595","unique_id":"36075_3758_138-u595","ivrId":"3158","channelOTime":1742052835,"channelDTime":1742052856,"channelDuration":21,"cSTime":1742052846,"cETime":1742052856,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07052040268","server_ip":"118.185.137.196","insertTime":1742052856,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052837,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3758
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3758
            [uid] => u595
            [unique_id] => 36075_3758_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052835
            [channelDTime] => 1742052856
            [channelDuration] => 21
            [cSTime] => 1742052846
            [cETime] => 1742052856
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07052040268
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052856
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052837
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1439
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.11999999999809
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29980.639999999607
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1439
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.11999999999809
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96254.57000001136
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052857
{"compaign_id":"36075","contact_id":"3766","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3766","uid":"u595","unique_id":"36075_3766_138-u595","ivrId":"3158","channelOTime":1742052837,"channelDTime":1742052856,"channelDuration":19,"cSTime":1742052853,"cETime":1742052856,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07595969761","server_ip":"118.185.137.196","insertTime":1742052856,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052842,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3766
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3766
            [uid] => u595
            [unique_id] => 36075_3766_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052837
            [channelDTime] => 1742052856
            [channelDuration] => 19
            [cSTime] => 1742052853
            [cETime] => 1742052856
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07595969761
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052856
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052842
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1440
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.19999999999808
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29980.559999999605
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1440
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.19999999999808
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96254.49000001136
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052858
{"compaign_id":"36075","contact_id":"3781","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3781","uid":"u595","unique_id":"36075_3781_138-u595","ivrId":"3158","channelOTime":1742052840,"channelDTime":1742052857,"channelDuration":17,"cSTime":1742052848,"cETime":1742052857,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07599400772","server_ip":"118.185.137.196","insertTime":1742052857,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052842,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3781
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3781
            [uid] => u595
            [unique_id] => 36075_3781_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052840
            [channelDTime] => 1742052857
            [channelDuration] => 17
            [cSTime] => 1742052848
            [cETime] => 1742052857
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07599400772
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052857
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052842
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1441
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.27999999999808
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29980.479999999603
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1441
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.27999999999808
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96254.41000001135
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052859
{"compaign_id":"36075","contact_id":"3705","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3705","uid":"u595","unique_id":"36075_3705_138-u595","ivrId":"3158","channelOTime":1742052823,"channelDTime":1742052858,"channelDuration":35,"cSTime":1742052834,"cETime":1742052858,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06289435850","server_ip":"118.185.137.196","insertTime":1742052858,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052825,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052834,"endTime":1742052858,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3705
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3705
            [uid] => u595
            [unique_id] => 36075_3705_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052823
            [channelDTime] => 1742052858
            [channelDuration] => 35
            [cSTime] => 1742052834
            [cETime] => 1742052858
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06289435850
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052858
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052825
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052834
                                    [endTime] => 1742052858
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1442
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.35999999999808
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29980.3999999996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1442
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.35999999999808
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96254.33000001135
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052860
{"compaign_id":"36075","contact_id":"3686","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3686","uid":"u595","unique_id":"36075_3686_138-u595","ivrId":"3158","channelOTime":1742052817,"channelDTime":1742052861,"channelDuration":44,"cSTime":1742052842,"cETime":1742052861,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07703933464","server_ip":"118.185.137.196","insertTime":1742052861,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052820,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3686
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3686
            [uid] => u595
            [unique_id] => 36075_3686_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052817
            [channelDTime] => 1742052861
            [channelDuration] => 44
            [cSTime] => 1742052842
            [cETime] => 1742052861
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07703933464
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052861
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052820
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1444
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.51999999999808
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29980.2399999996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1444
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.51999999999808
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96254.17000001135
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052863
{"compaign_id":"36075","contact_id":"3791","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3791","uid":"u595","unique_id":"36075_3791_138-u595","ivrId":"3158","channelOTime":1742052842,"channelDTime":1742052862,"channelDuration":20,"cSTime":1742052857,"cETime":1742052862,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08446106213","server_ip":"118.185.137.196","insertTime":1742052862,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052848,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3791
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3791
            [uid] => u595
            [unique_id] => 36075_3791_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052842
            [channelDTime] => 1742052862
            [channelDuration] => 20
            [cSTime] => 1742052857
            [cETime] => 1742052862
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08446106213
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052862
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052848
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1446
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.67999999999807
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29980.0799999996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1446
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.67999999999807
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96254.01000001135
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052864
{"compaign_id":"36075","contact_id":"3684","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3684","uid":"u595","unique_id":"36075_3684_138-u595","ivrId":"3158","channelOTime":1742052816,"channelDTime":1742052862,"channelDuration":46,"cSTime":1742052839,"cETime":1742052862,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08267847660","server_ip":"118.185.137.196","insertTime":1742052862,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052818,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052839,"endTime":1742052862,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3684
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3684
            [uid] => u595
            [unique_id] => 36075_3684_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052816
            [channelDTime] => 1742052862
            [channelDuration] => 46
            [cSTime] => 1742052839
            [cETime] => 1742052862
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08267847660
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052862
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052818
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052839
                                    [endTime] => 1742052862
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1447
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.75999999999807
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29979.9999999996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1447
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.75999999999807
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96253.93000001134
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052864
{"compaign_id":"36075","contact_id":"3761","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3761","uid":"u595","unique_id":"36075_3761_138-u595","ivrId":"3158","channelOTime":1742052836,"channelDTime":1742052863,"channelDuration":27,"cSTime":1742052852,"cETime":1742052863,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08981125172","server_ip":"118.185.137.196","insertTime":1742052863,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052839,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3761
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3761
            [uid] => u595
            [unique_id] => 36075_3761_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052836
            [channelDTime] => 1742052863
            [channelDuration] => 27
            [cSTime] => 1742052852
            [cETime] => 1742052863
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08981125172
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052863
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052839
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1449
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.91999999999807
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29979.8399999996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1449
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.91999999999807
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96253.77000001134
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052864
{"compaign_id":"36075","contact_id":"3693","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3693","uid":"u595","unique_id":"36075_3693_138-u595","ivrId":"3158","channelOTime":1742052818,"channelDTime":1742052865,"channelDuration":47,"cSTime":1742052841,"cETime":1742052865,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07994421183","server_ip":"118.185.137.196","insertTime":1742052865,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052821,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052841,"endTime":1742052865,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3693
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3693
            [uid] => u595
            [unique_id] => 36075_3693_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052818
            [channelDTime] => 1742052865
            [channelDuration] => 47
            [cSTime] => 1742052841
            [cETime] => 1742052865
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07994421183
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052865
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052821
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052841
                                    [endTime] => 1742052865
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1450
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.99999999999807
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29979.7599999996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1450
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 115.99999999999807
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96253.69000001134
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052867
{"compaign_id":"36075","contact_id":"3790","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3790","uid":"u595","unique_id":"36075_3790_138-u595","ivrId":"3158","channelOTime":1742052842,"channelDTime":1742052871,"channelDuration":29,"cSTime":1742052850,"cETime":1742052871,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07505371978","server_ip":"118.185.137.196","insertTime":1742052871,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052844,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3790
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3790
            [uid] => u595
            [unique_id] => 36075_3790_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052842
            [channelDTime] => 1742052871
            [channelDuration] => 29
            [cSTime] => 1742052850
            [cETime] => 1742052871
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07505371978
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052871
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052844
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1452
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.15999999999806
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29979.5999999996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1452
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.15999999999806
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96253.53000001133
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052873
{"compaign_id":"36075","contact_id":"3806","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3806","uid":"u595","unique_id":"36075_3806_138-u595","ivrId":"3158","channelOTime":1742052865,"channelDTime":1742052875,"channelDuration":10,"cSTime":1742052871,"cETime":1742052875,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06005797149","server_ip":"118.185.137.196","insertTime":1742052875,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052868,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3806
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3806
            [uid] => u595
            [unique_id] => 36075_3806_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052865
            [channelDTime] => 1742052875
            [channelDuration] => 10
            [cSTime] => 1742052871
            [cETime] => 1742052875
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06005797149
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052875
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052868
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1454
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.31999999999806
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29979.4399999996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1454
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.31999999999806
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96253.37000001133
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052876
{"compaign_id":"36075","contact_id":"3787","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3787","uid":"u595","unique_id":"36075_3787_138-u595","ivrId":"3158","channelOTime":1742052841,"channelDTime":1742052876,"channelDuration":35,"cSTime":1742052854,"cETime":1742052876,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"06360811836","server_ip":"118.185.137.196","insertTime":1742052876,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052847,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052854,"endTime":1742052875,"duration":21}],"#3":[{"startTime":1742052875,"endTime":1742052876,"duration":1}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3787
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3787
            [uid] => u595
            [unique_id] => 36075_3787_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052841
            [channelDTime] => 1742052876
            [channelDuration] => 35
            [cSTime] => 1742052854
            [cETime] => 1742052876
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 06360811836
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052876
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052847
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052854
                                    [endTime] => 1742052875
                                    [duration] => 21
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052875
                                    [endTime] => 1742052876
                                    [duration] => 1
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1455
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.39999999999806
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29979.359999999597
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1455
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.39999999999806
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96253.29000001133
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052877
{"compaign_id":"36075","contact_id":"3818","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3818","uid":"u595","unique_id":"36075_3818_138-u595","ivrId":"3158","channelOTime":1742052867,"channelDTime":1742052876,"channelDuration":9,"cSTime":1742052874,"cETime":1742052876,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07207829462","server_ip":"118.185.137.196","insertTime":1742052876,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052870,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3818
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3818
            [uid] => u595
            [unique_id] => 36075_3818_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052867
            [channelDTime] => 1742052876
            [channelDuration] => 9
            [cSTime] => 1742052874
            [cETime] => 1742052876
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07207829462
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052876
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052870
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1457
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.55999999999806
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29979.199999999597
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1457
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.55999999999806
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96253.13000001133
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052878
{"compaign_id":"36075","contact_id":"3751","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3751","uid":"u595","unique_id":"36075_3751_138-u595","ivrId":"3158","channelOTime":1742052834,"channelDTime":1742052877,"channelDuration":43,"cSTime":1742052854,"cETime":1742052877,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06376513493","server_ip":"118.185.137.196","insertTime":1742052877,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052836,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052854,"endTime":1742052877,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3751
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3751
            [uid] => u595
            [unique_id] => 36075_3751_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052834
            [channelDTime] => 1742052877
            [channelDuration] => 43
            [cSTime] => 1742052854
            [cETime] => 1742052877
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06376513493
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052877
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052836
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052854
                                    [endTime] => 1742052877
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1458
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.63999999999805
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29979.119999999595
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1458
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.63999999999805
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96253.05000001132
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052879
{"compaign_id":"36075","contact_id":"3752","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3752","uid":"u595","unique_id":"36075_3752_138-u595","ivrId":"3158","channelOTime":1742052834,"channelDTime":1742052880,"channelDuration":46,"cSTime":1742052857,"cETime":1742052880,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08591410512","server_ip":"118.185.137.196","insertTime":1742052880,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052837,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052857,"endTime":1742052880,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3752
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3752
            [uid] => u595
            [unique_id] => 36075_3752_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052834
            [channelDTime] => 1742052880
            [channelDuration] => 46
            [cSTime] => 1742052857
            [cETime] => 1742052880
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08591410512
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052880
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052837
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052857
                                    [endTime] => 1742052880
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1460
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.79999999999805
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29978.959999999595
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1460
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.79999999999805
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96252.89000001132
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052882
{"compaign_id":"36075","contact_id":"3842","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3842","uid":"u595","unique_id":"36075_3842_138-u595","ivrId":"3158","channelOTime":1742052872,"channelDTime":1742052883,"channelDuration":11,"cSTime":1742052879,"cETime":1742052883,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07520777799","server_ip":"118.185.137.196","insertTime":1742052883,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052874,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3842
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3842
            [uid] => u595
            [unique_id] => 36075_3842_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052872
            [channelDTime] => 1742052883
            [channelDuration] => 11
            [cSTime] => 1742052879
            [cETime] => 1742052883
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07520777799
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052883
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052874
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1462
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.95999999999805
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29978.799999999595
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1462
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 116.95999999999805
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96252.73000001132
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052885
{"compaign_id":"36075","contact_id":"3839","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3839","uid":"u595","unique_id":"36075_3839_138-u595","ivrId":"3158","channelOTime":1742052872,"channelDTime":1742052886,"channelDuration":14,"cSTime":1742052881,"cETime":1742052886,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09581020743","server_ip":"118.185.137.196","insertTime":1742052886,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052874,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3839
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3839
            [uid] => u595
            [unique_id] => 36075_3839_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052872
            [channelDTime] => 1742052886
            [channelDuration] => 14
            [cSTime] => 1742052881
            [cETime] => 1742052886
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09581020743
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052886
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052874
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1463
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.03999999999805
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29978.719999999594
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1463
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.03999999999805
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96252.65000001132
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052887
{"compaign_id":"36075","contact_id":"3819","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3819","uid":"u595","unique_id":"36075_3819_138-u595","ivrId":"3158","channelOTime":1742052868,"channelDTime":1742052888,"channelDuration":20,"cSTime":1742052882,"cETime":1742052888,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06268574500","server_ip":"118.185.137.196","insertTime":1742052888,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052870,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3819
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3819
            [uid] => u595
            [unique_id] => 36075_3819_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052868
            [channelDTime] => 1742052888
            [channelDuration] => 20
            [cSTime] => 1742052882
            [cETime] => 1742052888
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06268574500
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052888
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052870
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1464
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.11999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29978.639999999592
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1464
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.11999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96252.57000001131
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052890
{"compaign_id":"36075","contact_id":"3844","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3844","uid":"u595","unique_id":"36075_3844_138-u595","ivrId":"3158","channelOTime":1742052873,"channelDTime":1742052890,"channelDuration":17,"cSTime":1742052886,"cETime":1742052890,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08121562189","server_ip":"118.185.137.196","insertTime":1742052890,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052875,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3844
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3844
            [uid] => u595
            [unique_id] => 36075_3844_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052873
            [channelDTime] => 1742052890
            [channelDuration] => 17
            [cSTime] => 1742052886
            [cETime] => 1742052890
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08121562189
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052890
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052875
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1465
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.19999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29978.55999999959
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1465
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.19999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96252.49000001131
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052891
{"compaign_id":"36075","contact_id":"3860","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3860","uid":"u595","unique_id":"36075_3860_138-u595","ivrId":"3158","channelOTime":1742052878,"channelDTime":1742052892,"channelDuration":14,"cSTime":1742052885,"cETime":1742052892,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07023049392","server_ip":"118.185.137.196","insertTime":1742052892,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052879,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3860
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3860
            [uid] => u595
            [unique_id] => 36075_3860_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052878
            [channelDTime] => 1742052892
            [channelDuration] => 14
            [cSTime] => 1742052885
            [cETime] => 1742052892
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07023049392
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052892
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052879
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1466
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.27999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29978.47999999959
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1466
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.27999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96252.41000001131
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052894
{"compaign_id":"36075","contact_id":"3827","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3827","uid":"u595","unique_id":"36075_3827_138-u595","ivrId":"3158","channelOTime":1742052869,"channelDTime":1742052892,"channelDuration":23,"cSTime":1742052880,"cETime":1742052892,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07488167915","server_ip":"118.185.137.196","insertTime":1742052892,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052871,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3827
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3827
            [uid] => u595
            [unique_id] => 36075_3827_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052869
            [channelDTime] => 1742052892
            [channelDuration] => 23
            [cSTime] => 1742052880
            [cETime] => 1742052892
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07488167915
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052892
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052871
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1467
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.35999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29978.399999999587
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1467
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.35999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96252.33000001131
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052894
{"compaign_id":"36075","contact_id":"3814","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3814","uid":"u595","unique_id":"36075_3814_138-u595","ivrId":"3158","channelOTime":1742052867,"channelDTime":1742052892,"channelDuration":25,"cSTime":1742052869,"cETime":1742052892,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08770395262","server_ip":"118.185.137.196","insertTime":1742052892,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052868,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052869,"endTime":1742052892,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3814
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3814
            [uid] => u595
            [unique_id] => 36075_3814_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052867
            [channelDTime] => 1742052892
            [channelDuration] => 25
            [cSTime] => 1742052869
            [cETime] => 1742052892
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08770395262
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052892
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052868
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052869
                                    [endTime] => 1742052892
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1468
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.43999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29978.319999999585
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1468
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.43999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96252.2500000113
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052894
{"compaign_id":"36075","contact_id":"3877","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3877","uid":"u595","unique_id":"36075_3877_138-u595","ivrId":"3158","channelOTime":1742052881,"channelDTime":1742052893,"channelDuration":12,"cSTime":1742052889,"cETime":1742052893,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09324087889","server_ip":"118.185.137.196","insertTime":1742052893,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052882,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3877
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3877
            [uid] => u595
            [unique_id] => 36075_3877_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052881
            [channelDTime] => 1742052893
            [channelDuration] => 12
            [cSTime] => 1742052889
            [cETime] => 1742052893
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09324087889
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052893
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052882
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1470
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.59999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29978.159999999585
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1470
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.59999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96252.0900000113
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052895
{"compaign_id":"36075","contact_id":"3876","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3876","uid":"u595","unique_id":"36075_3876_138-u595","ivrId":"3158","channelOTime":1742052881,"channelDTime":1742052894,"channelDuration":13,"cSTime":1742052888,"cETime":1742052894,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09137232119","server_ip":"118.185.137.196","insertTime":1742052894,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052883,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3876
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3876
            [uid] => u595
            [unique_id] => 36075_3876_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052881
            [channelDTime] => 1742052894
            [channelDuration] => 13
            [cSTime] => 1742052888
            [cETime] => 1742052894
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09137232119
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052894
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052883
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1471
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.67999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29978.079999999583
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1471
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.67999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96252.0100000113
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052896
{"compaign_id":"36075","contact_id":"3817","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3817","uid":"u595","unique_id":"36075_3817_138-u595","ivrId":"3158","channelOTime":1742052867,"channelDTime":1742052894,"channelDuration":27,"cSTime":1742052882,"cETime":1742052894,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09516867475","server_ip":"118.185.137.196","insertTime":1742052894,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052869,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3817
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3817
            [uid] => u595
            [unique_id] => 36075_3817_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052867
            [channelDTime] => 1742052894
            [channelDuration] => 27
            [cSTime] => 1742052882
            [cETime] => 1742052894
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09516867475
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052894
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052869
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1472
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.75999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29977.99999999958
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1472
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.75999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96251.9300000113
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052896
{"compaign_id":"36075","contact_id":"3894","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3894","uid":"u595","unique_id":"36075_3894_138-u595","ivrId":"3158","channelOTime":1742052884,"channelDTime":1742052895,"channelDuration":11,"cSTime":1742052893,"cETime":1742052895,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09177728166","server_ip":"118.185.137.196","insertTime":1742052895,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052887,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3894
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3894
            [uid] => u595
            [unique_id] => 36075_3894_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052884
            [channelDTime] => 1742052895
            [channelDuration] => 11
            [cSTime] => 1742052893
            [cETime] => 1742052895
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09177728166
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052895
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052887
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1473
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.83999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29977.91999999958
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1473
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.83999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96251.8500000113
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052896
{"compaign_id":"36075","contact_id":"3810","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3810","uid":"u595","unique_id":"36075_3810_138-u595","ivrId":"3158","channelOTime":1742052866,"channelDTime":1742052895,"channelDuration":29,"cSTime":1742052877,"cETime":1742052895,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08343862994","server_ip":"118.185.137.196","insertTime":1742052895,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052868,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3810
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3810
            [uid] => u595
            [unique_id] => 36075_3810_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052866
            [channelDTime] => 1742052895
            [channelDuration] => 29
            [cSTime] => 1742052877
            [cETime] => 1742052895
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08343862994
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052895
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052868
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1474
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.91999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29977.839999999578
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1474
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 117.91999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96251.7700000113
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052897
{"compaign_id":"36075","contact_id":"3835","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3835","uid":"u595","unique_id":"36075_3835_138-u595","ivrId":"3158","channelOTime":1742052871,"channelDTime":1742052897,"channelDuration":26,"cSTime":1742052874,"cETime":1742052897,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08532065906","server_ip":"118.185.137.196","insertTime":1742052897,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052873,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052874,"endTime":1742052897,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3835
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3835
            [uid] => u595
            [unique_id] => 36075_3835_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052871
            [channelDTime] => 1742052897
            [channelDuration] => 26
            [cSTime] => 1742052874
            [cETime] => 1742052897
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08532065906
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052897
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052873
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052874
                                    [endTime] => 1742052897
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1476
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.07999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29977.67999999958
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1476
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.07999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96251.6100000113
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052899
{"compaign_id":"36075","contact_id":"3829","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3829","uid":"u595","unique_id":"36075_3829_138-u595","ivrId":"3158","channelOTime":1742052870,"channelDTime":1742052899,"channelDuration":29,"cSTime":1742052889,"cETime":1742052899,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07008835189","server_ip":"118.185.137.196","insertTime":1742052899,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052876,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3829
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3829
            [uid] => u595
            [unique_id] => 36075_3829_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052870
            [channelDTime] => 1742052899
            [channelDuration] => 29
            [cSTime] => 1742052889
            [cETime] => 1742052899
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07008835189
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052899
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052876
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1478
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.23999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29977.51999999958
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1478
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.23999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96251.45000001129
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052900
{"compaign_id":"36075","contact_id":"3891","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3891","uid":"u595","unique_id":"36075_3891_138-u595","ivrId":"3158","channelOTime":1742052884,"channelDTime":1742052899,"channelDuration":15,"cSTime":1742052896,"cETime":1742052899,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07972022851","server_ip":"118.185.137.196","insertTime":1742052899,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052886,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3891
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3891
            [uid] => u595
            [unique_id] => 36075_3891_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052884
            [channelDTime] => 1742052899
            [channelDuration] => 15
            [cSTime] => 1742052896
            [cETime] => 1742052899
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07972022851
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052899
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052886
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1479
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.31999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29977.439999999577
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1479
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.31999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96251.37000001129
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052901
{"compaign_id":"36075","contact_id":"3888","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3888","uid":"u595","unique_id":"36075_3888_138-u595","ivrId":"3158","channelOTime":1742052883,"channelDTime":1742052900,"channelDuration":17,"cSTime":1742052894,"cETime":1742052900,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09265041750","server_ip":"118.185.137.196","insertTime":1742052900,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052885,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3888
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3888
            [uid] => u595
            [unique_id] => 36075_3888_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052883
            [channelDTime] => 1742052900
            [channelDuration] => 17
            [cSTime] => 1742052894
            [cETime] => 1742052900
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09265041750
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052900
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052885
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1480
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.39999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29977.359999999575
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1480
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.39999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96251.29000001129
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052902
2025-03-15 21:05:02[LOG]Starting Cron
2025-03-15 21:05:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"3863","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3863","uid":"u595","unique_id":"36075_3863_138-u595","ivrId":"3158","channelOTime":1742052878,"channelDTime":1742052901,"channelDuration":23,"cSTime":1742052893,"cETime":1742052901,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09714761511","server_ip":"118.185.137.196","insertTime":1742052901,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052880,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3863
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3863
            [uid] => u595
            [unique_id] => 36075_3863_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052878
            [channelDTime] => 1742052901
            [channelDuration] => 23
            [cSTime] => 1742052893
            [cETime] => 1742052901
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09714761511
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052901
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052880
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1481
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.47999999999801
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29977.279999999573
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1481
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.47999999999801
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96251.21000001128
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052903
{"compaign_id":"36075","contact_id":"3820","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3820","uid":"u595","unique_id":"36075_3820_138-u595","ivrId":"3158","channelOTime":1742052868,"channelDTime":1742052902,"channelDuration":34,"cSTime":1742052879,"cETime":1742052902,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08368812962","server_ip":"118.185.137.196","insertTime":1742052902,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052869,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052879,"endTime":1742052902,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3820
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3820
            [uid] => u595
            [unique_id] => 36075_3820_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052868
            [channelDTime] => 1742052902
            [channelDuration] => 34
            [cSTime] => 1742052879
            [cETime] => 1742052902
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08368812962
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052902
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052869
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052879
                                    [endTime] => 1742052902
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1482
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.55999999999801
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29977.19999999957
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1482
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.55999999999801
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96251.13000001128
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052904
{"compaign_id":"36075","contact_id":"3889","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3889","uid":"u595","unique_id":"36075_3889_138-u595","ivrId":"3158","channelOTime":1742052883,"channelDTime":1742052903,"channelDuration":20,"cSTime":1742052892,"cETime":1742052903,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06296530286","server_ip":"118.185.137.196","insertTime":1742052903,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052889,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3889
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3889
            [uid] => u595
            [unique_id] => 36075_3889_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052883
            [channelDTime] => 1742052903
            [channelDuration] => 20
            [cSTime] => 1742052892
            [cETime] => 1742052903
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06296530286
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052903
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052889
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1484
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.71999999999801
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29977.03999999957
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1484
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.71999999999801
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96250.97000001128
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052904
{"compaign_id":"36075","contact_id":"3881","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3881","uid":"u595","unique_id":"36075_3881_138-u595","ivrId":"3158","channelOTime":1742052882,"channelDTime":1742052903,"channelDuration":21,"cSTime":1742052897,"cETime":1742052903,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08740872891","server_ip":"118.185.137.196","insertTime":1742052903,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052885,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3881
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3881
            [uid] => u595
            [unique_id] => 36075_3881_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052882
            [channelDTime] => 1742052903
            [channelDuration] => 21
            [cSTime] => 1742052897
            [cETime] => 1742052903
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08740872891
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052903
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052885
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1485
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.79999999999801
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29976.95999999957
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1485
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.79999999999801
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96250.89000001128
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052904
{"compaign_id":"36075","contact_id":"3865","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3865","uid":"u595","unique_id":"36075_3865_138-u595","ivrId":"3158","channelOTime":1742052879,"channelDTime":1742052906,"channelDuration":27,"cSTime":1742052902,"cETime":1742052906,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07875186907","server_ip":"118.185.137.196","insertTime":1742052906,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052881,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3865
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3865
            [uid] => u595
            [unique_id] => 36075_3865_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052879
            [channelDTime] => 1742052906
            [channelDuration] => 27
            [cSTime] => 1742052902
            [cETime] => 1742052906
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07875186907
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052906
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052881
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1486
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.879999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29976.879999999568
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1486
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.879999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96250.81000001128
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052907
{"compaign_id":"36075","contact_id":"3871","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3871","uid":"u595","unique_id":"36075_3871_138-u595","ivrId":"3158","channelOTime":1742052880,"channelDTime":1742052906,"channelDuration":26,"cSTime":1742052886,"cETime":1742052906,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07093139240","server_ip":"118.185.137.196","insertTime":1742052906,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052881,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3871
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3871
            [uid] => u595
            [unique_id] => 36075_3871_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052880
            [channelDTime] => 1742052906
            [channelDuration] => 26
            [cSTime] => 1742052886
            [cETime] => 1742052906
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07093139240
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052906
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052881
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1487
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.959999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29976.799999999566
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1487
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 118.959999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96250.73000001127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052908
{"compaign_id":"36075","contact_id":"3930","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3930","uid":"u595","unique_id":"36075_3930_138-u595","ivrId":"3158","channelOTime":1742052894,"channelDTime":1742052906,"channelDuration":12,"cSTime":1742052903,"cETime":1742052906,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09871990715","server_ip":"118.185.137.196","insertTime":1742052906,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052896,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3930
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3930
            [uid] => u595
            [unique_id] => 36075_3930_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052894
            [channelDTime] => 1742052906
            [channelDuration] => 12
            [cSTime] => 1742052903
            [cETime] => 1742052906
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09871990715
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052906
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052896
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1489
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.119999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29976.639999999566
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1489
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.119999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96250.57000001127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052908
{"compaign_id":"36075","contact_id":"3914","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3914","uid":"u595","unique_id":"36075_3914_138-u595","ivrId":"3158","channelOTime":1742052890,"channelDTime":1742052907,"channelDuration":17,"cSTime":1742052899,"cETime":1742052907,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09442657448","server_ip":"118.185.137.196","insertTime":1742052907,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052894,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3914
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3914
            [uid] => u595
            [unique_id] => 36075_3914_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052890
            [channelDTime] => 1742052907
            [channelDuration] => 17
            [cSTime] => 1742052899
            [cETime] => 1742052907
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09442657448
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052907
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052894
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1490
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.199999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29976.559999999565
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1490
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.199999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96250.49000001127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052909
{"compaign_id":"36075","contact_id":"3910","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3910","uid":"u595","unique_id":"36075_3910_138-u595","ivrId":"3158","channelOTime":1742052890,"channelDTime":1742052907,"channelDuration":17,"cSTime":1742052904,"cETime":1742052907,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08910430527","server_ip":"118.185.137.196","insertTime":1742052907,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052891,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3910
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3910
            [uid] => u595
            [unique_id] => 36075_3910_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052890
            [channelDTime] => 1742052907
            [channelDuration] => 17
            [cSTime] => 1742052904
            [cETime] => 1742052907
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08910430527
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052907
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052891
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1491
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.279999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29976.479999999563
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1491
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.279999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96250.41000001127
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052909
{"compaign_id":"36075","contact_id":"3882","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3882","uid":"u595","unique_id":"36075_3882_138-u595","ivrId":"3158","channelOTime":1742052882,"channelDTime":1742052908,"channelDuration":26,"cSTime":1742052889,"cETime":1742052908,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09655606264","server_ip":"118.185.137.196","insertTime":1742052908,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052885,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3882
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3882
            [uid] => u595
            [unique_id] => 36075_3882_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052882
            [channelDTime] => 1742052908
            [channelDuration] => 26
            [cSTime] => 1742052889
            [cETime] => 1742052908
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09655606264
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052908
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052885
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1492
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.359999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29976.39999999956
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1492
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.359999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96250.33000001126
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052910
{"compaign_id":"36075","contact_id":"3821","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3821","uid":"u595","unique_id":"36075_3821_138-u595","ivrId":"3158","channelOTime":1742052868,"channelDTime":1742052908,"channelDuration":40,"cSTime":1742052885,"cETime":1742052908,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08767765329","server_ip":"118.185.137.196","insertTime":1742052908,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052869,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052885,"endTime":1742052908,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3821
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3821
            [uid] => u595
            [unique_id] => 36075_3821_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052868
            [channelDTime] => 1742052908
            [channelDuration] => 40
            [cSTime] => 1742052885
            [cETime] => 1742052908
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08767765329
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052908
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052869
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052885
                                    [endTime] => 1742052908
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1494
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.51999999999799
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29976.23999999956
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1494
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.51999999999799
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96250.17000001126
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052910
{"compaign_id":"36075","contact_id":"3904","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3904","uid":"u595","unique_id":"36075_3904_138-u595","ivrId":"3158","channelOTime":1742052888,"channelDTime":1742052909,"channelDuration":21,"cSTime":1742052897,"cETime":1742052909,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09716568883","server_ip":"118.185.137.196","insertTime":1742052909,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052890,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3904
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3904
            [uid] => u595
            [unique_id] => 36075_3904_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052888
            [channelDTime] => 1742052909
            [channelDuration] => 21
            [cSTime] => 1742052897
            [cETime] => 1742052909
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09716568883
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052909
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052890
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1496
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.67999999999799
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29976.07999999956
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1496
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.67999999999799
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96250.01000001126
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052910
{"compaign_id":"36075","contact_id":"3895","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3895","uid":"u595","unique_id":"36075_3895_138-u595","ivrId":"3158","channelOTime":1742052885,"channelDTime":1742052909,"channelDuration":24,"cSTime":1742052894,"cETime":1742052909,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07339032883","server_ip":"118.185.137.196","insertTime":1742052909,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052887,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3895
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3895
            [uid] => u595
            [unique_id] => 36075_3895_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052885
            [channelDTime] => 1742052909
            [channelDuration] => 24
            [cSTime] => 1742052894
            [cETime] => 1742052909
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07339032883
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052909
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052887
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1497
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.75999999999799
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29975.99999999956
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1497
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.75999999999799
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96249.93000001126
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052911
{"compaign_id":"36075","contact_id":"3887","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3887","uid":"u595","unique_id":"36075_3887_138-u595","ivrId":"3158","channelOTime":1742052883,"channelDTime":1742052910,"channelDuration":27,"cSTime":1742052892,"cETime":1742052910,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09101510350","server_ip":"118.185.137.196","insertTime":1742052910,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052886,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3887
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3887
            [uid] => u595
            [unique_id] => 36075_3887_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052883
            [channelDTime] => 1742052910
            [channelDuration] => 27
            [cSTime] => 1742052892
            [cETime] => 1742052910
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09101510350
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052910
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052886
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1498
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.83999999999799
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29975.919999999558
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1498
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.83999999999799
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96249.85000001125
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052912
{"compaign_id":"36075","contact_id":"3869","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3869","uid":"u595","unique_id":"36075_3869_138-u595","ivrId":"3158","channelOTime":1742052879,"channelDTime":1742052911,"channelDuration":32,"cSTime":1742052891,"cETime":1742052911,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09862773879","server_ip":"118.185.137.196","insertTime":1742052911,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052883,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3869
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3869
            [uid] => u595
            [unique_id] => 36075_3869_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052879
            [channelDTime] => 1742052911
            [channelDuration] => 32
            [cSTime] => 1742052891
            [cETime] => 1742052911
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09862773879
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052911
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052883
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1500
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.99999999999798
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29975.75999999956
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1500
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 119.99999999999798
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96249.69000001125
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052913
{"compaign_id":"36075","contact_id":"3901","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3901","uid":"u595","unique_id":"36075_3901_138-u595","ivrId":"3158","channelOTime":1742052888,"channelDTime":1742052913,"channelDuration":25,"cSTime":1742052908,"cETime":1742052913,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09265051513","server_ip":"118.185.137.196","insertTime":1742052913,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052891,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3901
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3901
            [uid] => u595
            [unique_id] => 36075_3901_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052888
            [channelDTime] => 1742052913
            [channelDuration] => 25
            [cSTime] => 1742052908
            [cETime] => 1742052913
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09265051513
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052913
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052891
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1502
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.15999999999798
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29975.59999999956
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1502
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.15999999999798
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96249.53000001125
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052915
{"compaign_id":"36075","contact_id":"3892","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3892","uid":"u595","unique_id":"36075_3892_138-u595","ivrId":"3158","channelOTime":1742052884,"channelDTime":1742052915,"channelDuration":31,"cSTime":1742052913,"cETime":1742052915,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08328295342","server_ip":"118.185.137.196","insertTime":1742052915,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052885,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3892
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3892
            [uid] => u595
            [unique_id] => 36075_3892_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052884
            [channelDTime] => 1742052915
            [channelDuration] => 31
            [cSTime] => 1742052913
            [cETime] => 1742052915
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08328295342
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052915
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052885
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1503
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.23999999999798
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29975.519999999557
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1503
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.23999999999798
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96249.45000001125
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052917
{"compaign_id":"36075","contact_id":"3826","total_duration":"28","answer_duration":28,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3826","uid":"u595","unique_id":"36075_3826_138-u595","ivrId":"3158","channelOTime":1742052869,"channelDTime":1742052916,"channelDuration":47,"cSTime":1742052888,"cETime":1742052916,"cDuration":28,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07235990310","server_ip":"118.185.137.196","insertTime":1742052916,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052872,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052888,"endTime":1742052910,"duration":22}],"#3":[{"startTime":1742052910,"endTime":1742052916,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3826
    [total_duration] => 28
    [answer_duration] => 28
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3826
            [uid] => u595
            [unique_id] => 36075_3826_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052869
            [channelDTime] => 1742052916
            [channelDuration] => 47
            [cSTime] => 1742052888
            [cETime] => 1742052916
            [cDuration] => 28
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07235990310
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052916
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052872
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052888
                                    [endTime] => 1742052910
                                    [duration] => 22
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052910
                                    [endTime] => 1742052916
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1504
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.31999999999798
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29975.439999999555
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1504
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.31999999999798
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96249.37000001124
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052917
{"compaign_id":"36075","contact_id":"3969","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3969","uid":"u595","unique_id":"36075_3969_138-u595","ivrId":"3158","channelOTime":1742052903,"channelDTime":1742052917,"channelDuration":14,"cSTime":1742052912,"cETime":1742052917,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09619847330","server_ip":"118.185.137.196","insertTime":1742052917,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052906,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3969
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3969
            [uid] => u595
            [unique_id] => 36075_3969_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052903
            [channelDTime] => 1742052917
            [channelDuration] => 14
            [cSTime] => 1742052912
            [cETime] => 1742052917
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09619847330
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052917
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052906
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1506
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.47999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29975.279999999555
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1506
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.47999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96249.21000001124
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052919
{"compaign_id":"36075","contact_id":"3932","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3932","uid":"u595","unique_id":"36075_3932_138-u595","ivrId":"3158","channelOTime":1742052894,"channelDTime":1742052918,"channelDuration":24,"cSTime":1742052904,"cETime":1742052918,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08147981912","server_ip":"118.185.137.196","insertTime":1742052918,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052897,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3932
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3932
            [uid] => u595
            [unique_id] => 36075_3932_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052894
            [channelDTime] => 1742052918
            [channelDuration] => 24
            [cSTime] => 1742052904
            [cETime] => 1742052918
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08147981912
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052918
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052897
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1507
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.55999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29975.199999999553
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1507
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.55999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96249.13000001124
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052919
{"compaign_id":"36075","contact_id":"3979","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3979","uid":"u595","unique_id":"36075_3979_138-u595","ivrId":"3158","channelOTime":1742052905,"channelDTime":1742052918,"channelDuration":13,"cSTime":1742052911,"cETime":1742052918,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07303535849","server_ip":"118.185.137.196","insertTime":1742052918,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052907,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3979
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3979
            [uid] => u595
            [unique_id] => 36075_3979_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052905
            [channelDTime] => 1742052918
            [channelDuration] => 13
            [cSTime] => 1742052911
            [cETime] => 1742052918
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07303535849
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052918
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052907
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1508
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.63999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29975.11999999955
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1508
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.63999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96249.05000001124
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052920
{"compaign_id":"36075","contact_id":"3953","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3953","uid":"u595","unique_id":"36075_3953_138-u595","ivrId":"3158","channelOTime":1742052900,"channelDTime":1742052918,"channelDuration":18,"cSTime":1742052916,"cETime":1742052918,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09779212471","server_ip":"118.185.137.196","insertTime":1742052918,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052902,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3953
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3953
            [uid] => u595
            [unique_id] => 36075_3953_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052900
            [channelDTime] => 1742052918
            [channelDuration] => 18
            [cSTime] => 1742052916
            [cETime] => 1742052918
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09779212471
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052918
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052902
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1509
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.71999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29975.03999999955
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1509
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.71999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.97000001124
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052920
{"compaign_id":"36075","contact_id":"3997","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3997","uid":"u595","unique_id":"36075_3997_138-u595","ivrId":"3158","channelOTime":1742052909,"channelDTime":1742052918,"channelDuration":9,"cSTime":1742052916,"cETime":1742052918,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08130036091","server_ip":"118.185.137.196","insertTime":1742052918,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052911,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3997
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3997
            [uid] => u595
            [unique_id] => 36075_3997_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052909
            [channelDTime] => 1742052918
            [channelDuration] => 9
            [cSTime] => 1742052916
            [cETime] => 1742052918
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08130036091
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052918
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052911
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1510
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.79999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29974.959999999548
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1510
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.79999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.89000001123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052920
{"compaign_id":"36075","contact_id":"3959","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3959","uid":"u595","unique_id":"36075_3959_138-u595","ivrId":"3158","channelOTime":1742052901,"channelDTime":1742052918,"channelDuration":17,"cSTime":1742052913,"cETime":1742052918,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08097442347","server_ip":"118.185.137.196","insertTime":1742052918,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052905,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3959
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3959
            [uid] => u595
            [unique_id] => 36075_3959_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052901
            [channelDTime] => 1742052918
            [channelDuration] => 17
            [cSTime] => 1742052913
            [cETime] => 1742052918
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08097442347
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052918
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052905
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1511
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.87999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29974.879999999546
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1511
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.87999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.81000001123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052920
{"compaign_id":"36075","contact_id":"3900","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3900","uid":"u595","unique_id":"36075_3900_138-u595","ivrId":"3158","channelOTime":1742052888,"channelDTime":1742052920,"channelDuration":32,"cSTime":1742052916,"cETime":1742052920,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07067670279","server_ip":"118.185.137.196","insertTime":1742052920,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052889,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3900
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3900
            [uid] => u595
            [unique_id] => 36075_3900_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052888
            [channelDTime] => 1742052920
            [channelDuration] => 32
            [cSTime] => 1742052916
            [cETime] => 1742052920
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07067670279
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052920
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052889
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1512
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.95999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29974.799999999545
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1512
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 120.95999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.73000001123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052922
{"compaign_id":"36075","contact_id":"3933","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3933","uid":"u595","unique_id":"36075_3933_138-u595","ivrId":"3158","channelOTime":1742052894,"channelDTime":1742052920,"channelDuration":26,"cSTime":1742052906,"cETime":1742052920,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07982783295","server_ip":"118.185.137.196","insertTime":1742052920,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052897,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3933
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3933
            [uid] => u595
            [unique_id] => 36075_3933_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052894
            [channelDTime] => 1742052920
            [channelDuration] => 26
            [cSTime] => 1742052906
            [cETime] => 1742052920
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07982783295
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052920
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052897
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1513
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.03999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29974.719999999543
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1513
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.03999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.65000001123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052922
{"compaign_id":"36075","contact_id":"3994","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3994","uid":"u595","unique_id":"36075_3994_138-u595","ivrId":"3158","channelOTime":1742052908,"channelDTime":1742052921,"channelDuration":13,"cSTime":1742052919,"cETime":1742052921,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08769664905","server_ip":"118.185.137.196","insertTime":1742052921,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052910,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3994
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3994
            [uid] => u595
            [unique_id] => 36075_3994_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052908
            [channelDTime] => 1742052921
            [channelDuration] => 13
            [cSTime] => 1742052919
            [cETime] => 1742052921
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08769664905
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052921
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052910
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1514
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.11999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29974.63999999954
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1514
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.11999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.57000001123
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052923
{"compaign_id":"36075","contact_id":"3883","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3883","uid":"u595","unique_id":"36075_3883_138-u595","ivrId":"3158","channelOTime":1742052882,"channelDTime":1742052921,"channelDuration":39,"cSTime":1742052904,"cETime":1742052921,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09650093410","server_ip":"118.185.137.196","insertTime":1742052921,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052884,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3883
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3883
            [uid] => u595
            [unique_id] => 36075_3883_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052882
            [channelDTime] => 1742052921
            [channelDuration] => 39
            [cSTime] => 1742052904
            [cETime] => 1742052921
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09650093410
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052921
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052884
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1515
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.19999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29974.55999999954
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1515
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.19999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.49000001122
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052923
{"compaign_id":"36075","contact_id":"3944","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3944","uid":"u595","unique_id":"36075_3944_138-u595","ivrId":"3158","channelOTime":1742052896,"channelDTime":1742052922,"channelDuration":26,"cSTime":1742052912,"cETime":1742052922,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06372427937","server_ip":"118.185.137.196","insertTime":1742052922,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052900,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3944
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3944
            [uid] => u595
            [unique_id] => 36075_3944_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052896
            [channelDTime] => 1742052922
            [channelDuration] => 26
            [cSTime] => 1742052912
            [cETime] => 1742052922
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06372427937
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052922
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052900
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1517
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.35999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29974.39999999954
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1517
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.35999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.33000001122
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052924
{"compaign_id":"36075","contact_id":"3984","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3984","uid":"u595","unique_id":"36075_3984_138-u595","ivrId":"3158","channelOTime":1742052906,"channelDTime":1742052923,"channelDuration":17,"cSTime":1742052920,"cETime":1742052923,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07324840409","server_ip":"118.185.137.196","insertTime":1742052923,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052909,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3984
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3984
            [uid] => u595
            [unique_id] => 36075_3984_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052906
            [channelDTime] => 1742052923
            [channelDuration] => 17
            [cSTime] => 1742052920
            [cETime] => 1742052923
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07324840409
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052923
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052909
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1518
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.43999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29974.319999999538
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1518
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.43999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.25000001122
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052925
{"compaign_id":"36075","contact_id":"3995","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3995","uid":"u595","unique_id":"36075_3995_138-u595","ivrId":"3158","channelOTime":1742052909,"channelDTime":1742052925,"channelDuration":16,"cSTime":1742052923,"cETime":1742052925,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07002550371","server_ip":"118.185.137.196","insertTime":1742052925,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052910,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3995
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3995
            [uid] => u595
            [unique_id] => 36075_3995_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052909
            [channelDTime] => 1742052925
            [channelDuration] => 16
            [cSTime] => 1742052923
            [cETime] => 1742052925
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07002550371
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052925
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052910
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1519
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.51999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29974.239999999536
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1519
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.51999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.17000001122
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052927
{"compaign_id":"36075","contact_id":"3993","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3993","uid":"u595","unique_id":"36075_3993_138-u595","ivrId":"3158","channelOTime":1742052908,"channelDTime":1742052926,"channelDuration":18,"cSTime":1742052915,"cETime":1742052926,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08638767677","server_ip":"118.185.137.196","insertTime":1742052926,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052910,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3993
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3993
            [uid] => u595
            [unique_id] => 36075_3993_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052908
            [channelDTime] => 1742052926
            [channelDuration] => 18
            [cSTime] => 1742052915
            [cETime] => 1742052926
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08638767677
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052926
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052910
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1520
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.59999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29974.159999999534
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1520
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.59999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.09000001122
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052927
{"compaign_id":"36075","contact_id":"3941","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3941","uid":"u595","unique_id":"36075_3941_138-u595","ivrId":"3158","channelOTime":1742052896,"channelDTime":1742052927,"channelDuration":31,"cSTime":1742052919,"cETime":1742052927,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08085388863","server_ip":"118.185.137.196","insertTime":1742052927,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052898,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3941
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3941
            [uid] => u595
            [unique_id] => 36075_3941_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052896
            [channelDTime] => 1742052927
            [channelDuration] => 31
            [cSTime] => 1742052919
            [cETime] => 1742052927
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08085388863
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052927
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052898
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1521
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.67999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29974.079999999532
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1521
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.67999999999795
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96248.01000001121
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052929
{"compaign_id":"36075","contact_id":"3976","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3976","uid":"u595","unique_id":"36075_3976_138-u595","ivrId":"3158","channelOTime":1742052905,"channelDTime":1742052929,"channelDuration":24,"cSTime":1742052912,"cETime":1742052929,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07990601066","server_ip":"118.185.137.196","insertTime":1742052929,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052907,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3976
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3976
            [uid] => u595
            [unique_id] => 36075_3976_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052905
            [channelDTime] => 1742052929
            [channelDuration] => 24
            [cSTime] => 1742052912
            [cETime] => 1742052929
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07990601066
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052929
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052907
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1522
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.75999999999794
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29973.99999999953
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1522
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.75999999999794
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96247.93000001121
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052930
{"compaign_id":"36075","contact_id":"3943","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3943","uid":"u595","unique_id":"36075_3943_138-u595","ivrId":"3158","channelOTime":1742052896,"channelDTime":1742052929,"channelDuration":33,"cSTime":1742052915,"cETime":1742052929,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08686211330","server_ip":"118.185.137.196","insertTime":1742052929,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052900,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3943
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3943
            [uid] => u595
            [unique_id] => 36075_3943_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052896
            [channelDTime] => 1742052929
            [channelDuration] => 33
            [cSTime] => 1742052915
            [cETime] => 1742052929
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08686211330
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052929
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052900
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1524
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.91999999999794
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29973.83999999953
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1524
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.91999999999794
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96247.77000001121
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052931
{"compaign_id":"36075","contact_id":"3958","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3958","uid":"u595","unique_id":"36075_3958_138-u595","ivrId":"3158","channelOTime":1742052901,"channelDTime":1742052932,"channelDuration":31,"cSTime":1742052909,"cETime":1742052932,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07075805486","server_ip":"118.185.137.196","insertTime":1742052932,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052904,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052909,"endTime":1742052932,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3958
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3958
            [uid] => u595
            [unique_id] => 36075_3958_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052901
            [channelDTime] => 1742052932
            [channelDuration] => 31
            [cSTime] => 1742052909
            [cETime] => 1742052932
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07075805486
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052932
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052904
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052909
                                    [endTime] => 1742052932
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1525
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.99999999999794
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29973.75999999953
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1525
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 121.99999999999794
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96247.69000001121
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052934
{"compaign_id":"36075","contact_id":"3978","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3978","uid":"u595","unique_id":"36075_3978_138-u595","ivrId":"3158","channelOTime":1742052905,"channelDTime":1742052933,"channelDuration":28,"cSTime":1742052928,"cETime":1742052933,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07396028456","server_ip":"118.185.137.196","insertTime":1742052933,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052908,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3978
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3978
            [uid] => u595
            [unique_id] => 36075_3978_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052905
            [channelDTime] => 1742052933
            [channelDuration] => 28
            [cSTime] => 1742052928
            [cETime] => 1742052933
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07396028456
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052933
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052908
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1527
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.15999999999794
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29973.59999999953
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1527
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.15999999999794
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96247.5300000112
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052935
{"compaign_id":"36075","contact_id":"3999","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3999","uid":"u595","unique_id":"36075_3999_138-u595","ivrId":"3158","channelOTime":1742052909,"channelDTime":1742052935,"channelDuration":26,"cSTime":1742052922,"cETime":1742052935,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07684843718","server_ip":"118.185.137.196","insertTime":1742052935,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052911,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3999
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3999
            [uid] => u595
            [unique_id] => 36075_3999_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052909
            [channelDTime] => 1742052935
            [channelDuration] => 26
            [cSTime] => 1742052922
            [cETime] => 1742052935
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07684843718
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052935
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052911
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1528
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.23999999999793
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29973.519999999527
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1528
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.23999999999793
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96247.4500000112
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052936
{"compaign_id":"36075","contact_id":"3971","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3971","uid":"u595","unique_id":"36075_3971_138-u595","ivrId":"3158","channelOTime":1742052904,"channelDTime":1742052935,"channelDuration":31,"cSTime":1742052918,"cETime":1742052935,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07071746104","server_ip":"118.185.137.196","insertTime":1742052935,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052905,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3971
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3971
            [uid] => u595
            [unique_id] => 36075_3971_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052904
            [channelDTime] => 1742052935
            [channelDuration] => 31
            [cSTime] => 1742052918
            [cETime] => 1742052935
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07071746104
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052935
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052905
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1529
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.31999999999793
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29973.439999999526
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1529
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.31999999999793
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96247.3700000112
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052937
{"compaign_id":"36075","contact_id":"3968","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3968","uid":"u595","unique_id":"36075_3968_138-u595","ivrId":"3158","channelOTime":1742052903,"channelDTime":1742052936,"channelDuration":33,"cSTime":1742052912,"cETime":1742052936,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09632510490","server_ip":"118.185.137.196","insertTime":1742052936,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052908,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052912,"endTime":1742052936,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3968
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3968
            [uid] => u595
            [unique_id] => 36075_3968_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052903
            [channelDTime] => 1742052936
            [channelDuration] => 33
            [cSTime] => 1742052912
            [cETime] => 1742052936
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09632510490
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052936
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052908
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052912
                                    [endTime] => 1742052936
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1531
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.47999999999793
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29973.279999999526
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1531
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.47999999999793
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96247.2100000112
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052937
{"compaign_id":"36075","contact_id":"3987","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3987","uid":"u595","unique_id":"36075_3987_138-u595","ivrId":"3158","channelOTime":1742052907,"channelDTime":1742052938,"channelDuration":31,"cSTime":1742052915,"cETime":1742052938,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08582971132","server_ip":"118.185.137.196","insertTime":1742052938,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052909,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052915,"endTime":1742052938,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3987
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3987
            [uid] => u595
            [unique_id] => 36075_3987_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052907
            [channelDTime] => 1742052938
            [channelDuration] => 31
            [cSTime] => 1742052915
            [cETime] => 1742052938
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08582971132
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052938
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052909
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052915
                                    [endTime] => 1742052938
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1533
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.63999999999793
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29973.119999999526
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1533
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.63999999999793
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96247.0500000112
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052940
{"compaign_id":"36075","contact_id":"4017","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4017","uid":"u595","unique_id":"36075_4017_138-u595","ivrId":"3158","channelOTime":1742052933,"channelDTime":1742052944,"channelDuration":11,"cSTime":1742052941,"cETime":1742052944,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06289547454","server_ip":"118.185.137.196","insertTime":1742052944,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052935,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4017
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4017
            [uid] => u595
            [unique_id] => 36075_4017_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052933
            [channelDTime] => 1742052944
            [channelDuration] => 11
            [cSTime] => 1742052941
            [cETime] => 1742052944
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06289547454
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052944
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052935
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1535
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.79999999999792
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29972.959999999526
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1535
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.79999999999792
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96246.89000001119
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052946
{"compaign_id":"36075","contact_id":"3988","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3988","uid":"u595","unique_id":"36075_3988_138-u595","ivrId":"3158","channelOTime":1742052907,"channelDTime":1742052946,"channelDuration":39,"cSTime":1742052922,"cETime":1742052946,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09398954091","server_ip":"118.185.137.196","insertTime":1742052946,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052909,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052922,"endTime":1742052946,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3988
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3988
            [uid] => u595
            [unique_id] => 36075_3988_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052907
            [channelDTime] => 1742052946
            [channelDuration] => 39
            [cSTime] => 1742052922
            [cETime] => 1742052946
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09398954091
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052946
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052909
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052922
                                    [endTime] => 1742052946
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1536
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.87999999999792
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29972.879999999524
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1536
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 122.87999999999792
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96246.81000001119
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052947
{"compaign_id":"36075","contact_id":"3962","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_3962","uid":"u595","unique_id":"36075_3962_138-u595","ivrId":"3158","channelOTime":1742052902,"channelDTime":1742052947,"channelDuration":45,"cSTime":1742052923,"cETime":1742052947,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06005506001","server_ip":"118.185.137.196","insertTime":1742052947,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052905,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052923,"endTime":1742052947,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 3962
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_3962
            [uid] => u595
            [unique_id] => 36075_3962_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052902
            [channelDTime] => 1742052947
            [channelDuration] => 45
            [cSTime] => 1742052923
            [cETime] => 1742052947
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06005506001
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052947
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052905
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052923
                                    [endTime] => 1742052947
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1538
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.03999999999792
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29972.719999999525
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1538
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.03999999999792
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96246.65000001118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052948
{"compaign_id":"36075","contact_id":"4005","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4005","uid":"u595","unique_id":"36075_4005_138-u595","ivrId":"3158","channelOTime":1742052930,"channelDTime":1742052948,"channelDuration":18,"cSTime":1742052938,"cETime":1742052948,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09696796850","server_ip":"118.185.137.196","insertTime":1742052948,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052933,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4005
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4005
            [uid] => u595
            [unique_id] => 36075_4005_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052930
            [channelDTime] => 1742052948
            [channelDuration] => 18
            [cSTime] => 1742052938
            [cETime] => 1742052948
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09696796850
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052948
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052933
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1540
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.19999999999791
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29972.559999999525
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1540
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.19999999999791
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96246.49000001118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052950
{"compaign_id":"36075","contact_id":"4022","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4022","uid":"u595","unique_id":"36075_4022_138-u595","ivrId":"3158","channelOTime":1742052934,"channelDTime":1742052949,"channelDuration":15,"cSTime":1742052946,"cETime":1742052949,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06003376601","server_ip":"118.185.137.196","insertTime":1742052949,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052936,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4022
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4022
            [uid] => u595
            [unique_id] => 36075_4022_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052934
            [channelDTime] => 1742052949
            [channelDuration] => 15
            [cSTime] => 1742052946
            [cETime] => 1742052949
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06003376601
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052949
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052936
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1541
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.27999999999791
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29972.479999999523
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1541
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.27999999999791
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96246.41000001118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052951
{"compaign_id":"36075","contact_id":"4037","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4037","uid":"u595","unique_id":"36075_4037_138-u595","ivrId":"3158","channelOTime":1742052937,"channelDTime":1742052952,"channelDuration":15,"cSTime":1742052949,"cETime":1742052952,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06394785255","server_ip":"118.185.137.196","insertTime":1742052952,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052938,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4037
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4037
            [uid] => u595
            [unique_id] => 36075_4037_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052937
            [channelDTime] => 1742052952
            [channelDuration] => 15
            [cSTime] => 1742052949
            [cETime] => 1742052952
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06394785255
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052952
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052938
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1542
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.35999999999791
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29972.39999999952
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1542
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.35999999999791
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96246.33000001118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052953
{"compaign_id":"36075","contact_id":"4014","total_duration":"0","answer_duration":0,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4014","uid":"u595","unique_id":"36075_4014_138-u595","ivrId":"3158","channelOTime":1742052932,"channelDTime":1742052952,"channelDuration":20,"cSTime":1742052952,"cETime":1742052952,"cDuration":0,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08948620826","server_ip":"118.185.137.196","insertTime":1742052952,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052935,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4014
    [total_duration] => 0
    [answer_duration] => 0
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4014
            [uid] => u595
            [unique_id] => 36075_4014_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052932
            [channelDTime] => 1742052952
            [channelDuration] => 20
            [cSTime] => 1742052952
            [cETime] => 1742052952
            [cDuration] => 0
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08948620826
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052952
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052935
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1543
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.43999999999791
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29972.31999999952
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1543
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.43999999999791
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96246.25000001118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)
1742052954
{"compaign_id":"36075","contact_id":"4054","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4054","uid":"u595","unique_id":"36075_4054_138-u595","ivrId":"3158","channelOTime":1742052942,"channelDTime":1742052953,"channelDuration":11,"cSTime":1742052949,"cETime":1742052953,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09847344477","server_ip":"118.185.137.196","insertTime":1742052953,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052946,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4054
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4054
            [uid] => u595
            [unique_id] => 36075_4054_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052942
            [channelDTime] => 1742052953
            [channelDuration] => 11
            [cSTime] => 1742052949
            [cETime] => 1742052953
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09847344477
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052953
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052946
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1543
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.43999999999791
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29972.31999999952
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1543
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.43999999999791
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96246.25000001118
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052955
{"compaign_id":"36075","contact_id":"4049","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4049","uid":"u595","unique_id":"36075_4049_138-u595","ivrId":"3158","channelOTime":1742052939,"channelDTime":1742052953,"channelDuration":14,"cSTime":1742052947,"cETime":1742052953,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08086141891","server_ip":"118.185.137.196","insertTime":1742052953,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052942,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4049
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4049
            [uid] => u595
            [unique_id] => 36075_4049_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052939
            [channelDTime] => 1742052953
            [channelDuration] => 14
            [cSTime] => 1742052947
            [cETime] => 1742052953
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08086141891
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052953
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052942
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1544
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.5199999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29972.239999999518
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1544
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.5199999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96246.17000001117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052955
{"compaign_id":"36075","contact_id":"4016","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4016","uid":"u595","unique_id":"36075_4016_138-u595","ivrId":"3158","channelOTime":1742052933,"channelDTime":1742052955,"channelDuration":22,"cSTime":1742052939,"cETime":1742052955,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09004491689","server_ip":"118.185.137.196","insertTime":1742052955,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052935,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4016
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4016
            [uid] => u595
            [unique_id] => 36075_4016_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052933
            [channelDTime] => 1742052955
            [channelDuration] => 22
            [cSTime] => 1742052939
            [cETime] => 1742052955
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09004491689
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052955
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052935
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1545
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.5999999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29972.159999999516
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1545
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.5999999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96246.09000001117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052956
{"compaign_id":"36075","contact_id":"4080","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4080","uid":"u595","unique_id":"36075_4080_138-u595","ivrId":"3158","channelOTime":1742052947,"channelDTime":1742052957,"channelDuration":10,"cSTime":1742052955,"cETime":1742052957,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06284340455","server_ip":"118.185.137.196","insertTime":1742052957,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052949,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4080
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4080
            [uid] => u595
            [unique_id] => 36075_4080_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052947
            [channelDTime] => 1742052957
            [channelDuration] => 10
            [cSTime] => 1742052955
            [cETime] => 1742052957
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06284340455
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052957
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052949
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1547
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.7599999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29971.999999999516
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1547
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.7599999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96245.93000001117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052958
{"compaign_id":"36075","contact_id":"4027","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4027","uid":"u595","unique_id":"36075_4027_138-u595","ivrId":"3158","channelOTime":1742052935,"channelDTime":1742052957,"channelDuration":22,"cSTime":1742052953,"cETime":1742052957,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06295274122","server_ip":"118.185.137.196","insertTime":1742052957,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052938,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4027
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4027
            [uid] => u595
            [unique_id] => 36075_4027_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052935
            [channelDTime] => 1742052957
            [channelDuration] => 22
            [cSTime] => 1742052953
            [cETime] => 1742052957
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06295274122
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052957
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052938
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1548
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.8399999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29971.919999999514
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1548
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.8399999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96245.85000001117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052959
{"compaign_id":"36075","contact_id":"4021","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4021","uid":"u595","unique_id":"36075_4021_138-u595","ivrId":"3158","channelOTime":1742052934,"channelDTime":1742052958,"channelDuration":24,"cSTime":1742052947,"cETime":1742052958,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08638141904","server_ip":"118.185.137.196","insertTime":1742052958,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052935,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4021
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4021
            [uid] => u595
            [unique_id] => 36075_4021_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052934
            [channelDTime] => 1742052958
            [channelDuration] => 24
            [cSTime] => 1742052947
            [cETime] => 1742052958
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08638141904
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052958
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052935
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1549
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.9199999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29971.839999999513
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1549
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.9199999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96245.77000001117
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052959
{"compaign_id":"36075","contact_id":"4013","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4013","uid":"u595","unique_id":"36075_4013_138-u595","ivrId":"3158","channelOTime":1742052932,"channelDTime":1742052959,"channelDuration":27,"cSTime":1742052953,"cETime":1742052959,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08218551974","server_ip":"118.185.137.196","insertTime":1742052959,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052933,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4013
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4013
            [uid] => u595
            [unique_id] => 36075_4013_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052932
            [channelDTime] => 1742052959
            [channelDuration] => 27
            [cSTime] => 1742052953
            [cETime] => 1742052959
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08218551974
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052959
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052933
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1550
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.9999999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29971.75999999951
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1550
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 123.9999999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96245.69000001116
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052960
2025-03-15 21:06:02[LOG]Starting Cron
2025-03-15 21:06:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"4012","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4012","uid":"u595","unique_id":"36075_4012_138-u595","ivrId":"3158","channelOTime":1742052932,"channelDTime":1742052961,"channelDuration":29,"cSTime":1742052941,"cETime":1742052961,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09899693912","server_ip":"118.185.137.196","insertTime":1742052961,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052933,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4012
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4012
            [uid] => u595
            [unique_id] => 36075_4012_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052932
            [channelDTime] => 1742052961
            [channelDuration] => 29
            [cSTime] => 1742052941
            [cETime] => 1742052961
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09899693912
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052961
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052933
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1551
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.0799999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29971.67999999951
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1551
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.0799999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96245.61000001116
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052962
{"compaign_id":"36075","contact_id":"4057","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4057","uid":"u595","unique_id":"36075_4057_138-u595","ivrId":"3158","channelOTime":1742052943,"channelDTime":1742052961,"channelDuration":18,"cSTime":1742052958,"cETime":1742052961,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07400452810","server_ip":"118.185.137.196","insertTime":1742052961,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052946,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4057
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4057
            [uid] => u595
            [unique_id] => 36075_4057_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052943
            [channelDTime] => 1742052961
            [channelDuration] => 18
            [cSTime] => 1742052958
            [cETime] => 1742052961
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07400452810
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052961
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052946
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1553
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.23999999999789
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29971.51999999951
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1553
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.23999999999789
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96245.45000001116
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052963
{"compaign_id":"36075","contact_id":"4000","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4000","uid":"u595","unique_id":"36075_4000_138-u595","ivrId":"3158","channelOTime":1742052929,"channelDTime":1742052962,"channelDuration":33,"cSTime":1742052941,"cETime":1742052962,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09099229594","server_ip":"118.185.137.196","insertTime":1742052962,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052933,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4000
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4000
            [uid] => u595
            [unique_id] => 36075_4000_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052929
            [channelDTime] => 1742052962
            [channelDuration] => 33
            [cSTime] => 1742052941
            [cETime] => 1742052962
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09099229594
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052962
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052933
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1554
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.31999999999789
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29971.439999999508
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1554
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.31999999999789
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96245.37000001116
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052963
{"compaign_id":"36075","contact_id":"4042","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4042","uid":"u595","unique_id":"36075_4042_138-u595","ivrId":"3158","channelOTime":1742052938,"channelDTime":1742052962,"channelDuration":24,"cSTime":1742052948,"cETime":1742052962,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08217600463","server_ip":"118.185.137.196","insertTime":1742052962,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052940,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4042
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4042
            [uid] => u595
            [unique_id] => 36075_4042_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052938
            [channelDTime] => 1742052962
            [channelDuration] => 24
            [cSTime] => 1742052948
            [cETime] => 1742052962
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08217600463
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052962
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052940
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1556
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.47999999999789
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29971.279999999508
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1556
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.47999999999789
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96245.21000001115
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052964
{"compaign_id":"36075","contact_id":"4029","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4029","uid":"u595","unique_id":"36075_4029_138-u595","ivrId":"3158","channelOTime":1742052935,"channelDTime":1742052964,"channelDuration":29,"cSTime":1742052952,"cETime":1742052964,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09608067394","server_ip":"118.185.137.196","insertTime":1742052964,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052947,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4029
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4029
            [uid] => u595
            [unique_id] => 36075_4029_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052935
            [channelDTime] => 1742052964
            [channelDuration] => 29
            [cSTime] => 1742052952
            [cETime] => 1742052964
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09608067394
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052964
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052947
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1557
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.55999999999788
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29971.199999999506
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1557
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.55999999999788
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96245.13000001115
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052966
{"compaign_id":"36075","contact_id":"4003","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4003","uid":"u595","unique_id":"36075_4003_138-u595","ivrId":"3158","channelOTime":1742052930,"channelDTime":1742052965,"channelDuration":35,"cSTime":1742052942,"cETime":1742052965,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08811853091","server_ip":"118.185.137.196","insertTime":1742052965,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052932,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052942,"endTime":1742052965,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4003
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4003
            [uid] => u595
            [unique_id] => 36075_4003_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052930
            [channelDTime] => 1742052965
            [channelDuration] => 35
            [cSTime] => 1742052942
            [cETime] => 1742052965
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08811853091
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052965
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052932
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052942
                                    [endTime] => 1742052965
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1558
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.63999999999788
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29971.119999999504
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1558
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.63999999999788
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96245.05000001115
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052967
{"compaign_id":"36075","contact_id":"4031","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4031","uid":"u595","unique_id":"36075_4031_138-u595","ivrId":"3158","channelOTime":1742052936,"channelDTime":1742052966,"channelDuration":30,"cSTime":1742052950,"cETime":1742052966,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07760471624","server_ip":"118.185.137.196","insertTime":1742052966,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052938,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4031
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4031
            [uid] => u595
            [unique_id] => 36075_4031_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052936
            [channelDTime] => 1742052966
            [channelDuration] => 30
            [cSTime] => 1742052950
            [cETime] => 1742052966
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07760471624
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052966
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052938
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1560
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.79999999999788
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29970.959999999504
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1560
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.79999999999788
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96244.89000001115
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052968
{"compaign_id":"36075","contact_id":"4006","total_duration":"27","answer_duration":27,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4006","uid":"u595","unique_id":"36075_4006_138-u595","ivrId":"3158","channelOTime":1742052931,"channelDTime":1742052967,"channelDuration":36,"cSTime":1742052940,"cETime":1742052967,"cDuration":27,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07011265711","server_ip":"118.185.137.196","insertTime":1742052967,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052932,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052940,"endTime":1742052961,"duration":21}],"#3":[{"startTime":1742052961,"endTime":1742052967,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4006
    [total_duration] => 27
    [answer_duration] => 27
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4006
            [uid] => u595
            [unique_id] => 36075_4006_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052931
            [channelDTime] => 1742052967
            [channelDuration] => 36
            [cSTime] => 1742052940
            [cETime] => 1742052967
            [cDuration] => 27
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07011265711
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052967
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052932
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052940
                                    [endTime] => 1742052961
                                    [duration] => 21
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052961
                                    [endTime] => 1742052967
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1562
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.95999999999788
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29970.799999999505
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1562
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 124.95999999999788
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96244.73000001114
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052969
{"compaign_id":"36075","contact_id":"4088","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4088","uid":"u595","unique_id":"36075_4088_138-u595","ivrId":"3158","channelOTime":1742052949,"channelDTime":1742052967,"channelDuration":18,"cSTime":1742052961,"cETime":1742052967,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07909412067","server_ip":"118.185.137.196","insertTime":1742052967,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052951,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4088
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4088
            [uid] => u595
            [unique_id] => 36075_4088_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052949
            [channelDTime] => 1742052967
            [channelDuration] => 18
            [cSTime] => 1742052961
            [cETime] => 1742052967
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07909412067
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052967
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052951
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1564
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.11999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29970.639999999505
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1564
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.11999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96244.57000001114
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052969
{"compaign_id":"36075","contact_id":"4097","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4097","uid":"u595","unique_id":"36075_4097_138-u595","ivrId":"3158","channelOTime":1742052951,"channelDTime":1742052970,"channelDuration":19,"cSTime":1742052961,"cETime":1742052970,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09522833331","server_ip":"118.185.137.196","insertTime":1742052970,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052954,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4097
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4097
            [uid] => u595
            [unique_id] => 36075_4097_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052951
            [channelDTime] => 1742052970
            [channelDuration] => 19
            [cSTime] => 1742052961
            [cETime] => 1742052970
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09522833331
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052970
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052954
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1565
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.19999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29970.559999999503
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1565
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.19999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96244.49000001114
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052971
{"compaign_id":"36075","contact_id":"4090","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4090","uid":"u595","unique_id":"36075_4090_138-u595","ivrId":"3158","channelOTime":1742052949,"channelDTime":1742052970,"channelDuration":21,"cSTime":1742052964,"cETime":1742052970,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06289195407","server_ip":"118.185.137.196","insertTime":1742052970,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052954,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4090
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4090
            [uid] => u595
            [unique_id] => 36075_4090_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052949
            [channelDTime] => 1742052970
            [channelDuration] => 21
            [cSTime] => 1742052964
            [cETime] => 1742052970
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06289195407
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052970
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052954
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1566
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.27999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29970.4799999995
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1566
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.27999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96244.41000001114
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052972
{"compaign_id":"36075","contact_id":"4110","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4110","uid":"u595","unique_id":"36075_4110_138-u595","ivrId":"3158","channelOTime":1742052955,"channelDTime":1742052974,"channelDuration":19,"cSTime":1742052971,"cETime":1742052974,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09676832683","server_ip":"118.185.137.196","insertTime":1742052974,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052958,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4110
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4110
            [uid] => u595
            [unique_id] => 36075_4110_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052955
            [channelDTime] => 1742052974
            [channelDuration] => 19
            [cSTime] => 1742052971
            [cETime] => 1742052974
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09676832683
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052974
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052958
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1567
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.35999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29970.3999999995
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1567
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.35999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96244.33000001113
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052975
{"compaign_id":"36075","contact_id":"4120","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4120","uid":"u595","unique_id":"36075_4120_138-u595","ivrId":"3158","channelOTime":1742052957,"channelDTime":1742052975,"channelDuration":18,"cSTime":1742052970,"cETime":1742052975,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08500734681","server_ip":"118.185.137.196","insertTime":1742052975,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052961,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4120
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4120
            [uid] => u595
            [unique_id] => 36075_4120_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052957
            [channelDTime] => 1742052975
            [channelDuration] => 18
            [cSTime] => 1742052970
            [cETime] => 1742052975
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08500734681
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052975
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052961
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1568
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.43999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29970.319999999498
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1568
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.43999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96244.25000001113
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052977
{"compaign_id":"36075","contact_id":"4085","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4085","uid":"u595","unique_id":"36075_4085_138-u595","ivrId":"3158","channelOTime":1742052948,"channelDTime":1742052977,"channelDuration":29,"cSTime":1742052953,"cETime":1742052977,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08544725158","server_ip":"118.185.137.196","insertTime":1742052977,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052953,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052953,"endTime":1742052977,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4085
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4085
            [uid] => u595
            [unique_id] => 36075_4085_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052948
            [channelDTime] => 1742052977
            [channelDuration] => 29
            [cSTime] => 1742052953
            [cETime] => 1742052977
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08544725158
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052977
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052953
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052953
                                    [endTime] => 1742052977
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1569
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.51999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29970.239999999496
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1569
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.51999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96244.17000001113
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052978
{"compaign_id":"36075","contact_id":"4061","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4061","uid":"u595","unique_id":"36075_4061_138-u595","ivrId":"3158","channelOTime":1742052944,"channelDTime":1742052977,"channelDuration":33,"cSTime":1742052953,"cETime":1742052977,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08675822757","server_ip":"118.185.137.196","insertTime":1742052977,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052947,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052953,"endTime":1742052977,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4061
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4061
            [uid] => u595
            [unique_id] => 36075_4061_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052944
            [channelDTime] => 1742052977
            [channelDuration] => 33
            [cSTime] => 1742052953
            [cETime] => 1742052977
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08675822757
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052977
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052947
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052953
                                    [endTime] => 1742052977
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1571
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.67999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29970.079999999496
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1571
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.67999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96244.01000001113
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052979
{"compaign_id":"36075","contact_id":"4126","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4126","uid":"u595","unique_id":"36075_4126_138-u595","ivrId":"3158","channelOTime":1742052959,"channelDTime":1742052978,"channelDuration":19,"cSTime":1742052971,"cETime":1742052978,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07387843527","server_ip":"118.185.137.196","insertTime":1742052978,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052964,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4126
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4126
            [uid] => u595
            [unique_id] => 36075_4126_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052959
            [channelDTime] => 1742052978
            [channelDuration] => 19
            [cSTime] => 1742052971
            [cETime] => 1742052978
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07387843527
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052978
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052964
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1573
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.83999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29969.919999999496
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1573
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.83999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96243.85000001112
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052980
{"compaign_id":"36075","contact_id":"4119","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4119","uid":"u595","unique_id":"36075_4119_138-u595","ivrId":"3158","channelOTime":1742052957,"channelDTime":1742052978,"channelDuration":21,"cSTime":1742052974,"cETime":1742052978,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09522399309","server_ip":"118.185.137.196","insertTime":1742052978,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052963,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4119
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4119
            [uid] => u595
            [unique_id] => 36075_4119_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052957
            [channelDTime] => 1742052978
            [channelDuration] => 21
            [cSTime] => 1742052974
            [cETime] => 1742052978
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09522399309
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052978
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052963
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1574
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.91999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29969.839999999494
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1574
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.91999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96243.77000001112
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052980
{"compaign_id":"36075","contact_id":"4124","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4124","uid":"u595","unique_id":"36075_4124_138-u595","ivrId":"3158","channelOTime":1742052958,"channelDTime":1742052978,"channelDuration":20,"cSTime":1742052975,"cETime":1742052978,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08454813252","server_ip":"118.185.137.196","insertTime":1742052978,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052966,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4124
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4124
            [uid] => u595
            [unique_id] => 36075_4124_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052958
            [channelDTime] => 1742052978
            [channelDuration] => 20
            [cSTime] => 1742052975
            [cETime] => 1742052978
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08454813252
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052978
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052966
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1575
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.99999999999785
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29969.759999999493
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1575
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 125.99999999999785
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96243.69000001112
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052980
{"compaign_id":"36075","contact_id":"4023","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4023","uid":"u595","unique_id":"36075_4023_138-u595","ivrId":"3158","channelOTime":1742052934,"channelDTime":1742052978,"channelDuration":44,"cSTime":1742052955,"cETime":1742052978,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08292512880","server_ip":"118.185.137.196","insertTime":1742052978,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052936,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052955,"endTime":1742052978,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4023
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4023
            [uid] => u595
            [unique_id] => 36075_4023_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052934
            [channelDTime] => 1742052978
            [channelDuration] => 44
            [cSTime] => 1742052955
            [cETime] => 1742052978
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08292512880
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052978
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052936
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052955
                                    [endTime] => 1742052978
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1576
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.07999999999785
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29969.67999999949
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1576
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.07999999999785
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96243.61000001112
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052980
{"compaign_id":"36075","contact_id":"4091","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4091","uid":"u595","unique_id":"36075_4091_138-u595","ivrId":"3158","channelOTime":1742052950,"channelDTime":1742052983,"channelDuration":33,"cSTime":1742052960,"cETime":1742052983,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07860808954","server_ip":"118.185.137.196","insertTime":1742052983,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052956,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052960,"endTime":1742052983,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4091
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4091
            [uid] => u595
            [unique_id] => 36075_4091_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052950
            [channelDTime] => 1742052983
            [channelDuration] => 33
            [cSTime] => 1742052960
            [cETime] => 1742052983
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07860808954
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052983
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052956
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052960
                                    [endTime] => 1742052983
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1578
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.23999999999785
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29969.51999999949
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1578
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.23999999999785
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96243.45000001111
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052985
{"compaign_id":"36075","contact_id":"4146","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4146","uid":"u595","unique_id":"36075_4146_138-u595","ivrId":"3158","channelOTime":1742052963,"channelDTime":1742052983,"channelDuration":20,"cSTime":1742052971,"cETime":1742052983,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07083495755","server_ip":"118.185.137.196","insertTime":1742052983,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052965,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4146
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4146
            [uid] => u595
            [unique_id] => 36075_4146_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052963
            [channelDTime] => 1742052983
            [channelDuration] => 20
            [cSTime] => 1742052971
            [cETime] => 1742052983
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07083495755
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052983
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052965
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1580
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.39999999999785
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29969.35999999949
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1580
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.39999999999785
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96243.29000001111
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052985
{"compaign_id":"36075","contact_id":"4039","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4039","uid":"u595","unique_id":"36075_4039_138-u595","ivrId":"3158","channelOTime":1742052937,"channelDTime":1742052984,"channelDuration":47,"cSTime":1742052960,"cETime":1742052984,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09773906542","server_ip":"118.185.137.196","insertTime":1742052984,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052940,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052960,"endTime":1742052984,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4039
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4039
            [uid] => u595
            [unique_id] => 36075_4039_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052937
            [channelDTime] => 1742052984
            [channelDuration] => 47
            [cSTime] => 1742052960
            [cETime] => 1742052984
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09773906542
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052984
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052940
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052960
                                    [endTime] => 1742052984
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1581
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.47999999999784
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29969.27999999949
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1581
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.47999999999784
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96243.21000001111
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052985
{"compaign_id":"36075","contact_id":"4114","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4114","uid":"u595","unique_id":"36075_4114_138-u595","ivrId":"3158","channelOTime":1742052956,"channelDTime":1742052984,"channelDuration":28,"cSTime":1742052968,"cETime":1742052984,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09285198677","server_ip":"118.185.137.196","insertTime":1742052984,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052959,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4114
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4114
            [uid] => u595
            [unique_id] => 36075_4114_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052956
            [channelDTime] => 1742052984
            [channelDuration] => 28
            [cSTime] => 1742052968
            [cETime] => 1742052984
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09285198677
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052984
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052959
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1583
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.63999999999784
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29969.11999999949
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1583
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.63999999999784
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96243.0500000111
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052986
{"compaign_id":"36075","contact_id":"4122","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4122","uid":"u595","unique_id":"36075_4122_138-u595","ivrId":"3158","channelOTime":1742052958,"channelDTime":1742052984,"channelDuration":26,"cSTime":1742052968,"cETime":1742052984,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09862849082","server_ip":"118.185.137.196","insertTime":1742052984,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052961,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4122
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4122
            [uid] => u595
            [unique_id] => 36075_4122_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052958
            [channelDTime] => 1742052984
            [channelDuration] => 26
            [cSTime] => 1742052968
            [cETime] => 1742052984
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09862849082
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052984
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052961
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1585
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.79999999999784
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29968.95999999949
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1585
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.79999999999784
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96242.8900000111
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052986
{"compaign_id":"36075","contact_id":"4087","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4087","uid":"u595","unique_id":"36075_4087_138-u595","ivrId":"3158","channelOTime":1742052949,"channelDTime":1742052985,"channelDuration":36,"cSTime":1742052969,"cETime":1742052985,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09928410833","server_ip":"118.185.137.196","insertTime":1742052985,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052950,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4087
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4087
            [uid] => u595
            [unique_id] => 36075_4087_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052949
            [channelDTime] => 1742052985
            [channelDuration] => 36
            [cSTime] => 1742052969
            [cETime] => 1742052985
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09928410833
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052985
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052950
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1587
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.95999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29968.79999999949
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1587
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 126.95999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96242.7300000111
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052986
{"compaign_id":"36075","contact_id":"4139","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4139","uid":"u595","unique_id":"36075_4139_138-u595","ivrId":"3158","channelOTime":1742052961,"channelDTime":1742052986,"channelDuration":25,"cSTime":1742052979,"cETime":1742052986,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09123924258","server_ip":"118.185.137.196","insertTime":1742052986,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052966,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4139
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4139
            [uid] => u595
            [unique_id] => 36075_4139_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052961
            [channelDTime] => 1742052986
            [channelDuration] => 25
            [cSTime] => 1742052979
            [cETime] => 1742052986
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09123924258
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052986
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052966
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1589
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.11999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29968.63999999949
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1589
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.11999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96242.5700000111
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052987
{"compaign_id":"36075","contact_id":"4071","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4071","uid":"u595","unique_id":"36075_4071_138-u595","ivrId":"3158","channelOTime":1742052946,"channelDTime":1742052986,"channelDuration":40,"cSTime":1742052963,"cETime":1742052986,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09960587441","server_ip":"118.185.137.196","insertTime":1742052986,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052948,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052963,"endTime":1742052986,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4071
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4071
            [uid] => u595
            [unique_id] => 36075_4071_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052946
            [channelDTime] => 1742052986
            [channelDuration] => 40
            [cSTime] => 1742052963
            [cETime] => 1742052986
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09960587441
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052986
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052948
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052963
                                    [endTime] => 1742052986
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1590
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.19999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29968.55999999949
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1590
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.19999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96242.4900000111
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052988
{"compaign_id":"36075","contact_id":"4145","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4145","uid":"u595","unique_id":"36075_4145_138-u595","ivrId":"3158","channelOTime":1742052962,"channelDTime":1742052986,"channelDuration":24,"cSTime":1742052970,"cETime":1742052986,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09748411042","server_ip":"118.185.137.196","insertTime":1742052986,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052966,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4145
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4145
            [uid] => u595
            [unique_id] => 36075_4145_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052962
            [channelDTime] => 1742052986
            [channelDuration] => 24
            [cSTime] => 1742052970
            [cETime] => 1742052986
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09748411042
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052986
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052966
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1592
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.35999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29968.39999999949
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1592
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.35999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96242.33000001109
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052988
{"compaign_id":"36075","contact_id":"4137","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4137","uid":"u595","unique_id":"36075_4137_138-u595","ivrId":"3158","channelOTime":1742052961,"channelDTime":1742052987,"channelDuration":26,"cSTime":1742052977,"cETime":1742052987,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09097404072","server_ip":"118.185.137.196","insertTime":1742052987,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052969,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4137
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4137
            [uid] => u595
            [unique_id] => 36075_4137_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052961
            [channelDTime] => 1742052987
            [channelDuration] => 26
            [cSTime] => 1742052977
            [cETime] => 1742052987
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09097404072
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052987
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052969
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1594
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.51999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29968.23999999949
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1594
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.51999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96242.17000001109
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052988
{"compaign_id":"36075","contact_id":"4102","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4102","uid":"u595","unique_id":"36075_4102_138-u595","ivrId":"3158","channelOTime":1742052954,"channelDTime":1742052990,"channelDuration":36,"cSTime":1742052980,"cETime":1742052990,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07391010652","server_ip":"118.185.137.196","insertTime":1742052990,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4102
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4102
            [uid] => u595
            [unique_id] => 36075_4102_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052954
            [channelDTime] => 1742052990
            [channelDuration] => 36
            [cSTime] => 1742052980
            [cETime] => 1742052990
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07391010652
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052990
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1595
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.59999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29968.159999999487
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1595
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.59999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96242.09000001109
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052992
{"compaign_id":"36075","contact_id":"4083","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4083","uid":"u595","unique_id":"36075_4083_138-u595","ivrId":"3158","channelOTime":1742052948,"channelDTime":1742052994,"channelDuration":46,"cSTime":1742052970,"cETime":1742052994,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09002776877","server_ip":"118.185.137.196","insertTime":1742052994,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052949,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052970,"endTime":1742052994,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4083
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4083
            [uid] => u595
            [unique_id] => 36075_4083_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052948
            [channelDTime] => 1742052994
            [channelDuration] => 46
            [cSTime] => 1742052970
            [cETime] => 1742052994
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09002776877
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052994
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052949
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052970
                                    [endTime] => 1742052994
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1596
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.67999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29968.079999999485
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1596
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.67999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96242.01000001108
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052995
{"compaign_id":"36075","contact_id":"4127","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4127","uid":"u595","unique_id":"36075_4127_138-u595","ivrId":"3158","channelOTime":1742052959,"channelDTime":1742052994,"channelDuration":35,"cSTime":1742052970,"cETime":1742052994,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09500360954","server_ip":"118.185.137.196","insertTime":1742052994,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052961,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052970,"endTime":1742052994,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4127
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4127
            [uid] => u595
            [unique_id] => 36075_4127_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052959
            [channelDTime] => 1742052994
            [channelDuration] => 35
            [cSTime] => 1742052970
            [cETime] => 1742052994
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09500360954
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052994
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052961
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052970
                                    [endTime] => 1742052994
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1598
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.83999999999781
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29967.919999999485
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1598
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.83999999999781
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96241.85000001108
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052995
{"compaign_id":"36075","contact_id":"4130","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4130","uid":"u595","unique_id":"36075_4130_138-u595","ivrId":"3158","channelOTime":1742052959,"channelDTime":1742052994,"channelDuration":35,"cSTime":1742052976,"cETime":1742052994,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09693656971","server_ip":"118.185.137.196","insertTime":1742052994,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052961,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4130
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4130
            [uid] => u595
            [unique_id] => 36075_4130_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052959
            [channelDTime] => 1742052994
            [channelDuration] => 35
            [cSTime] => 1742052976
            [cETime] => 1742052994
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09693656971
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052994
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052961
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1600
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.99999999999781
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29967.759999999485
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1600
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 127.99999999999781
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96241.69000001108
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052996
{"compaign_id":"36075","contact_id":"4161","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4161","uid":"u595","unique_id":"36075_4161_138-u595","ivrId":"3158","channelOTime":1742052986,"channelDTime":1742052995,"channelDuration":9,"cSTime":1742052994,"cETime":1742052995,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08873859384","server_ip":"118.185.137.196","insertTime":1742052995,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052988,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4161
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4161
            [uid] => u595
            [unique_id] => 36075_4161_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052986
            [channelDTime] => 1742052995
            [channelDuration] => 9
            [cSTime] => 1742052994
            [cETime] => 1742052995
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08873859384
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052995
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052988
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1602
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.1599999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29967.599999999486
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1602
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.1599999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96241.53000001107
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742052997
{"compaign_id":"36075","contact_id":"4136","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4136","uid":"u595","unique_id":"36075_4136_138-u595","ivrId":"3158","channelOTime":1742052961,"channelDTime":1742052997,"channelDuration":36,"cSTime":1742052974,"cETime":1742052997,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09700791145","server_ip":"118.185.137.196","insertTime":1742052997,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052963,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052974,"endTime":1742052997,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4136
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4136
            [uid] => u595
            [unique_id] => 36075_4136_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052961
            [channelDTime] => 1742052997
            [channelDuration] => 36
            [cSTime] => 1742052974
            [cETime] => 1742052997
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09700791145
            [server_ip] => 118.185.137.196
            [insertTime] => 1742052997
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052963
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052974
                                    [endTime] => 1742052997
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1603
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.23999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29967.519999999484
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1603
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.23999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96241.45000001107
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742052999
{"compaign_id":"36075","contact_id":"4186","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4186","uid":"u595","unique_id":"36075_4186_138-u595","ivrId":"3158","channelOTime":1742052991,"channelDTime":1742053001,"channelDuration":10,"cSTime":1742052996,"cETime":1742053001,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08122084184","server_ip":"118.185.137.196","insertTime":1742053001,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052993,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4186
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4186
            [uid] => u595
            [unique_id] => 36075_4186_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052991
            [channelDTime] => 1742053001
            [channelDuration] => 10
            [cSTime] => 1742052996
            [cETime] => 1742053001
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08122084184
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053001
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052993
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1605
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.39999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29967.359999999484
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1605
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.39999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96241.29000001107
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053003
{"compaign_id":"36075","contact_id":"4132","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4132","uid":"u595","unique_id":"36075_4132_138-u595","ivrId":"3158","channelOTime":1742052960,"channelDTime":1742053003,"channelDuration":43,"cSTime":1742052980,"cETime":1742053003,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06306107118","server_ip":"118.185.137.196","insertTime":1742053003,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052963,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052980,"endTime":1742053003,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4132
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4132
            [uid] => u595
            [unique_id] => 36075_4132_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052960
            [channelDTime] => 1742053003
            [channelDuration] => 43
            [cSTime] => 1742052980
            [cETime] => 1742053003
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06306107118
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053003
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052963
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052980
                                    [endTime] => 1742053003
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1606
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.47999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29967.279999999482
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1606
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.47999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96241.21000001107
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053005
{"compaign_id":"36075","contact_id":"4113","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4113","uid":"u595","unique_id":"36075_4113_138-u595","ivrId":"3158","channelOTime":1742052956,"channelDTime":1742053005,"channelDuration":49,"cSTime":1742052981,"cETime":1742053005,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07624839260","server_ip":"118.185.137.196","insertTime":1742053005,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052959,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052981,"endTime":1742053005,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4113
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4113
            [uid] => u595
            [unique_id] => 36075_4113_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052956
            [channelDTime] => 1742053005
            [channelDuration] => 49
            [cSTime] => 1742052981
            [cETime] => 1742053005
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07624839260
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053005
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052959
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052981
                                    [endTime] => 1742053005
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1608
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.63999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29967.119999999482
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1608
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.63999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96241.05000001106
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053006
{"compaign_id":"36075","contact_id":"4174","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4174","uid":"u595","unique_id":"36075_4174_138-u595","ivrId":"3158","channelOTime":1742052988,"channelDTime":1742053005,"channelDuration":17,"cSTime":1742053000,"cETime":1742053005,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08860590415","server_ip":"118.185.137.196","insertTime":1742053005,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052990,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4174
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4174
            [uid] => u595
            [unique_id] => 36075_4174_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052988
            [channelDTime] => 1742053005
            [channelDuration] => 17
            [cSTime] => 1742053000
            [cETime] => 1742053005
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08860590415
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053005
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052990
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1610
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.79999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29966.959999999483
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1610
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.79999999999782
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96240.89000001106
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053006
{"compaign_id":"36075","contact_id":"4148","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4148","uid":"u595","unique_id":"36075_4148_138-u595","ivrId":"3158","channelOTime":1742052963,"channelDTime":1742053006,"channelDuration":43,"cSTime":1742052983,"cETime":1742053006,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09306242465","server_ip":"118.185.137.196","insertTime":1742053006,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052965,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742052983,"endTime":1742053006,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4148
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4148
            [uid] => u595
            [unique_id] => 36075_4148_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052963
            [channelDTime] => 1742053006
            [channelDuration] => 43
            [cSTime] => 1742052983
            [cETime] => 1742053006
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09306242465
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053006
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052965
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742052983
                                    [endTime] => 1742053006
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1611
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.87999999999784
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29966.87999999948
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1611
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 128.87999999999784
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96240.81000001106
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053008
{"compaign_id":"36075","contact_id":"4177","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4177","uid":"u595","unique_id":"36075_4177_138-u595","ivrId":"3158","channelOTime":1742052989,"channelDTime":1742053006,"channelDuration":17,"cSTime":1742052999,"cETime":1742053006,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09822742224","server_ip":"118.185.137.196","insertTime":1742053006,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052992,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4177
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4177
            [uid] => u595
            [unique_id] => 36075_4177_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052989
            [channelDTime] => 1742053006
            [channelDuration] => 17
            [cSTime] => 1742052999
            [cETime] => 1742053006
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09822742224
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053006
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052992
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1613
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.03999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29966.71999999948
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1613
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.03999999999783
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96240.65000001105
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053008
{"compaign_id":"36075","contact_id":"4155","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4155","uid":"u595","unique_id":"36075_4155_138-u595","ivrId":"3158","channelOTime":1742052984,"channelDTime":1742053008,"channelDuration":24,"cSTime":1742052994,"cETime":1742053008,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07294190803","server_ip":"118.185.137.196","insertTime":1742053008,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052987,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4155
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4155
            [uid] => u595
            [unique_id] => 36075_4155_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052984
            [channelDTime] => 1742053008
            [channelDuration] => 24
            [cSTime] => 1742052994
            [cETime] => 1742053008
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07294190803
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053008
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052987
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1614
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.11999999999784
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29966.63999999948
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1614
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.11999999999784
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96240.57000001105
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053010
{"compaign_id":"36075","contact_id":"4150","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4150","uid":"u595","unique_id":"36075_4150_138-u595","ivrId":"3158","channelOTime":1742052983,"channelDTime":1742053009,"channelDuration":26,"cSTime":1742053000,"cETime":1742053009,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06393363932","server_ip":"118.185.137.196","insertTime":1742053009,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052986,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4150
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4150
            [uid] => u595
            [unique_id] => 36075_4150_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052983
            [channelDTime] => 1742053009
            [channelDuration] => 26
            [cSTime] => 1742053000
            [cETime] => 1742053009
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06393363932
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053009
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052986
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1615
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.19999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29966.559999999477
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1615
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.19999999999786
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96240.49000001105
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053010
{"compaign_id":"36075","contact_id":"4160","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4160","uid":"u595","unique_id":"36075_4160_138-u595","ivrId":"3158","channelOTime":1742052985,"channelDTime":1742053010,"channelDuration":25,"cSTime":1742053005,"cETime":1742053010,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08952889471","server_ip":"118.185.137.196","insertTime":1742053010,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052987,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4160
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4160
            [uid] => u595
            [unique_id] => 36075_4160_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052985
            [channelDTime] => 1742053010
            [channelDuration] => 25
            [cSTime] => 1742053005
            [cETime] => 1742053010
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08952889471
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053010
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052987
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1616
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.27999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29966.479999999476
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1616
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.27999999999787
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96240.41000001105
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053012
{"compaign_id":"36075","contact_id":"4201","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4201","uid":"u595","unique_id":"36075_4201_138-u595","ivrId":"3158","channelOTime":1742052996,"channelDTime":1742053011,"channelDuration":15,"cSTime":1742053007,"cETime":1742053011,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07797385414","server_ip":"118.185.137.196","insertTime":1742053011,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052997,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4201
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4201
            [uid] => u595
            [unique_id] => 36075_4201_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052996
            [channelDTime] => 1742053011
            [channelDuration] => 15
            [cSTime] => 1742053007
            [cETime] => 1742053011
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07797385414
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053011
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052997
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1617
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.35999999999788
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29966.399999999474
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1617
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.35999999999788
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96240.33000001105
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053013
{"compaign_id":"36075","contact_id":"4153","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4153","uid":"u595","unique_id":"36075_4153_138-u595","ivrId":"3158","channelOTime":1742052984,"channelDTime":1742053012,"channelDuration":28,"cSTime":1742052998,"cETime":1742053012,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07518139831","server_ip":"118.185.137.196","insertTime":1742053012,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052986,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4153
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4153
            [uid] => u595
            [unique_id] => 36075_4153_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052984
            [channelDTime] => 1742053012
            [channelDuration] => 28
            [cSTime] => 1742052998
            [cETime] => 1742053012
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07518139831
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053012
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052986
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1618
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.4399999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29966.319999999472
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1618
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.4399999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96240.25000001104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053013
{"compaign_id":"36075","contact_id":"4209","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4209","uid":"u595","unique_id":"36075_4209_138-u595","ivrId":"3158","channelOTime":1742052997,"channelDTime":1742053014,"channelDuration":17,"cSTime":1742053008,"cETime":1742053014,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07043155167","server_ip":"118.185.137.196","insertTime":1742053014,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053001,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4209
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4209
            [uid] => u595
            [unique_id] => 36075_4209_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052997
            [channelDTime] => 1742053014
            [channelDuration] => 17
            [cSTime] => 1742053008
            [cETime] => 1742053014
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07043155167
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053014
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053001
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1619
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.5199999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29966.23999999947
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1619
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.5199999999979
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96240.17000001104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053015
{"compaign_id":"36075","contact_id":"4207","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4207","uid":"u595","unique_id":"36075_4207_138-u595","ivrId":"3158","channelOTime":1742052997,"channelDTime":1742053018,"channelDuration":21,"cSTime":1742053012,"cETime":1742053018,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09352227372","server_ip":"118.185.137.196","insertTime":1742053018,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052999,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4207
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4207
            [uid] => u595
            [unique_id] => 36075_4207_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052997
            [channelDTime] => 1742053018
            [channelDuration] => 21
            [cSTime] => 1742053012
            [cETime] => 1742053018
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09352227372
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053018
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052999
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1620
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.59999999999792
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29966.15999999947
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1620
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.59999999999792
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96240.09000001104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053020
{"compaign_id":"36075","contact_id":"4246","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4246","uid":"u595","unique_id":"36075_4246_138-u595","ivrId":"3158","channelOTime":1742053005,"channelDTime":1742053019,"channelDuration":14,"cSTime":1742053015,"cETime":1742053019,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08838722360","server_ip":"118.185.137.196","insertTime":1742053019,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053008,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4246
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4246
            [uid] => u595
            [unique_id] => 36075_4246_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053005
            [channelDTime] => 1742053019
            [channelDuration] => 14
            [cSTime] => 1742053015
            [cETime] => 1742053019
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08838722360
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053019
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053008
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1621
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.67999999999793
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29966.079999999467
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1621
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.67999999999793
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96240.01000001104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053020
2025-03-15 21:07:01[LOG]Starting Cron
2025-03-15 21:07:01[LOG]Process is already running
{"compaign_id":"36075","contact_id":"4214","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4214","uid":"u595","unique_id":"36075_4214_138-u595","ivrId":"3158","channelOTime":1742052998,"channelDTime":1742053020,"channelDuration":22,"cSTime":1742053006,"cETime":1742053020,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08008389255","server_ip":"118.185.137.196","insertTime":1742053020,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053000,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4214
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4214
            [uid] => u595
            [unique_id] => 36075_4214_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052998
            [channelDTime] => 1742053020
            [channelDuration] => 22
            [cSTime] => 1742053006
            [cETime] => 1742053020
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08008389255
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053020
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053000
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1622
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.75999999999794
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29965.999999999465
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1622
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.75999999999794
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96239.93000001104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053022
{"compaign_id":"36075","contact_id":"4229","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4229","uid":"u595","unique_id":"36075_4229_138-u595","ivrId":"3158","channelOTime":1742053001,"channelDTime":1742053021,"channelDuration":20,"cSTime":1742053010,"cETime":1742053021,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09157913766","server_ip":"118.185.137.196","insertTime":1742053021,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053004,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4229
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4229
            [uid] => u595
            [unique_id] => 36075_4229_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053001
            [channelDTime] => 1742053021
            [channelDuration] => 20
            [cSTime] => 1742053010
            [cETime] => 1742053021
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09157913766
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053021
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053004
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1623
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.83999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29965.919999999463
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1623
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.83999999999796
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96239.85000001104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053022
{"compaign_id":"36075","contact_id":"4222","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4222","uid":"u595","unique_id":"36075_4222_138-u595","ivrId":"3158","channelOTime":1742053000,"channelDTime":1742053021,"channelDuration":21,"cSTime":1742053005,"cETime":1742053021,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09453430007","server_ip":"118.185.137.196","insertTime":1742053021,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053003,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4222
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4222
            [uid] => u595
            [unique_id] => 36075_4222_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053000
            [channelDTime] => 1742053021
            [channelDuration] => 21
            [cSTime] => 1742053005
            [cETime] => 1742053021
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09453430007
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053021
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053003
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1624
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.91999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29965.83999999946
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1624
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 129.91999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96239.77000001103
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053023
{"compaign_id":"36075","contact_id":"4236","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4236","uid":"u595","unique_id":"36075_4236_138-u595","ivrId":"3158","channelOTime":1742053003,"channelDTime":1742053021,"channelDuration":18,"cSTime":1742053019,"cETime":1742053021,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09952200563","server_ip":"118.185.137.196","insertTime":1742053021,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053005,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4236
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4236
            [uid] => u595
            [unique_id] => 36075_4236_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053003
            [channelDTime] => 1742053021
            [channelDuration] => 18
            [cSTime] => 1742053019
            [cETime] => 1742053021
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09952200563
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053021
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053005
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1626
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.07999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29965.679999999462
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1626
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.07999999999797
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96239.61000001103
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053023
{"compaign_id":"36075","contact_id":"4235","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4235","uid":"u595","unique_id":"36075_4235_138-u595","ivrId":"3158","channelOTime":1742053003,"channelDTime":1742053023,"channelDuration":20,"cSTime":1742053015,"cETime":1742053023,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06281767120","server_ip":"118.185.137.196","insertTime":1742053023,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053004,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4235
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4235
            [uid] => u595
            [unique_id] => 36075_4235_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053003
            [channelDTime] => 1742053023
            [channelDuration] => 20
            [cSTime] => 1742053015
            [cETime] => 1742053023
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06281767120
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053023
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053004
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1627
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.15999999999798
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29965.59999999946
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1627
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.15999999999798
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96239.53000001103
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053024
{"compaign_id":"36075","contact_id":"4168","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4168","uid":"u595","unique_id":"36075_4168_138-u595","ivrId":"3158","channelOTime":1742052987,"channelDTime":1742053024,"channelDuration":37,"cSTime":1742053007,"cETime":1742053024,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08538928691","server_ip":"118.185.137.196","insertTime":1742053024,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052990,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4168
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4168
            [uid] => u595
            [unique_id] => 36075_4168_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052987
            [channelDTime] => 1742053024
            [channelDuration] => 37
            [cSTime] => 1742053007
            [cETime] => 1742053024
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08538928691
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053024
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052990
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1628
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.239999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29965.51999999946
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1628
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.239999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96239.45000001103
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053026
{"compaign_id":"36075","contact_id":"4263","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4263","uid":"u595","unique_id":"36075_4263_138-u595","ivrId":"3158","channelOTime":1742053010,"channelDTime":1742053025,"channelDuration":15,"cSTime":1742053017,"cETime":1742053025,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08328100177","server_ip":"118.185.137.196","insertTime":1742053025,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053012,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4263
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4263
            [uid] => u595
            [unique_id] => 36075_4263_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053010
            [channelDTime] => 1742053025
            [channelDuration] => 15
            [cSTime] => 1742053017
            [cETime] => 1742053025
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08328100177
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053025
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053012
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1630
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.399999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29965.35999999946
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1630
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.399999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96239.29000001102
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053027
{"compaign_id":"36075","contact_id":"4295","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4295","uid":"u595","unique_id":"36075_4295_138-u595","ivrId":"3158","channelOTime":1742053017,"channelDTime":1742053026,"channelDuration":9,"cSTime":1742053024,"cETime":1742053026,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09352510794","server_ip":"118.185.137.196","insertTime":1742053026,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053023,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4295
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4295
            [uid] => u595
            [unique_id] => 36075_4295_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053017
            [channelDTime] => 1742053026
            [channelDuration] => 9
            [cSTime] => 1742053024
            [cETime] => 1742053026
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09352510794
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053026
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053023
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1631
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.479999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29965.279999999457
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1631
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.479999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96239.21000001102
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053027
{"compaign_id":"36075","contact_id":"4282","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4282","uid":"u595","unique_id":"36075_4282_138-u595","ivrId":"3158","channelOTime":1742053014,"channelDTime":1742053027,"channelDuration":13,"cSTime":1742053024,"cETime":1742053027,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07680971408","server_ip":"118.185.137.196","insertTime":1742053027,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053017,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4282
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4282
            [uid] => u595
            [unique_id] => 36075_4282_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053014
            [channelDTime] => 1742053027
            [channelDuration] => 13
            [cSTime] => 1742053024
            [cETime] => 1742053027
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07680971408
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053027
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053017
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1632
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.559999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29965.199999999455
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1632
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.559999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96239.13000001102
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053028
{"compaign_id":"36075","contact_id":"4197","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4197","uid":"u595","unique_id":"36075_4197_138-u595","ivrId":"3158","channelOTime":1742052993,"channelDTime":1742053027,"channelDuration":34,"cSTime":1742053009,"cETime":1742053027,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09486984302","server_ip":"118.185.137.196","insertTime":1742053027,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052996,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4197
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4197
            [uid] => u595
            [unique_id] => 36075_4197_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052993
            [channelDTime] => 1742053027
            [channelDuration] => 34
            [cSTime] => 1742053009
            [cETime] => 1742053027
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09486984302
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053027
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052996
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1633
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.63999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29965.119999999453
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1633
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.63999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96239.05000001102
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053029
{"compaign_id":"36075","contact_id":"4170","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4170","uid":"u595","unique_id":"36075_4170_138-u595","ivrId":"3158","channelOTime":1742052987,"channelDTime":1742053029,"channelDuration":42,"cSTime":1742053005,"cETime":1742053029,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09398122069","server_ip":"118.185.137.196","insertTime":1742053029,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052992,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053005,"endTime":1742053029,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4170
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4170
            [uid] => u595
            [unique_id] => 36075_4170_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052987
            [channelDTime] => 1742053029
            [channelDuration] => 42
            [cSTime] => 1742053005
            [cETime] => 1742053029
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09398122069
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053029
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052992
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053005
                                    [endTime] => 1742053029
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1635
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.79999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29964.959999999453
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1635
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.79999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96238.89000001102
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053030
{"compaign_id":"36075","contact_id":"4203","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4203","uid":"u595","unique_id":"36075_4203_138-u595","ivrId":"3158","channelOTime":1742052996,"channelDTime":1742053029,"channelDuration":33,"cSTime":1742053018,"cETime":1742053029,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09942194259","server_ip":"118.185.137.196","insertTime":1742053029,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053000,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4203
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4203
            [uid] => u595
            [unique_id] => 36075_4203_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052996
            [channelDTime] => 1742053029
            [channelDuration] => 33
            [cSTime] => 1742053018
            [cETime] => 1742053029
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09942194259
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053029
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053000
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1637
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.95999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29964.799999999454
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1637
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 130.95999999999802
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96238.73000001101
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053031
{"compaign_id":"36075","contact_id":"4286","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4286","uid":"u595","unique_id":"36075_4286_138-u595","ivrId":"3158","channelOTime":1742053015,"channelDTime":1742053029,"channelDuration":14,"cSTime":1742053026,"cETime":1742053029,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08686689228","server_ip":"118.185.137.196","insertTime":1742053029,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053021,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4286
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4286
            [uid] => u595
            [unique_id] => 36075_4286_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053015
            [channelDTime] => 1742053029
            [channelDuration] => 14
            [cSTime] => 1742053026
            [cETime] => 1742053029
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08686689228
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053029
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053021
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1638
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.03999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29964.719999999452
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1638
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.03999999999803
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96238.65000001101
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053031
{"compaign_id":"36075","contact_id":"4274","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4274","uid":"u595","unique_id":"36075_4274_138-u595","ivrId":"3158","channelOTime":1742053012,"channelDTime":1742053030,"channelDuration":18,"cSTime":1742053023,"cETime":1742053030,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09966828214","server_ip":"118.185.137.196","insertTime":1742053030,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053014,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4274
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4274
            [uid] => u595
            [unique_id] => 36075_4274_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053012
            [channelDTime] => 1742053030
            [channelDuration] => 18
            [cSTime] => 1742053023
            [cETime] => 1742053030
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09966828214
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053030
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053014
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1639
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.11999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29964.63999999945
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1639
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.11999999999804
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96238.57000001101
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053031
{"compaign_id":"36075","contact_id":"4293","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4293","uid":"u595","unique_id":"36075_4293_138-u595","ivrId":"3158","channelOTime":1742053016,"channelDTime":1742053030,"channelDuration":14,"cSTime":1742053025,"cETime":1742053030,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07980303751","server_ip":"118.185.137.196","insertTime":1742053030,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053018,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4293
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4293
            [uid] => u595
            [unique_id] => 36075_4293_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053016
            [channelDTime] => 1742053030
            [channelDuration] => 14
            [cSTime] => 1742053025
            [cETime] => 1742053030
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07980303751
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053030
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053018
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1640
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.19999999999806
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29964.55999999945
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1640
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.19999999999806
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96238.490000011
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053032
{"compaign_id":"36075","contact_id":"4278","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4278","uid":"u595","unique_id":"36075_4278_138-u595","ivrId":"3158","channelOTime":1742053013,"channelDTime":1742053031,"channelDuration":18,"cSTime":1742053022,"cETime":1742053031,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08624023110","server_ip":"118.185.137.196","insertTime":1742053031,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053016,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4278
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4278
            [uid] => u595
            [unique_id] => 36075_4278_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053013
            [channelDTime] => 1742053031
            [channelDuration] => 18
            [cSTime] => 1742053022
            [cETime] => 1742053031
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08624023110
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053031
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053016
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1641
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.27999999999807
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29964.479999999447
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1641
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.27999999999807
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96238.410000011
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053033
{"compaign_id":"36075","contact_id":"4193","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4193","uid":"u595","unique_id":"36075_4193_138-u595","ivrId":"3158","channelOTime":1742052992,"channelDTime":1742053031,"channelDuration":39,"cSTime":1742053018,"cETime":1742053031,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09074260709","server_ip":"118.185.137.196","insertTime":1742053031,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742052995,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4193
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4193
            [uid] => u595
            [unique_id] => 36075_4193_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052992
            [channelDTime] => 1742053031
            [channelDuration] => 39
            [cSTime] => 1742053018
            [cETime] => 1742053031
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09074260709
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053031
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742052995
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1642
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.35999999999808
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29964.399999999445
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1642
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.35999999999808
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96238.330000011
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053033
{"compaign_id":"36075","contact_id":"4277","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4277","uid":"u595","unique_id":"36075_4277_138-u595","ivrId":"3158","channelOTime":1742053013,"channelDTime":1742053032,"channelDuration":19,"cSTime":1742053026,"cETime":1742053032,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09779633003","server_ip":"118.185.137.196","insertTime":1742053032,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053016,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4277
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4277
            [uid] => u595
            [unique_id] => 36075_4277_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053013
            [channelDTime] => 1742053032
            [channelDuration] => 19
            [cSTime] => 1742053026
            [cETime] => 1742053032
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09779633003
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053032
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053016
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1643
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.4399999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29964.319999999443
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1643
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.4399999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96238.250000011
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053034
{"compaign_id":"36075","contact_id":"4250","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4250","uid":"u595","unique_id":"36075_4250_138-u595","ivrId":"3158","channelOTime":1742053008,"channelDTime":1742053032,"channelDuration":24,"cSTime":1742053020,"cETime":1742053032,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09074208872","server_ip":"118.185.137.196","insertTime":1742053032,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053011,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4250
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4250
            [uid] => u595
            [unique_id] => 36075_4250_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053008
            [channelDTime] => 1742053032
            [channelDuration] => 24
            [cSTime] => 1742053020
            [cETime] => 1742053032
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09074208872
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053032
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053011
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1644
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.5199999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29964.23999999944
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1644
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.5199999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96238.170000011
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053034
{"compaign_id":"36075","contact_id":"4228","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4228","uid":"u595","unique_id":"36075_4228_138-u595","ivrId":"3158","channelOTime":1742053001,"channelDTime":1742053033,"channelDuration":32,"cSTime":1742053009,"cETime":1742053033,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08943617192","server_ip":"118.185.137.196","insertTime":1742053033,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053002,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053009,"endTime":1742053027,"duration":18}],"#3":[{"startTime":1742053027,"endTime":1742053033,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4228
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4228
            [uid] => u595
            [unique_id] => 36075_4228_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053001
            [channelDTime] => 1742053033
            [channelDuration] => 32
            [cSTime] => 1742053009
            [cETime] => 1742053033
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08943617192
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053033
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053002
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053009
                                    [endTime] => 1742053027
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053027
                                    [endTime] => 1742053033
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1645
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.59999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29964.15999999944
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1645
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.59999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96238.090000011
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053035
{"compaign_id":"36075","contact_id":"4215","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4215","uid":"u595","unique_id":"36075_4215_138-u595","ivrId":"3158","channelOTime":1742052999,"channelDTime":1742053033,"channelDuration":34,"cSTime":1742053010,"cETime":1742053033,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09671414258","server_ip":"118.185.137.196","insertTime":1742053033,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053000,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053010,"endTime":1742053033,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4215
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4215
            [uid] => u595
            [unique_id] => 36075_4215_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052999
            [channelDTime] => 1742053033
            [channelDuration] => 34
            [cSTime] => 1742053010
            [cETime] => 1742053033
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09671414258
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053033
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053000
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053010
                                    [endTime] => 1742053033
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1647
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.75999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29963.99999999944
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1647
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.75999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96237.930000011
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053035
{"compaign_id":"36075","contact_id":"4308","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4308","uid":"u595","unique_id":"36075_4308_138-u595","ivrId":"3158","channelOTime":1742053021,"channelDTime":1742053034,"channelDuration":13,"cSTime":1742053031,"cETime":1742053034,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07365949965","server_ip":"118.185.137.196","insertTime":1742053034,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053023,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4308
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4308
            [uid] => u595
            [unique_id] => 36075_4308_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053021
            [channelDTime] => 1742053034
            [channelDuration] => 13
            [cSTime] => 1742053031
            [cETime] => 1742053034
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07365949965
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053034
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053023
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1649
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.9199999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29963.83999999944
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1649
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.9199999999981
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96237.77000001099
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053035
{"compaign_id":"36075","contact_id":"4242","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4242","uid":"u595","unique_id":"36075_4242_138-u595","ivrId":"3158","channelOTime":1742053004,"channelDTime":1742053034,"channelDuration":30,"cSTime":1742053019,"cETime":1742053034,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06351143585","server_ip":"118.185.137.196","insertTime":1742053034,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053006,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4242
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4242
            [uid] => u595
            [unique_id] => 36075_4242_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053004
            [channelDTime] => 1742053034
            [channelDuration] => 30
            [cSTime] => 1742053019
            [cETime] => 1742053034
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06351143585
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053034
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053006
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1650
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.99999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29963.759999999438
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1650
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 131.99999999999812
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96237.69000001099
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053036
{"compaign_id":"36075","contact_id":"4321","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4321","uid":"u595","unique_id":"36075_4321_138-u595","ivrId":"3158","channelOTime":1742053024,"channelDTime":1742053037,"channelDuration":13,"cSTime":1742053033,"cETime":1742053037,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07063939792","server_ip":"118.185.137.196","insertTime":1742053037,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053026,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4321
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4321
            [uid] => u595
            [unique_id] => 36075_4321_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053024
            [channelDTime] => 1742053037
            [channelDuration] => 13
            [cSTime] => 1742053033
            [cETime] => 1742053037
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07063939792
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053037
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053026
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1651
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.07999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29963.679999999436
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1651
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.07999999999814
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96237.61000001099
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053039
{"compaign_id":"36075","contact_id":"4313","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4313","uid":"u595","unique_id":"36075_4313_138-u595","ivrId":"3158","channelOTime":1742053022,"channelDTime":1742053039,"channelDuration":17,"cSTime":1742053035,"cETime":1742053039,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09648255439","server_ip":"118.185.137.196","insertTime":1742053039,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053024,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4313
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4313
            [uid] => u595
            [unique_id] => 36075_4313_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053022
            [channelDTime] => 1742053039
            [channelDuration] => 17
            [cSTime] => 1742053035
            [cETime] => 1742053039
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09648255439
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053039
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053024
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1652
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.15999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29963.599999999435
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1652
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.15999999999815
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96237.53000001099
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053040
{"compaign_id":"36075","contact_id":"4312","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4312","uid":"u595","unique_id":"36075_4312_138-u595","ivrId":"3158","channelOTime":1742053022,"channelDTime":1742053040,"channelDuration":18,"cSTime":1742053030,"cETime":1742053040,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09656254130","server_ip":"118.185.137.196","insertTime":1742053040,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053024,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4312
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4312
            [uid] => u595
            [unique_id] => 36075_4312_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053022
            [channelDTime] => 1742053040
            [channelDuration] => 18
            [cSTime] => 1742053030
            [cETime] => 1742053040
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09656254130
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053040
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053024
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1653
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.23999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29963.519999999433
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1653
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.23999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96237.45000001098
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053042
{"compaign_id":"36075","contact_id":"4247","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4247","uid":"u595","unique_id":"36075_4247_138-u595","ivrId":"3158","channelOTime":1742053005,"channelDTime":1742053041,"channelDuration":36,"cSTime":1742053017,"cETime":1742053041,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08822112538","server_ip":"118.185.137.196","insertTime":1742053041,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053007,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053017,"endTime":1742053041,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4247
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4247
            [uid] => u595
            [unique_id] => 36075_4247_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053005
            [channelDTime] => 1742053041
            [channelDuration] => 36
            [cSTime] => 1742053017
            [cETime] => 1742053041
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08822112538
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053041
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053007
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053017
                                    [endTime] => 1742053041
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1654
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.31999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29963.43999999943
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1654
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.31999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96237.37000001098
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053043
{"compaign_id":"36075","contact_id":"4240","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4240","uid":"u595","unique_id":"36075_4240_138-u595","ivrId":"3158","channelOTime":1742053004,"channelDTime":1742053042,"channelDuration":38,"cSTime":1742053018,"cETime":1742053042,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09554525194","server_ip":"118.185.137.196","insertTime":1742053042,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053007,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053018,"endTime":1742053042,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4240
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4240
            [uid] => u595
            [unique_id] => 36075_4240_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053004
            [channelDTime] => 1742053042
            [channelDuration] => 38
            [cSTime] => 1742053018
            [cETime] => 1742053042
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09554525194
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053042
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053007
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053018
                                    [endTime] => 1742053042
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1656
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.47999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29963.27999999943
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1656
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.47999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96237.21000001098
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053043
{"compaign_id":"36075","contact_id":"4211","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4211","uid":"u595","unique_id":"36075_4211_138-u595","ivrId":"3158","channelOTime":1742052998,"channelDTime":1742053044,"channelDuration":46,"cSTime":1742053020,"cETime":1742053044,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09068698807","server_ip":"118.185.137.196","insertTime":1742053044,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053005,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053020,"endTime":1742053044,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4211
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4211
            [uid] => u595
            [unique_id] => 36075_4211_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742052998
            [channelDTime] => 1742053044
            [channelDuration] => 46
            [cSTime] => 1742053020
            [cETime] => 1742053044
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09068698807
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053044
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053005
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053020
                                    [endTime] => 1742053044
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1658
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.63999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29963.11999999943
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1658
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.63999999999817
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96237.05000001098
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053045
{"compaign_id":"36075","contact_id":"4346","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4346","uid":"u595","unique_id":"36075_4346_138-u595","ivrId":"3158","channelOTime":1742053029,"channelDTime":1742053045,"channelDuration":16,"cSTime":1742053041,"cETime":1742053045,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07033139658","server_ip":"118.185.137.196","insertTime":1742053045,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4346
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4346
            [uid] => u595
            [unique_id] => 36075_4346_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053029
            [channelDTime] => 1742053045
            [channelDuration] => 16
            [cSTime] => 1742053041
            [cETime] => 1742053045
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07033139658
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053045
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1660
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.79999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29962.95999999943
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1660
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.79999999999816
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96236.89000001097
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053046
{"compaign_id":"36075","contact_id":"4296","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4296","uid":"u595","unique_id":"36075_4296_138-u595","ivrId":"3158","channelOTime":1742053017,"channelDTime":1742053045,"channelDuration":28,"cSTime":1742053031,"cETime":1742053045,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09895199265","server_ip":"118.185.137.196","insertTime":1742053045,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053020,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4296
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4296
            [uid] => u595
            [unique_id] => 36075_4296_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053017
            [channelDTime] => 1742053045
            [channelDuration] => 28
            [cSTime] => 1742053031
            [cETime] => 1742053045
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09895199265
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053045
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053020
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1661
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.87999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29962.87999999943
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1661
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.87999999999818
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96236.81000001097
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053047
{"compaign_id":"36075","contact_id":"4339","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4339","uid":"u595","unique_id":"36075_4339_138-u595","ivrId":"3158","channelOTime":1742053028,"channelDTime":1742053047,"channelDuration":19,"cSTime":1742053040,"cETime":1742053047,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09600567841","server_ip":"118.185.137.196","insertTime":1742053047,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053032,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4339
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4339
            [uid] => u595
            [unique_id] => 36075_4339_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053028
            [channelDTime] => 1742053047
            [channelDuration] => 19
            [cSTime] => 1742053040
            [cETime] => 1742053047
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09600567841
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053047
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053032
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1662
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.9599999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29962.799999999428
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1662
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 132.9599999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96236.73000001097
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053048
{"compaign_id":"36075","contact_id":"4307","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4307","uid":"u595","unique_id":"36075_4307_138-u595","ivrId":"3158","channelOTime":1742053021,"channelDTime":1742053047,"channelDuration":26,"cSTime":1742053036,"cETime":1742053047,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08921135707","server_ip":"118.185.137.196","insertTime":1742053047,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053023,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4307
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4307
            [uid] => u595
            [unique_id] => 36075_4307_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053021
            [channelDTime] => 1742053047
            [channelDuration] => 26
            [cSTime] => 1742053036
            [cETime] => 1742053047
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08921135707
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053047
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053023
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1663
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.0399999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29962.719999999426
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1663
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.0399999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96236.65000001097
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053049
{"compaign_id":"36075","contact_id":"4271","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4271","uid":"u595","unique_id":"36075_4271_138-u595","ivrId":"3158","channelOTime":1742053012,"channelDTime":1742053048,"channelDuration":36,"cSTime":1742053024,"cETime":1742053048,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06000010285","server_ip":"118.185.137.196","insertTime":1742053048,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053015,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053024,"endTime":1742053048,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4271
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4271
            [uid] => u595
            [unique_id] => 36075_4271_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053012
            [channelDTime] => 1742053048
            [channelDuration] => 36
            [cSTime] => 1742053024
            [cETime] => 1742053048
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06000010285
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053048
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053015
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053024
                                    [endTime] => 1742053048
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1664
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.1199999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29962.639999999425
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1664
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.1199999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96236.57000001096
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053050
{"compaign_id":"36075","contact_id":"4315","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4315","uid":"u595","unique_id":"36075_4315_138-u595","ivrId":"3158","channelOTime":1742053023,"channelDTime":1742053052,"channelDuration":29,"cSTime":1742053043,"cETime":1742053052,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07024742776","server_ip":"118.185.137.196","insertTime":1742053052,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053025,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4315
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4315
            [uid] => u595
            [unique_id] => 36075_4315_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053023
            [channelDTime] => 1742053052
            [channelDuration] => 29
            [cSTime] => 1742053043
            [cETime] => 1742053052
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07024742776
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053052
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053025
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1666
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.2799999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29962.479999999425
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1666
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.2799999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96236.41000001096
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053054
{"compaign_id":"36075","contact_id":"4292","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4292","uid":"u595","unique_id":"36075_4292_138-u595","ivrId":"3158","channelOTime":1742053016,"channelDTime":1742053056,"channelDuration":40,"cSTime":1742053033,"cETime":1742053056,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09137634743","server_ip":"118.185.137.196","insertTime":1742053056,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053017,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053033,"endTime":1742053056,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4292
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4292
            [uid] => u595
            [unique_id] => 36075_4292_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053016
            [channelDTime] => 1742053056
            [channelDuration] => 40
            [cSTime] => 1742053033
            [cETime] => 1742053056
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09137634743
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053056
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053017
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053033
                                    [endTime] => 1742053056
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1667
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.35999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29962.399999999423
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1667
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.35999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96236.33000001096
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053058
{"compaign_id":"36075","contact_id":"4376","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4376","uid":"u595","unique_id":"36075_4376_138-u595","ivrId":"3158","channelOTime":1742053046,"channelDTime":1742053065,"channelDuration":19,"cSTime":1742053058,"cETime":1742053065,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08011344836","server_ip":"118.185.137.196","insertTime":1742053065,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053057,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4376
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4376
            [uid] => u595
            [unique_id] => 36075_4376_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053046
            [channelDTime] => 1742053065
            [channelDuration] => 19
            [cSTime] => 1742053058
            [cETime] => 1742053065
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08011344836
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053065
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053057
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1669
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.51999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29962.239999999423
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1669
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.51999999999822
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96236.17000001096
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053066
{"compaign_id":"36075","contact_id":"4388","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4388","uid":"u595","unique_id":"36075_4388_138-u595","ivrId":"3158","channelOTime":1742053048,"channelDTime":1742053066,"channelDuration":18,"cSTime":1742053057,"cETime":1742053066,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06367591678","server_ip":"118.185.137.196","insertTime":1742053066,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053051,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4388
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4388
            [uid] => u595
            [unique_id] => 36075_4388_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053048
            [channelDTime] => 1742053066
            [channelDuration] => 18
            [cSTime] => 1742053057
            [cETime] => 1742053066
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06367591678
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053066
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053051
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1670
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.59999999999823
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29962.15999999942
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1670
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.59999999999823
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96236.09000001095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053068
{"compaign_id":"36075","contact_id":"4398","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4398","uid":"u595","unique_id":"36075_4398_138-u595","ivrId":"3158","channelOTime":1742053050,"channelDTime":1742053067,"channelDuration":17,"cSTime":1742053057,"cETime":1742053067,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07338720088","server_ip":"118.185.137.196","insertTime":1742053067,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053052,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4398
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4398
            [uid] => u595
            [unique_id] => 36075_4398_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053050
            [channelDTime] => 1742053067
            [channelDuration] => 17
            [cSTime] => 1742053057
            [cETime] => 1742053067
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07338720088
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053067
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053052
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1671
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.67999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29962.07999999942
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1671
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.67999999999824
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96236.01000001095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053069
{"compaign_id":"36075","contact_id":"4347","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4347","uid":"u595","unique_id":"36075_4347_138-u595","ivrId":"3158","channelOTime":1742053029,"channelDTime":1742053068,"channelDuration":39,"cSTime":1742053053,"cETime":1742053068,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07875668184","server_ip":"118.185.137.196","insertTime":1742053068,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053031,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4347
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4347
            [uid] => u595
            [unique_id] => 36075_4347_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053029
            [channelDTime] => 1742053068
            [channelDuration] => 39
            [cSTime] => 1742053053
            [cETime] => 1742053068
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07875668184
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053068
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053031
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1672
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.75999999999826
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29961.999999999418
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1672
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.75999999999826
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96235.93000001095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053070
{"compaign_id":"36075","contact_id":"4340","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4340","uid":"u595","unique_id":"36075_4340_138-u595","ivrId":"3158","channelOTime":1742053028,"channelDTime":1742053069,"channelDuration":41,"cSTime":1742053045,"cETime":1742053069,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09316934879","server_ip":"118.185.137.196","insertTime":1742053069,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053033,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053045,"endTime":1742053063,"duration":18}],"#3":[{"startTime":1742053063,"endTime":1742053069,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4340
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4340
            [uid] => u595
            [unique_id] => 36075_4340_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053028
            [channelDTime] => 1742053069
            [channelDuration] => 41
            [cSTime] => 1742053045
            [cETime] => 1742053069
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09316934879
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053069
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053033
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053045
                                    [endTime] => 1742053063
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053063
                                    [endTime] => 1742053069
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1673
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.83999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29961.919999999416
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1673
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.83999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96235.85000001095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053070
{"compaign_id":"36075","contact_id":"4333","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4333","uid":"u595","unique_id":"36075_4333_138-u595","ivrId":"3158","channelOTime":1742053026,"channelDTime":1742053069,"channelDuration":43,"cSTime":1742053046,"cETime":1742053069,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07042493484","server_ip":"118.185.137.196","insertTime":1742053069,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053028,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053046,"endTime":1742053069,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4333
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4333
            [uid] => u595
            [unique_id] => 36075_4333_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053026
            [channelDTime] => 1742053069
            [channelDuration] => 43
            [cSTime] => 1742053046
            [cETime] => 1742053069
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07042493484
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053069
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053028
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053046
                                    [endTime] => 1742053069
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1675
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.99999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29961.759999999416
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1675
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 133.99999999999827
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96235.69000001095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053071
{"compaign_id":"36075","contact_id":"4407","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4407","uid":"u595","unique_id":"36075_4407_138-u595","ivrId":"3158","channelOTime":1742053059,"channelDTime":1742053071,"channelDuration":12,"cSTime":1742053068,"cETime":1742053071,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08122847890","server_ip":"118.185.137.196","insertTime":1742053071,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053061,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4407
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4407
            [uid] => u595
            [unique_id] => 36075_4407_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053059
            [channelDTime] => 1742053071
            [channelDuration] => 12
            [cSTime] => 1742053068
            [cETime] => 1742053071
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08122847890
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053071
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053061
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1677
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.15999999999826
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29961.599999999416
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1677
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.15999999999826
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96235.53000001094
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053073
{"compaign_id":"36075","contact_id":"4374","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4374","uid":"u595","unique_id":"36075_4374_138-u595","ivrId":"3158","channelOTime":1742053045,"channelDTime":1742053072,"channelDuration":27,"cSTime":1742053058,"cETime":1742053072,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08108306700","server_ip":"118.185.137.196","insertTime":1742053072,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053048,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4374
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4374
            [uid] => u595
            [unique_id] => 36075_4374_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053045
            [channelDTime] => 1742053072
            [channelDuration] => 27
            [cSTime] => 1742053058
            [cETime] => 1742053072
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08108306700
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053072
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053048
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1678
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.23999999999828
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29961.519999999415
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1678
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.23999999999828
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96235.45000001094
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053074
{"compaign_id":"36075","contact_id":"4373","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4373","uid":"u595","unique_id":"36075_4373_138-u595","ivrId":"3158","channelOTime":1742053045,"channelDTime":1742053072,"channelDuration":27,"cSTime":1742053064,"cETime":1742053072,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07596977936","server_ip":"118.185.137.196","insertTime":1742053072,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053059,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4373
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4373
            [uid] => u595
            [unique_id] => 36075_4373_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053045
            [channelDTime] => 1742053072
            [channelDuration] => 27
            [cSTime] => 1742053064
            [cETime] => 1742053072
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07596977936
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053072
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053059
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1679
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.3199999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29961.439999999413
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1679
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.3199999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96235.37000001094
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053074
{"compaign_id":"36075","contact_id":"4349","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4349","uid":"u595","unique_id":"36075_4349_138-u595","ivrId":"3158","channelOTime":1742053030,"channelDTime":1742053073,"channelDuration":43,"cSTime":1742053050,"cETime":1742053073,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08369836294","server_ip":"118.185.137.196","insertTime":1742053073,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053032,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053050,"endTime":1742053073,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4349
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4349
            [uid] => u595
            [unique_id] => 36075_4349_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053030
            [channelDTime] => 1742053073
            [channelDuration] => 43
            [cSTime] => 1742053050
            [cETime] => 1742053073
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08369836294
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053073
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053032
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053050
                                    [endTime] => 1742053073
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1680
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.3999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29961.35999999941
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1680
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.3999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96235.29000001094
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053075
{"compaign_id":"36075","contact_id":"4412","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4412","uid":"u595","unique_id":"36075_4412_138-u595","ivrId":"3158","channelOTime":1742053060,"channelDTime":1742053075,"channelDuration":15,"cSTime":1742053072,"cETime":1742053075,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09897363683","server_ip":"118.185.137.196","insertTime":1742053075,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053063,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4412
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4412
            [uid] => u595
            [unique_id] => 36075_4412_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053060
            [channelDTime] => 1742053075
            [channelDuration] => 15
            [cSTime] => 1742053072
            [cETime] => 1742053075
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09897363683
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053075
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053063
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1682
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.5599999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29961.19999999941
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1682
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.5599999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96235.13000001093
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053077
{"compaign_id":"36075","contact_id":"4420","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4420","uid":"u595","unique_id":"36075_4420_138-u595","ivrId":"3158","channelOTime":1742053062,"channelDTime":1742053077,"channelDuration":15,"cSTime":1742053070,"cETime":1742053077,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08882167073","server_ip":"118.185.137.196","insertTime":1742053077,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053064,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4420
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4420
            [uid] => u595
            [unique_id] => 36075_4420_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053062
            [channelDTime] => 1742053077
            [channelDuration] => 15
            [cSTime] => 1742053070
            [cETime] => 1742053077
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08882167073
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053077
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053064
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1683
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.6399999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29961.11999999941
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1683
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.6399999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96235.05000001093
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053079
{"compaign_id":"36075","contact_id":"4438","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4438","uid":"u595","unique_id":"36075_4438_138-u595","ivrId":"3158","channelOTime":1742053065,"channelDTime":1742053079,"channelDuration":14,"cSTime":1742053073,"cETime":1742053079,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07411694806","server_ip":"118.185.137.196","insertTime":1742053079,"ivrData":{"#2":["*"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053068,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053073,"endTime":1742053080,"duration":7}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4438
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4438
            [uid] => u595
            [unique_id] => 36075_4438_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053065
            [channelDTime] => 1742053079
            [channelDuration] => 14
            [cSTime] => 1742053073
            [cETime] => 1742053079
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07411694806
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053079
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => *
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053068
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053073
                                    [endTime] => 1742053080
                                    [duration] => 7
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1684
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.71999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29961.039999999408
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1684
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.71999999999832
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96234.97000001093
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053081
{"compaign_id":"36075","contact_id":"4403","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4403","uid":"u595","unique_id":"36075_4403_138-u595","ivrId":"3158","channelOTime":1742053058,"channelDTime":1742053079,"channelDuration":21,"cSTime":1742053074,"cETime":1742053079,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07042459720","server_ip":"118.185.137.196","insertTime":1742053079,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053063,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4403
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4403
            [uid] => u595
            [unique_id] => 36075_4403_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053058
            [channelDTime] => 1742053079
            [channelDuration] => 21
            [cSTime] => 1742053074
            [cETime] => 1742053079
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07042459720
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053079
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053063
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1685
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.79999999999833
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29960.959999999406
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1685
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.79999999999833
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96234.89000001093
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053081
{"compaign_id":"36075","contact_id":"4415","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4415","uid":"u595","unique_id":"36075_4415_138-u595","ivrId":"3158","channelOTime":1742053061,"channelDTime":1742053080,"channelDuration":19,"cSTime":1742053072,"cETime":1742053080,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08217812272","server_ip":"118.185.137.196","insertTime":1742053080,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053064,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4415
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4415
            [uid] => u595
            [unique_id] => 36075_4415_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053061
            [channelDTime] => 1742053080
            [channelDuration] => 19
            [cSTime] => 1742053072
            [cETime] => 1742053080
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08217812272
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053080
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053064
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1686
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.87999999999835
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29960.879999999404
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1686
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.87999999999835
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96234.81000001093
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053082
2025-03-15 21:08:02[LOG]Starting Cron
2025-03-15 21:08:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"4408","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4408","uid":"u595","unique_id":"36075_4408_138-u595","ivrId":"3158","channelOTime":1742053059,"channelDTime":1742053083,"channelDuration":24,"cSTime":1742053069,"cETime":1742053083,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08724049242","server_ip":"118.185.137.196","insertTime":1742053083,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053062,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4408
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4408
            [uid] => u595
            [unique_id] => 36075_4408_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053059
            [channelDTime] => 1742053083
            [channelDuration] => 24
            [cSTime] => 1742053069
            [cETime] => 1742053083
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08724049242
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053083
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053062
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1687
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.95999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29960.799999999403
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1687
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 134.95999999999836
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96234.73000001092
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053085
{"compaign_id":"36075","contact_id":"4432","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4432","uid":"u595","unique_id":"36075_4432_138-u595","ivrId":"3158","channelOTime":1742053064,"channelDTime":1742053085,"channelDuration":21,"cSTime":1742053080,"cETime":1742053085,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07740998454","server_ip":"118.185.137.196","insertTime":1742053085,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053066,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4432
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4432
            [uid] => u595
            [unique_id] => 36075_4432_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053064
            [channelDTime] => 1742053085
            [channelDuration] => 21
            [cSTime] => 1742053080
            [cETime] => 1742053085
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07740998454
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053085
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053066
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1688
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.03999999999837
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29960.7199999994
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1688
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.03999999999837
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96234.65000001092
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053087
{"compaign_id":"36075","contact_id":"4477","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4477","uid":"u595","unique_id":"36075_4477_138-u595","ivrId":"3158","channelOTime":1742053075,"channelDTime":1742053086,"channelDuration":11,"cSTime":1742053082,"cETime":1742053086,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07566718054","server_ip":"118.185.137.196","insertTime":1742053086,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053076,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4477
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4477
            [uid] => u595
            [unique_id] => 36075_4477_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053075
            [channelDTime] => 1742053086
            [channelDuration] => 11
            [cSTime] => 1742053082
            [cETime] => 1742053086
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07566718054
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053086
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053076
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1689
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.11999999999838
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29960.6399999994
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1689
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.11999999999838
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96234.57000001092
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053087
{"compaign_id":"36075","contact_id":"4471","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4471","uid":"u595","unique_id":"36075_4471_138-u595","ivrId":"3158","channelOTime":1742053073,"channelDTime":1742053089,"channelDuration":16,"cSTime":1742053085,"cETime":1742053089,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07978713604","server_ip":"118.185.137.196","insertTime":1742053089,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053075,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4471
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4471
            [uid] => u595
            [unique_id] => 36075_4471_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053073
            [channelDTime] => 1742053089
            [channelDuration] => 16
            [cSTime] => 1742053085
            [cETime] => 1742053089
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07978713604
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053089
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053075
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1690
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.1999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29960.559999999397
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1690
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.1999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96234.49000001092
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053091
{"compaign_id":"36075","contact_id":"4417","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4417","uid":"u595","unique_id":"36075_4417_138-u595","ivrId":"3158","channelOTime":1742053061,"channelDTime":1742053092,"channelDuration":31,"cSTime":1742053074,"cETime":1742053092,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08009278705","server_ip":"118.185.137.196","insertTime":1742053092,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053064,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4417
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4417
            [uid] => u595
            [unique_id] => 36075_4417_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053061
            [channelDTime] => 1742053092
            [channelDuration] => 31
            [cSTime] => 1742053074
            [cETime] => 1742053092
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08009278705
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053092
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053064
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1691
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.2799999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29960.479999999396
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1691
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.2799999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96234.41000001092
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053093
{"compaign_id":"36075","contact_id":"4421","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4421","uid":"u595","unique_id":"36075_4421_138-u595","ivrId":"3158","channelOTime":1742053062,"channelDTime":1742053093,"channelDuration":31,"cSTime":1742053088,"cETime":1742053093,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08889640601","server_ip":"118.185.137.196","insertTime":1742053093,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053065,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4421
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4421
            [uid] => u595
            [unique_id] => 36075_4421_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053062
            [channelDTime] => 1742053093
            [channelDuration] => 31
            [cSTime] => 1742053088
            [cETime] => 1742053093
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08889640601
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053093
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053065
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1693
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.4399999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29960.319999999396
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1693
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.4399999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96234.25000001091
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053095
{"compaign_id":"36075","contact_id":"4463","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4463","uid":"u595","unique_id":"36075_4463_138-u595","ivrId":"3158","channelOTime":1742053072,"channelDTime":1742053094,"channelDuration":22,"cSTime":1742053081,"cETime":1742053094,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08958096642","server_ip":"118.185.137.196","insertTime":1742053094,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4463
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4463
            [uid] => u595
            [unique_id] => 36075_4463_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053072
            [channelDTime] => 1742053094
            [channelDuration] => 22
            [cSTime] => 1742053081
            [cETime] => 1742053094
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08958096642
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053094
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1694
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.51999999999842
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29960.239999999394
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1694
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.51999999999842
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96234.17000001091
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053096
{"compaign_id":"36075","contact_id":"4416","total_duration":"28","answer_duration":28,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4416","uid":"u595","unique_id":"36075_4416_138-u595","ivrId":"3158","channelOTime":1742053061,"channelDTime":1742053095,"channelDuration":34,"cSTime":1742053067,"cETime":1742053095,"cDuration":28,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09157484832","server_ip":"118.185.137.196","insertTime":1742053095,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053062,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053067,"endTime":1742053089,"duration":22}],"#3":[{"startTime":1742053089,"endTime":1742053095,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4416
    [total_duration] => 28
    [answer_duration] => 28
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4416
            [uid] => u595
            [unique_id] => 36075_4416_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053061
            [channelDTime] => 1742053095
            [channelDuration] => 34
            [cSTime] => 1742053067
            [cETime] => 1742053095
            [cDuration] => 28
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09157484832
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053095
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053062
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053067
                                    [endTime] => 1742053089
                                    [duration] => 22
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053089
                                    [endTime] => 1742053095
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1695
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.59999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29960.159999999392
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1695
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.59999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96234.09000001091
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053096
{"compaign_id":"36075","contact_id":"4426","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4426","uid":"u595","unique_id":"36075_4426_138-u595","ivrId":"3158","channelOTime":1742053063,"channelDTime":1742053095,"channelDuration":32,"cSTime":1742053084,"cETime":1742053095,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09021813517","server_ip":"118.185.137.196","insertTime":1742053095,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053066,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4426
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4426
            [uid] => u595
            [unique_id] => 36075_4426_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053063
            [channelDTime] => 1742053095
            [channelDuration] => 32
            [cSTime] => 1742053084
            [cETime] => 1742053095
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09021813517
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053095
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053066
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1697
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.75999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29959.999999999392
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1697
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.75999999999843
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96233.9300000109
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053097
{"compaign_id":"36075","contact_id":"4442","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4442","uid":"u595","unique_id":"36075_4442_138-u595","ivrId":"3158","channelOTime":1742053066,"channelDTime":1742053097,"channelDuration":31,"cSTime":1742053074,"cETime":1742053097,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08787686287","server_ip":"118.185.137.196","insertTime":1742053097,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053069,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053074,"endTime":1742053097,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4442
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4442
            [uid] => u595
            [unique_id] => 36075_4442_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053066
            [channelDTime] => 1742053097
            [channelDuration] => 31
            [cSTime] => 1742053074
            [cETime] => 1742053097
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08787686287
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053097
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053069
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053074
                                    [endTime] => 1742053097
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1698
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.83999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29959.91999999939
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1698
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.83999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96233.8500000109
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053099
{"compaign_id":"36075","contact_id":"4498","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4498","uid":"u595","unique_id":"36075_4498_138-u595","ivrId":"3158","channelOTime":1742053079,"channelDTime":1742053100,"channelDuration":21,"cSTime":1742053095,"cETime":1742053100,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08745907640","server_ip":"118.185.137.196","insertTime":1742053100,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053081,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4498
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4498
            [uid] => u595
            [unique_id] => 36075_4498_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053079
            [channelDTime] => 1742053100
            [channelDuration] => 21
            [cSTime] => 1742053095
            [cETime] => 1742053100
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08745907640
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053100
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053081
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1700
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.99999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29959.75999999939
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1700
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 135.99999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96233.6900000109
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053101
{"compaign_id":"36075","contact_id":"4454","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4454","uid":"u595","unique_id":"36075_4454_138-u595","ivrId":"3158","channelOTime":1742053070,"channelDTime":1742053100,"channelDuration":30,"cSTime":1742053080,"cETime":1742053100,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07371004762","server_ip":"118.185.137.196","insertTime":1742053100,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053073,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4454
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4454
            [uid] => u595
            [unique_id] => 36075_4454_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053070
            [channelDTime] => 1742053100
            [channelDuration] => 30
            [cSTime] => 1742053080
            [cETime] => 1742053100
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07371004762
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053100
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053073
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1701
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.07999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29959.67999999939
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1701
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.07999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96233.6100000109
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053101
{"compaign_id":"36075","contact_id":"4431","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4431","uid":"u595","unique_id":"36075_4431_138-u595","ivrId":"3158","channelOTime":1742053064,"channelDTime":1742053100,"channelDuration":36,"cSTime":1742053076,"cETime":1742053100,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08269430719","server_ip":"118.185.137.196","insertTime":1742053100,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053067,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053076,"endTime":1742053100,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4431
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4431
            [uid] => u595
            [unique_id] => 36075_4431_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053064
            [channelDTime] => 1742053100
            [channelDuration] => 36
            [cSTime] => 1742053076
            [cETime] => 1742053100
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08269430719
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053100
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053067
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053076
                                    [endTime] => 1742053100
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1703
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.23999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29959.51999999939
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1703
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.23999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96233.4500000109
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053102
{"compaign_id":"36075","contact_id":"4401","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4401","uid":"u595","unique_id":"36075_4401_138-u595","ivrId":"3158","channelOTime":1742053058,"channelDTime":1742053100,"channelDuration":42,"cSTime":1742053077,"cETime":1742053100,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06363590096","server_ip":"118.185.137.196","insertTime":1742053100,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053060,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053077,"endTime":1742053100,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4401
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4401
            [uid] => u595
            [unique_id] => 36075_4401_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053058
            [channelDTime] => 1742053100
            [channelDuration] => 42
            [cSTime] => 1742053077
            [cETime] => 1742053100
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06363590096
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053100
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053060
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053077
                                    [endTime] => 1742053100
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1705
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.39999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29959.35999999939
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1705
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.39999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96233.2900000109
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053102
{"compaign_id":"36075","contact_id":"4532","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4532","uid":"u595","unique_id":"36075_4532_138-u595","ivrId":"3158","channelOTime":1742053093,"channelDTime":1742053107,"channelDuration":14,"cSTime":1742053104,"cETime":1742053107,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07204475814","server_ip":"118.185.137.196","insertTime":1742053107,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053095,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4532
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4532
            [uid] => u595
            [unique_id] => 36075_4532_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053093
            [channelDTime] => 1742053107
            [channelDuration] => 14
            [cSTime] => 1742053104
            [cETime] => 1742053107
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07204475814
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053107
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053095
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1707
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.55999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29959.19999999939
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1707
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.55999999999844
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96233.13000001089
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053109
{"compaign_id":"36075","contact_id":"4525","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4525","uid":"u595","unique_id":"36075_4525_138-u595","ivrId":"3158","channelOTime":1742053091,"channelDTime":1742053108,"channelDuration":17,"cSTime":1742053105,"cETime":1742053108,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08179379939","server_ip":"118.185.137.196","insertTime":1742053108,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053094,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4525
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4525
            [uid] => u595
            [unique_id] => 36075_4525_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053091
            [channelDTime] => 1742053108
            [channelDuration] => 17
            [cSTime] => 1742053105
            [cETime] => 1742053108
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08179379939
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053108
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053094
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1708
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.63999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29959.119999999388
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1708
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.63999999999845
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96233.05000001089
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053110
{"compaign_id":"36075","contact_id":"4517","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4517","uid":"u595","unique_id":"36075_4517_138-u595","ivrId":"3158","channelOTime":1742053090,"channelDTime":1742053108,"channelDuration":18,"cSTime":1742053098,"cETime":1742053108,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07523006712","server_ip":"118.185.137.196","insertTime":1742053108,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053092,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4517
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4517
            [uid] => u595
            [unique_id] => 36075_4517_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053090
            [channelDTime] => 1742053108
            [channelDuration] => 18
            [cSTime] => 1742053098
            [cETime] => 1742053108
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07523006712
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053108
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053092
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1709
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.71999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29959.039999999386
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1709
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.71999999999846
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96232.97000001089
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053110
{"compaign_id":"36075","contact_id":"4486","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4486","uid":"u595","unique_id":"36075_4486_138-u595","ivrId":"3158","channelOTime":1742053076,"channelDTime":1742053111,"channelDuration":35,"cSTime":1742053087,"cETime":1742053111,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09517144277","server_ip":"118.185.137.196","insertTime":1742053111,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053079,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053087,"endTime":1742053111,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4486
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4486
            [uid] => u595
            [unique_id] => 36075_4486_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053076
            [channelDTime] => 1742053111
            [channelDuration] => 35
            [cSTime] => 1742053087
            [cETime] => 1742053111
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09517144277
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053111
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053079
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053087
                                    [endTime] => 1742053111
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1710
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.79999999999848
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29958.959999999384
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1710
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.79999999999848
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96232.89000001088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053113
{"compaign_id":"36075","contact_id":"4502","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4502","uid":"u595","unique_id":"36075_4502_138-u595","ivrId":"3158","channelOTime":1742053087,"channelDTime":1742053112,"channelDuration":25,"cSTime":1742053099,"cETime":1742053112,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09508722962","server_ip":"118.185.137.196","insertTime":1742053112,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053090,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4502
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4502
            [uid] => u595
            [unique_id] => 36075_4502_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053087
            [channelDTime] => 1742053112
            [channelDuration] => 25
            [cSTime] => 1742053099
            [cETime] => 1742053112
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09508722962
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053112
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053090
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1712
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.95999999999847
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29958.799999999384
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1712
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 136.95999999999847
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96232.73000001088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053114
{"compaign_id":"36075","contact_id":"4542","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4542","uid":"u595","unique_id":"36075_4542_138-u595","ivrId":"3158","channelOTime":1742053095,"channelDTime":1742053114,"channelDuration":19,"cSTime":1742053103,"cETime":1742053114,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09157950933","server_ip":"118.185.137.196","insertTime":1742053114,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053096,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4542
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4542
            [uid] => u595
            [unique_id] => 36075_4542_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053095
            [channelDTime] => 1742053114
            [channelDuration] => 19
            [cSTime] => 1742053103
            [cETime] => 1742053114
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09157950933
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053114
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053096
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1713
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.03999999999849
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29958.719999999383
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1713
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.03999999999849
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96232.65000001088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053115
{"compaign_id":"36075","contact_id":"4492","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4492","uid":"u595","unique_id":"36075_4492_138-u595","ivrId":"3158","channelOTime":1742053078,"channelDTime":1742053115,"channelDuration":37,"cSTime":1742053092,"cETime":1742053115,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08797229298","server_ip":"118.185.137.196","insertTime":1742053115,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053080,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053092,"endTime":1742053115,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4492
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4492
            [uid] => u595
            [unique_id] => 36075_4492_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053078
            [channelDTime] => 1742053115
            [channelDuration] => 37
            [cSTime] => 1742053092
            [cETime] => 1742053115
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08797229298
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053115
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053080
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053092
                                    [endTime] => 1742053115
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1714
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.1199999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29958.63999999938
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1714
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.1199999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96232.57000001088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053117
{"compaign_id":"36075","contact_id":"4503","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4503","uid":"u595","unique_id":"36075_4503_138-u595","ivrId":"3158","channelOTime":1742053087,"channelDTime":1742053116,"channelDuration":29,"cSTime":1742053109,"cETime":1742053116,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07772932484","server_ip":"118.185.137.196","insertTime":1742053116,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053089,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4503
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4503
            [uid] => u595
            [unique_id] => 36075_4503_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053087
            [channelDTime] => 1742053116
            [channelDuration] => 29
            [cSTime] => 1742053109
            [cETime] => 1742053116
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07772932484
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053116
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053089
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1716
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.2799999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29958.47999999938
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1716
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.2799999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96232.41000001087
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053118
{"compaign_id":"36075","contact_id":"4539","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4539","uid":"u595","unique_id":"36075_4539_138-u595","ivrId":"3158","channelOTime":1742053094,"channelDTime":1742053117,"channelDuration":23,"cSTime":1742053106,"cETime":1742053117,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06392772413","server_ip":"118.185.137.196","insertTime":1742053117,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053097,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4539
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4539
            [uid] => u595
            [unique_id] => 36075_4539_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053094
            [channelDTime] => 1742053117
            [channelDuration] => 23
            [cSTime] => 1742053106
            [cETime] => 1742053117
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06392772413
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053117
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053097
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1717
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.3599999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29958.39999999938
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1717
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.3599999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96232.33000001087
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053119
{"compaign_id":"36075","contact_id":"4491","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4491","uid":"u595","unique_id":"36075_4491_138-u595","ivrId":"3158","channelOTime":1742053077,"channelDTime":1742053117,"channelDuration":40,"cSTime":1742053094,"cETime":1742053117,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09753681560","server_ip":"118.185.137.196","insertTime":1742053117,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053086,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053094,"endTime":1742053112,"duration":18}],"#3":[{"startTime":1742053112,"endTime":1742053117,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4491
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4491
            [uid] => u595
            [unique_id] => 36075_4491_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053077
            [channelDTime] => 1742053117
            [channelDuration] => 40
            [cSTime] => 1742053094
            [cETime] => 1742053117
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09753681560
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053117
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053086
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053094
                                    [endTime] => 1742053112
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053112
                                    [endTime] => 1742053117
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1718
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.43999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29958.319999999378
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1718
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.43999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96232.25000001087
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053119
{"compaign_id":"36075","contact_id":"4569","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4569","uid":"u595","unique_id":"36075_4569_138-u595","ivrId":"3158","channelOTime":1742053102,"channelDTime":1742053118,"channelDuration":16,"cSTime":1742053110,"cETime":1742053118,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08792377959","server_ip":"118.185.137.196","insertTime":1742053118,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053104,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4569
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4569
            [uid] => u595
            [unique_id] => 36075_4569_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053102
            [channelDTime] => 1742053118
            [channelDuration] => 16
            [cSTime] => 1742053110
            [cETime] => 1742053118
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08792377959
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053118
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053104
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1720
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.59999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29958.159999999378
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1720
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.59999999999852
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96232.09000001087
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053120
{"compaign_id":"36075","contact_id":"4593","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4593","uid":"u595","unique_id":"36075_4593_138-u595","ivrId":"3158","channelOTime":1742053107,"channelDTime":1742053119,"channelDuration":12,"cSTime":1742053114,"cETime":1742053119,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07054199970","server_ip":"118.185.137.196","insertTime":1742053119,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053110,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4593
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4593
            [uid] => u595
            [unique_id] => 36075_4593_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053107
            [channelDTime] => 1742053119
            [channelDuration] => 12
            [cSTime] => 1742053114
            [cETime] => 1742053119
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07054199970
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053119
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053110
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1721
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.67999999999853
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29958.079999999376
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1721
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.67999999999853
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96232.01000001087
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053121
{"compaign_id":"36075","contact_id":"4506","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4506","uid":"u595","unique_id":"36075_4506_138-u595","ivrId":"3158","channelOTime":1742053088,"channelDTime":1742053121,"channelDuration":33,"cSTime":1742053115,"cETime":1742053121,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09541330964","server_ip":"118.185.137.196","insertTime":1742053121,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053091,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4506
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4506
            [uid] => u595
            [unique_id] => 36075_4506_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053088
            [channelDTime] => 1742053121
            [channelDuration] => 33
            [cSTime] => 1742053115
            [cETime] => 1742053121
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09541330964
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053121
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053091
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1722
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.75999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.999999999374
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1722
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.75999999999854
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96231.93000001086
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053123
{"compaign_id":"36075","contact_id":"4544","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4544","uid":"u595","unique_id":"36075_4544_138-u595","ivrId":"3158","channelOTime":1742053095,"channelDTime":1742053121,"channelDuration":26,"cSTime":1742053104,"cETime":1742053121,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09677579470","server_ip":"118.185.137.196","insertTime":1742053121,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053097,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4544
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4544
            [uid] => u595
            [unique_id] => 36075_4544_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053095
            [channelDTime] => 1742053121
            [channelDuration] => 26
            [cSTime] => 1742053104
            [cETime] => 1742053121
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09677579470
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053121
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053097
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1723
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.83999999999855
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.919999999373
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1723
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.83999999999855
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96231.85000001086
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053123
{"compaign_id":"36075","contact_id":"4537","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4537","uid":"u595","unique_id":"36075_4537_138-u595","ivrId":"3158","channelOTime":1742053094,"channelDTime":1742053122,"channelDuration":28,"cSTime":1742053118,"cETime":1742053122,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09207436221","server_ip":"118.185.137.196","insertTime":1742053122,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053095,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4537
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4537
            [uid] => u595
            [unique_id] => 36075_4537_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053094
            [channelDTime] => 1742053122
            [channelDuration] => 28
            [cSTime] => 1742053118
            [cETime] => 1742053122
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09207436221
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053122
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053095
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1725
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.99999999999855
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.759999999373
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1725
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 137.99999999999855
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96231.69000001086
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053123
{"compaign_id":"36075","contact_id":"4608","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4608","uid":"u595","unique_id":"36075_4608_138-u595","ivrId":"3158","channelOTime":1742053112,"channelDTime":1742053124,"channelDuration":12,"cSTime":1742053120,"cETime":1742053124,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06264811468","server_ip":"118.185.137.196","insertTime":1742053124,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053114,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4608
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4608
            [uid] => u595
            [unique_id] => 36075_4608_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053112
            [channelDTime] => 1742053124
            [channelDuration] => 12
            [cSTime] => 1742053120
            [cETime] => 1742053124
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06264811468
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053124
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053114
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1726
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.07999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.67999999937
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1726
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.07999999999856
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96231.61000001086
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053126
{"compaign_id":"36075","contact_id":"4560","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4560","uid":"u595","unique_id":"36075_4560_138-u595","ivrId":"3158","channelOTime":1742053100,"channelDTime":1742053124,"channelDuration":24,"cSTime":1742053122,"cETime":1742053124,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07760218818","server_ip":"118.185.137.196","insertTime":1742053124,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053102,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4560
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4560
            [uid] => u595
            [unique_id] => 36075_4560_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053100
            [channelDTime] => 1742053124
            [channelDuration] => 24
            [cSTime] => 1742053122
            [cETime] => 1742053124
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07760218818
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053124
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053102
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1727
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.15999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.59999999937
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1727
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.15999999999858
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96231.53000001085
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053126
{"compaign_id":"36075","contact_id":"4588","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4588","uid":"u595","unique_id":"36075_4588_138-u595","ivrId":"3158","channelOTime":1742053106,"channelDTime":1742053126,"channelDuration":20,"cSTime":1742053119,"cETime":1742053126,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07838474843","server_ip":"118.185.137.196","insertTime":1742053126,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053109,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4588
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4588
            [uid] => u595
            [unique_id] => 36075_4588_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053106
            [channelDTime] => 1742053126
            [channelDuration] => 20
            [cSTime] => 1742053119
            [cETime] => 1742053126
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07838474843
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053126
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053109
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1728
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.2399999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.519999999367
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1728
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.2399999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96231.45000001085
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053128
{"compaign_id":"36075","contact_id":"4605","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4605","uid":"u595","unique_id":"36075_4605_138-u595","ivrId":"3158","channelOTime":1742053111,"channelDTime":1742053128,"channelDuration":17,"cSTime":1742053122,"cETime":1742053128,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07981679398","server_ip":"118.185.137.196","insertTime":1742053128,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053113,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4605
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4605
            [uid] => u595
            [unique_id] => 36075_4605_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053111
            [channelDTime] => 1742053128
            [channelDuration] => 17
            [cSTime] => 1742053122
            [cETime] => 1742053128
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07981679398
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053128
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053113
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1729
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.3199999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.439999999366
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1729
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.3199999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96231.37000001085
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053130
{"compaign_id":"36075","contact_id":"4635","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4635","uid":"u595","unique_id":"36075_4635_138-u595","ivrId":"3158","channelOTime":1742053117,"channelDTime":1742053128,"channelDuration":11,"cSTime":1742053126,"cETime":1742053128,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07523085625","server_ip":"118.185.137.196","insertTime":1742053128,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053120,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4635
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4635
            [uid] => u595
            [unique_id] => 36075_4635_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053117
            [channelDTime] => 1742053128
            [channelDuration] => 11
            [cSTime] => 1742053126
            [cETime] => 1742053128
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07523085625
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053128
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053120
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1730
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.3999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.359999999364
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1730
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.3999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96231.29000001085
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053130
{"compaign_id":"36075","contact_id":"4614","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4614","uid":"u595","unique_id":"36075_4614_138-u595","ivrId":"3158","channelOTime":1742053113,"channelDTime":1742053128,"channelDuration":15,"cSTime":1742053125,"cETime":1742053128,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08530835482","server_ip":"118.185.137.196","insertTime":1742053128,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053118,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4614
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4614
            [uid] => u595
            [unique_id] => 36075_4614_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053113
            [channelDTime] => 1742053128
            [channelDuration] => 15
            [cSTime] => 1742053125
            [cETime] => 1742053128
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08530835482
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053128
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053118
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1731
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.47999999999863
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.279999999362
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1731
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.47999999999863
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96231.21000001085
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053130
{"compaign_id":"36075","contact_id":"4575","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4575","uid":"u595","unique_id":"36075_4575_138-u595","ivrId":"3158","channelOTime":1742053103,"channelDTime":1742053129,"channelDuration":26,"cSTime":1742053114,"cETime":1742053129,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09735130255","server_ip":"118.185.137.196","insertTime":1742053129,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053106,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4575
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4575
            [uid] => u595
            [unique_id] => 36075_4575_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053103
            [channelDTime] => 1742053129
            [channelDuration] => 26
            [cSTime] => 1742053114
            [cETime] => 1742053129
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09735130255
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053129
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053106
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1732
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.55999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.19999999936
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1732
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.55999999999864
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96231.13000001085
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053130
{"compaign_id":"36075","contact_id":"4644","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4644","uid":"u595","unique_id":"36075_4644_138-u595","ivrId":"3158","channelOTime":1742053119,"channelDTime":1742053132,"channelDuration":13,"cSTime":1742053128,"cETime":1742053132,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09752315050","server_ip":"118.185.137.196","insertTime":1742053132,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053121,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4644
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4644
            [uid] => u595
            [unique_id] => 36075_4644_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053119
            [channelDTime] => 1742053132
            [channelDuration] => 13
            [cSTime] => 1742053128
            [cETime] => 1742053132
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09752315050
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053132
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053121
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1733
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.63999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.11999999936
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1733
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.63999999999865
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96231.05000001084
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053134
{"compaign_id":"36075","contact_id":"4541","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4541","uid":"u595","unique_id":"36075_4541_138-u595","ivrId":"3158","channelOTime":1742053095,"channelDTime":1742053133,"channelDuration":38,"cSTime":1742053110,"cETime":1742053133,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08001160556","server_ip":"118.185.137.196","insertTime":1742053133,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053096,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053110,"endTime":1742053133,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4541
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4541
            [uid] => u595
            [unique_id] => 36075_4541_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053095
            [channelDTime] => 1742053133
            [channelDuration] => 38
            [cSTime] => 1742053110
            [cETime] => 1742053133
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08001160556
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053133
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053096
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053110
                                    [endTime] => 1742053133
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1734
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.71999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29957.039999999357
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1734
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.71999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96230.97000001084
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053135
{"compaign_id":"36075","contact_id":"4615","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4615","uid":"u595","unique_id":"36075_4615_138-u595","ivrId":"3158","channelOTime":1742053113,"channelDTime":1742053134,"channelDuration":21,"cSTime":1742053126,"cETime":1742053134,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08822765441","server_ip":"118.185.137.196","insertTime":1742053134,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053116,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4615
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4615
            [uid] => u595
            [unique_id] => 36075_4615_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053113
            [channelDTime] => 1742053134
            [channelDuration] => 21
            [cSTime] => 1742053126
            [cETime] => 1742053134
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08822765441
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053134
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053116
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1736
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.87999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29956.879999999357
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1736
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.87999999999866
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96230.81000001084
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053135
{"compaign_id":"36075","contact_id":"4526","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4526","uid":"u595","unique_id":"36075_4526_138-u595","ivrId":"3158","channelOTime":1742053092,"channelDTime":1742053134,"channelDuration":42,"cSTime":1742053117,"cETime":1742053134,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08425925322","server_ip":"118.185.137.196","insertTime":1742053134,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053093,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4526
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4526
            [uid] => u595
            [unique_id] => 36075_4526_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053092
            [channelDTime] => 1742053134
            [channelDuration] => 42
            [cSTime] => 1742053117
            [cETime] => 1742053134
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08425925322
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053134
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053093
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1737
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.95999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29956.799999999355
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1737
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 138.95999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96230.73000001084
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053135
{"compaign_id":"36075","contact_id":"4573","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4573","uid":"u595","unique_id":"36075_4573_138-u595","ivrId":"3158","channelOTime":1742053103,"channelDTime":1742053134,"channelDuration":31,"cSTime":1742053125,"cETime":1742053134,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08610521957","server_ip":"118.185.137.196","insertTime":1742053134,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053106,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4573
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4573
            [uid] => u595
            [unique_id] => 36075_4573_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053103
            [channelDTime] => 1742053134
            [channelDuration] => 31
            [cSTime] => 1742053125
            [cETime] => 1742053134
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08610521957
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053134
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053106
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1739
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.11999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29956.639999999355
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1739
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.11999999999867
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96230.57000001083
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053136
{"compaign_id":"36075","contact_id":"4639","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4639","uid":"u595","unique_id":"36075_4639_138-u595","ivrId":"3158","channelOTime":1742053118,"channelDTime":1742053134,"channelDuration":16,"cSTime":1742053132,"cETime":1742053134,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09555415256","server_ip":"118.185.137.196","insertTime":1742053134,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053120,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4639
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4639
            [uid] => u595
            [unique_id] => 36075_4639_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053118
            [channelDTime] => 1742053134
            [channelDuration] => 16
            [cSTime] => 1742053132
            [cETime] => 1742053134
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09555415256
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053134
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053120
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1740
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.19999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29956.559999999354
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1740
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.19999999999868
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96230.49000001083
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053136
{"compaign_id":"36075","contact_id":"4629","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4629","uid":"u595","unique_id":"36075_4629_138-u595","ivrId":"3158","channelOTime":1742053116,"channelDTime":1742053135,"channelDuration":19,"cSTime":1742053128,"cETime":1742053135,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09463002021","server_ip":"118.185.137.196","insertTime":1742053135,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053118,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4629
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4629
            [uid] => u595
            [unique_id] => 36075_4629_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053116
            [channelDTime] => 1742053135
            [channelDuration] => 19
            [cSTime] => 1742053128
            [cETime] => 1742053135
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09463002021
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053135
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053118
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1741
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.2799999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29956.479999999352
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1741
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.2799999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96230.41000001083
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053137
{"compaign_id":"36075","contact_id":"4529","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4529","uid":"u595","unique_id":"36075_4529_138-u595","ivrId":"3158","channelOTime":1742053092,"channelDTime":1742053137,"channelDuration":45,"cSTime":1742053113,"cETime":1742053137,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09801485587","server_ip":"118.185.137.196","insertTime":1742053137,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053095,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053113,"endTime":1742053137,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4529
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4529
            [uid] => u595
            [unique_id] => 36075_4529_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053092
            [channelDTime] => 1742053137
            [channelDuration] => 45
            [cSTime] => 1742053113
            [cETime] => 1742053137
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09801485587
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053137
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053095
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053113
                                    [endTime] => 1742053137
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1742
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.3599999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29956.39999999935
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1742
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.3599999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96230.33000001083
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053138
{"compaign_id":"36075","contact_id":"4599","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4599","uid":"u595","unique_id":"36075_4599_138-u595","ivrId":"3158","channelOTime":1742053108,"channelDTime":1742053137,"channelDuration":29,"cSTime":1742053119,"cETime":1742053137,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08447295213","server_ip":"118.185.137.196","insertTime":1742053137,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053110,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4599
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4599
            [uid] => u595
            [unique_id] => 36075_4599_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053108
            [channelDTime] => 1742053137
            [channelDuration] => 29
            [cSTime] => 1742053119
            [cETime] => 1742053137
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08447295213
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053137
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053110
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1744
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.5199999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29956.23999999935
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1744
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.5199999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96230.17000001082
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053139
{"compaign_id":"36075","contact_id":"4661","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4661","uid":"u595","unique_id":"36075_4661_138-u595","ivrId":"3158","channelOTime":1742053125,"channelDTime":1742053138,"channelDuration":13,"cSTime":1742053135,"cETime":1742053138,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06360354195","server_ip":"118.185.137.196","insertTime":1742053138,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053126,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4661
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4661
            [uid] => u595
            [unique_id] => 36075_4661_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053125
            [channelDTime] => 1742053138
            [channelDuration] => 13
            [cSTime] => 1742053135
            [cETime] => 1742053138
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06360354195
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053138
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053126
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1746
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.6799999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29956.07999999935
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1746
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.6799999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96230.01000001082
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053140
{"compaign_id":"36075","contact_id":"4650","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4650","uid":"u595","unique_id":"36075_4650_138-u595","ivrId":"3158","channelOTime":1742053122,"channelDTime":1742053139,"channelDuration":17,"cSTime":1742053132,"cETime":1742053139,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09724513417","server_ip":"118.185.137.196","insertTime":1742053139,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053128,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4650
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4650
            [uid] => u595
            [unique_id] => 36075_4650_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053122
            [channelDTime] => 1742053139
            [channelDuration] => 17
            [cSTime] => 1742053132
            [cETime] => 1742053139
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09724513417
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053139
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053128
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1747
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.7599999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29955.99999999935
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1747
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.7599999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96229.93000001082
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053140
{"compaign_id":"36075","contact_id":"4640","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4640","uid":"u595","unique_id":"36075_4640_138-u595","ivrId":"3158","channelOTime":1742053118,"channelDTime":1742053140,"channelDuration":22,"cSTime":1742053136,"cETime":1742053140,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09701059504","server_ip":"118.185.137.196","insertTime":1742053140,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053121,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4640
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4640
            [uid] => u595
            [unique_id] => 36075_4640_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053118
            [channelDTime] => 1742053140
            [channelDuration] => 22
            [cSTime] => 1742053136
            [cETime] => 1742053140
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09701059504
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053140
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053121
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1748
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.83999999999872
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29955.919999999347
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1748
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.83999999999872
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96229.85000001082
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053142
2025-03-15 21:09:02[LOG]Starting Cron
2025-03-15 21:09:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"4647","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4647","uid":"u595","unique_id":"36075_4647_138-u595","ivrId":"3158","channelOTime":1742053120,"channelDTime":1742053141,"channelDuration":21,"cSTime":1742053138,"cETime":1742053141,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06283005974","server_ip":"118.185.137.196","insertTime":1742053141,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053122,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4647
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4647
            [uid] => u595
            [unique_id] => 36075_4647_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053120
            [channelDTime] => 1742053141
            [channelDuration] => 21
            [cSTime] => 1742053138
            [cETime] => 1742053141
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06283005974
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053141
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053122
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1749
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.91999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29955.839999999345
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1749
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.91999999999874
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96229.77000001082
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053143
{"compaign_id":"36075","contact_id":"4671","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4671","uid":"u595","unique_id":"36075_4671_138-u595","ivrId":"3158","channelOTime":1742053127,"channelDTime":1742053141,"channelDuration":14,"cSTime":1742053140,"cETime":1742053141,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09637297863","server_ip":"118.185.137.196","insertTime":1742053141,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053130,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4671
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4671
            [uid] => u595
            [unique_id] => 36075_4671_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053127
            [channelDTime] => 1742053141
            [channelDuration] => 14
            [cSTime] => 1742053140
            [cETime] => 1742053141
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09637297863
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053141
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053130
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1750
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.99999999999875
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29955.759999999344
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1750
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 139.99999999999875
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96229.69000001081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053143
{"compaign_id":"36075","contact_id":"4643","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4643","uid":"u595","unique_id":"36075_4643_138-u595","ivrId":"3158","channelOTime":1742053119,"channelDTime":1742053143,"channelDuration":24,"cSTime":1742053128,"cETime":1742053143,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08354952804","server_ip":"118.185.137.196","insertTime":1742053143,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053121,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4643
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4643
            [uid] => u595
            [unique_id] => 36075_4643_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053119
            [channelDTime] => 1742053143
            [channelDuration] => 24
            [cSTime] => 1742053128
            [cETime] => 1742053143
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08354952804
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053143
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053121
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1751
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.07999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29955.67999999934
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1751
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.07999999999876
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96229.61000001081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053144
{"compaign_id":"36075","contact_id":"4607","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4607","uid":"u595","unique_id":"36075_4607_138-u595","ivrId":"3158","channelOTime":1742053112,"channelDTime":1742053143,"channelDuration":31,"cSTime":1742053132,"cETime":1742053143,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08962472956","server_ip":"118.185.137.196","insertTime":1742053143,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053115,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4607
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4607
            [uid] => u595
            [unique_id] => 36075_4607_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053112
            [channelDTime] => 1742053143
            [channelDuration] => 31
            [cSTime] => 1742053132
            [cETime] => 1742053143
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08962472956
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053143
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053115
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1752
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.15999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29955.59999999934
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1752
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.15999999999877
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96229.53000001081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053145
{"compaign_id":"36075","contact_id":"4696","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4696","uid":"u595","unique_id":"36075_4696_138-u595","ivrId":"3158","channelOTime":1742053132,"channelDTime":1742053144,"channelDuration":12,"cSTime":1742053141,"cETime":1742053144,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08302203619","server_ip":"118.185.137.196","insertTime":1742053144,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053135,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4696
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4696
            [uid] => u595
            [unique_id] => 36075_4696_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053132
            [channelDTime] => 1742053144
            [channelDuration] => 12
            [cSTime] => 1742053141
            [cETime] => 1742053144
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08302203619
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053144
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053135
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1753
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.2399999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29955.51999999934
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1753
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.2399999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96229.45000001081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053146
{"compaign_id":"36075","contact_id":"4554","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4554","uid":"u595","unique_id":"36075_4554_138-u595","ivrId":"3158","channelOTime":1742053099,"channelDTime":1742053145,"channelDuration":46,"cSTime":1742053124,"cETime":1742053145,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06204224125","server_ip":"118.185.137.196","insertTime":1742053145,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053104,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4554
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4554
            [uid] => u595
            [unique_id] => 36075_4554_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053099
            [channelDTime] => 1742053145
            [channelDuration] => 46
            [cSTime] => 1742053124
            [cETime] => 1742053145
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06204224125
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053145
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053104
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1754
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.3199999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29955.439999999337
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1754
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.3199999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96229.37000001081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053147
{"compaign_id":"36075","contact_id":"4566","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4566","uid":"u595","unique_id":"36075_4566_138-u595","ivrId":"3158","channelOTime":1742053102,"channelDTime":1742053146,"channelDuration":44,"cSTime":1742053123,"cETime":1742053146,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08421478956","server_ip":"118.185.137.196","insertTime":1742053146,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053104,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053123,"endTime":1742053146,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4566
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4566
            [uid] => u595
            [unique_id] => 36075_4566_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053102
            [channelDTime] => 1742053146
            [channelDuration] => 44
            [cSTime] => 1742053123
            [cETime] => 1742053146
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08421478956
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053146
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053104
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053123
                                    [endTime] => 1742053146
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1756
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.4799999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29955.279999999337
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1756
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.4799999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96229.2100000108
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053148
{"compaign_id":"36075","contact_id":"4681","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4681","uid":"u595","unique_id":"36075_4681_138-u595","ivrId":"3158","channelOTime":1742053129,"channelDTime":1742053147,"channelDuration":18,"cSTime":1742053140,"cETime":1742053147,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09772017878","server_ip":"118.185.137.196","insertTime":1742053147,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053131,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4681
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4681
            [uid] => u595
            [unique_id] => 36075_4681_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053129
            [channelDTime] => 1742053147
            [channelDuration] => 18
            [cSTime] => 1742053140
            [cETime] => 1742053147
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09772017878
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053147
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053131
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1758
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.6399999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29955.119999999337
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1758
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.6399999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96229.0500000108
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053148
{"compaign_id":"36075","contact_id":"4672","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4672","uid":"u595","unique_id":"36075_4672_138-u595","ivrId":"3158","channelOTime":1742053127,"channelDTime":1742053147,"channelDuration":20,"cSTime":1742053135,"cETime":1742053147,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08734811740","server_ip":"118.185.137.196","insertTime":1742053147,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053130,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4672
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4672
            [uid] => u595
            [unique_id] => 36075_4672_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053127
            [channelDTime] => 1742053147
            [channelDuration] => 20
            [cSTime] => 1742053135
            [cETime] => 1742053147
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08734811740
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053147
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053130
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1759
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.7199999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29955.039999999335
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1759
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.7199999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.9700000108
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053149
{"compaign_id":"36075","contact_id":"4662","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4662","uid":"u595","unique_id":"36075_4662_138-u595","ivrId":"3158","channelOTime":1742053125,"channelDTime":1742053149,"channelDuration":24,"cSTime":1742053134,"cETime":1742053149,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09746539406","server_ip":"118.185.137.196","insertTime":1742053149,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053127,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4662
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4662
            [uid] => u595
            [unique_id] => 36075_4662_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053125
            [channelDTime] => 1742053149
            [channelDuration] => 24
            [cSTime] => 1742053134
            [cETime] => 1742053149
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09746539406
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053149
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053127
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1760
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.79999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29954.959999999333
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1760
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.79999999999882
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.8900000108
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053150
{"compaign_id":"36075","contact_id":"4693","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4693","uid":"u595","unique_id":"36075_4693_138-u595","ivrId":"3158","channelOTime":1742053131,"channelDTime":1742053150,"channelDuration":19,"cSTime":1742053143,"cETime":1742053150,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06398065639","server_ip":"118.185.137.196","insertTime":1742053150,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053133,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4693
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4693
            [uid] => u595
            [unique_id] => 36075_4693_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053131
            [channelDTime] => 1742053150
            [channelDuration] => 19
            [cSTime] => 1742053143
            [cETime] => 1742053150
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06398065639
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053150
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053133
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1761
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.87999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29954.87999999933
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1761
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.87999999999883
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.8100000108
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053151
{"compaign_id":"36075","contact_id":"4692","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4692","uid":"u595","unique_id":"36075_4692_138-u595","ivrId":"3158","channelOTime":1742053131,"channelDTime":1742053150,"channelDuration":19,"cSTime":1742053143,"cETime":1742053150,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08825113374","server_ip":"118.185.137.196","insertTime":1742053150,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053133,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4692
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4692
            [uid] => u595
            [unique_id] => 36075_4692_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053131
            [channelDTime] => 1742053150
            [channelDuration] => 19
            [cSTime] => 1742053143
            [cETime] => 1742053150
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08825113374
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053150
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053133
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1762
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.95999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29954.79999999933
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1762
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 140.95999999999884
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.7300000108
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053152
{"compaign_id":"36075","contact_id":"4691","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4691","uid":"u595","unique_id":"36075_4691_138-u595","ivrId":"3158","channelOTime":1742053131,"channelDTime":1742053151,"channelDuration":20,"cSTime":1742053145,"cETime":1742053151,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09155111350","server_ip":"118.185.137.196","insertTime":1742053151,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053133,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4691
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4691
            [uid] => u595
            [unique_id] => 36075_4691_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053131
            [channelDTime] => 1742053151
            [channelDuration] => 20
            [cSTime] => 1742053145
            [cETime] => 1742053151
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09155111350
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053151
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053133
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1763
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.03999999999886
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29954.719999999328
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1763
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.03999999999886
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.65000001079
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053152
{"compaign_id":"36075","contact_id":"4699","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4699","uid":"u595","unique_id":"36075_4699_138-u595","ivrId":"3158","channelOTime":1742053132,"channelDTime":1742053151,"channelDuration":19,"cSTime":1742053138,"cETime":1742053151,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09798549669","server_ip":"118.185.137.196","insertTime":1742053151,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053134,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4699
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4699
            [uid] => u595
            [unique_id] => 36075_4699_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053132
            [channelDTime] => 1742053151
            [channelDuration] => 19
            [cSTime] => 1742053138
            [cETime] => 1742053151
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09798549669
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053151
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053134
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1764
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.11999999999887
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29954.639999999326
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1764
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.11999999999887
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.57000001079
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053153
{"compaign_id":"36075","contact_id":"4657","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4657","uid":"u595","unique_id":"36075_4657_138-u595","ivrId":"3158","channelOTime":1742053124,"channelDTime":1742053153,"channelDuration":29,"cSTime":1742053133,"cETime":1742053153,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07563980450","server_ip":"118.185.137.196","insertTime":1742053153,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053126,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4657
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4657
            [uid] => u595
            [unique_id] => 36075_4657_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053124
            [channelDTime] => 1742053153
            [channelDuration] => 29
            [cSTime] => 1742053133
            [cETime] => 1742053153
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07563980450
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053153
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053126
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1765
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.19999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29954.559999999325
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1765
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.19999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.49000001079
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053155
{"compaign_id":"36075","contact_id":"4685","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4685","uid":"u595","unique_id":"36075_4685_138-u595","ivrId":"3158","channelOTime":1742053129,"channelDTime":1742053154,"channelDuration":25,"cSTime":1742053139,"cETime":1742053154,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06296311018","server_ip":"118.185.137.196","insertTime":1742053154,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053133,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4685
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4685
            [uid] => u595
            [unique_id] => 36075_4685_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053129
            [channelDTime] => 1742053154
            [channelDuration] => 25
            [cSTime] => 1742053139
            [cETime] => 1742053154
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06296311018
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053154
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053133
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1767
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.35999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29954.399999999325
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1767
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.35999999999888
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.33000001078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053155
{"compaign_id":"36075","contact_id":"4716","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4716","uid":"u595","unique_id":"36075_4716_138-u595","ivrId":"3158","channelOTime":1742053143,"channelDTime":1742053156,"channelDuration":13,"cSTime":1742053154,"cETime":1742053156,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09080359314","server_ip":"118.185.137.196","insertTime":1742053156,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053145,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4716
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4716
            [uid] => u595
            [unique_id] => 36075_4716_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053143
            [channelDTime] => 1742053156
            [channelDuration] => 13
            [cSTime] => 1742053154
            [cETime] => 1742053156
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09080359314
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053156
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053145
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1768
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.4399999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29954.319999999323
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1768
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.4399999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.25000001078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053157
{"compaign_id":"36075","contact_id":"4723","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4723","uid":"u595","unique_id":"36075_4723_138-u595","ivrId":"3158","channelOTime":1742053144,"channelDTime":1742053157,"channelDuration":13,"cSTime":1742053151,"cETime":1742053157,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09549547370","server_ip":"118.185.137.196","insertTime":1742053157,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053148,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4723
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4723
            [uid] => u595
            [unique_id] => 36075_4723_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053144
            [channelDTime] => 1742053157
            [channelDuration] => 13
            [cSTime] => 1742053151
            [cETime] => 1742053157
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09549547370
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053157
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053148
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1769
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.5199999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29954.23999999932
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1769
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.5199999999989
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.17000001078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053158
{"compaign_id":"36075","contact_id":"4712","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4712","uid":"u595","unique_id":"36075_4712_138-u595","ivrId":"3158","channelOTime":1742053142,"channelDTime":1742053158,"channelDuration":16,"cSTime":1742053154,"cETime":1742053158,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08638269316","server_ip":"118.185.137.196","insertTime":1742053158,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053144,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4712
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4712
            [uid] => u595
            [unique_id] => 36075_4712_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053142
            [channelDTime] => 1742053158
            [channelDuration] => 16
            [cSTime] => 1742053154
            [cETime] => 1742053158
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08638269316
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053158
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053144
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1770
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.59999999999891
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29954.15999999932
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1770
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.59999999999891
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.09000001078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053159
{"compaign_id":"36075","contact_id":"4708","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4708","uid":"u595","unique_id":"36075_4708_138-u595","ivrId":"3158","channelOTime":1742053141,"channelDTime":1742053159,"channelDuration":18,"cSTime":1742053153,"cETime":1742053159,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07003497893","server_ip":"118.185.137.196","insertTime":1742053159,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053143,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4708
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4708
            [uid] => u595
            [unique_id] => 36075_4708_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053141
            [channelDTime] => 1742053159
            [channelDuration] => 18
            [cSTime] => 1742053153
            [cETime] => 1742053159
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07003497893
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053159
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053143
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1771
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.67999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29954.079999999318
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1771
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.67999999999893
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96228.01000001078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053161
{"compaign_id":"36075","contact_id":"4686","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4686","uid":"u595","unique_id":"36075_4686_138-u595","ivrId":"3158","channelOTime":1742053130,"channelDTime":1742053159,"channelDuration":29,"cSTime":1742053151,"cETime":1742053159,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06205496011","server_ip":"118.185.137.196","insertTime":1742053159,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053133,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4686
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4686
            [uid] => u595
            [unique_id] => 36075_4686_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053130
            [channelDTime] => 1742053159
            [channelDuration] => 29
            [cSTime] => 1742053151
            [cETime] => 1742053159
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06205496011
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053159
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053133
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1772
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.75999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29953.999999999316
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1772
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.75999999999894
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96227.93000001078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053161
{"compaign_id":"36075","contact_id":"4762","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4762","uid":"u595","unique_id":"36075_4762_138-u595","ivrId":"3158","channelOTime":1742053154,"channelDTime":1742053161,"channelDuration":7,"cSTime":1742053158,"cETime":1742053161,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09740502890","server_ip":"118.185.137.196","insertTime":1742053161,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053157,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4762
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4762
            [uid] => u595
            [unique_id] => 36075_4762_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053154
            [channelDTime] => 1742053161
            [channelDuration] => 7
            [cSTime] => 1742053158
            [cETime] => 1742053161
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09740502890
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053161
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053157
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1773
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.83999999999895
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29953.919999999314
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1773
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.83999999999895
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96227.85000001077
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053163
{"compaign_id":"36075","contact_id":"4760","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4760","uid":"u595","unique_id":"36075_4760_138-u595","ivrId":"3158","channelOTime":1742053153,"channelDTime":1742053161,"channelDuration":8,"cSTime":1742053159,"cETime":1742053161,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09144529135","server_ip":"118.185.137.196","insertTime":1742053161,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053156,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4760
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4760
            [uid] => u595
            [unique_id] => 36075_4760_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053153
            [channelDTime] => 1742053161
            [channelDuration] => 8
            [cSTime] => 1742053159
            [cETime] => 1742053161
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09144529135
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053161
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053156
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1774
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.91999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29953.839999999313
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1774
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.91999999999896
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96227.77000001077
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053163
{"compaign_id":"36075","contact_id":"4687","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4687","uid":"u595","unique_id":"36075_4687_138-u595","ivrId":"3158","channelOTime":1742053130,"channelDTime":1742053163,"channelDuration":33,"cSTime":1742053139,"cETime":1742053163,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09036393685","server_ip":"118.185.137.196","insertTime":1742053163,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053133,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053139,"endTime":1742053163,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4687
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4687
            [uid] => u595
            [unique_id] => 36075_4687_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053130
            [channelDTime] => 1742053163
            [channelDuration] => 33
            [cSTime] => 1742053139
            [cETime] => 1742053163
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09036393685
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053163
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053133
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053139
                                    [endTime] => 1742053163
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1775
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.99999999999898
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29953.75999999931
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1775
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 141.99999999999898
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96227.69000001077
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053165
{"compaign_id":"36075","contact_id":"4709","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4709","uid":"u595","unique_id":"36075_4709_138-u595","ivrId":"3158","channelOTime":1742053142,"channelDTime":1742053165,"channelDuration":23,"cSTime":1742053154,"cETime":1742053165,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09140452877","server_ip":"118.185.137.196","insertTime":1742053165,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053143,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4709
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4709
            [uid] => u595
            [unique_id] => 36075_4709_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053142
            [channelDTime] => 1742053165
            [channelDuration] => 23
            [cSTime] => 1742053154
            [cETime] => 1742053165
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09140452877
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053165
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053143
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1777
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.15999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29953.59999999931
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1777
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.15999999999897
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96227.53000001077
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053166
{"compaign_id":"36075","contact_id":"4740","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4740","uid":"u595","unique_id":"36075_4740_138-u595","ivrId":"3158","channelOTime":1742053148,"channelDTime":1742053165,"channelDuration":17,"cSTime":1742053158,"cETime":1742053165,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09699739579","server_ip":"118.185.137.196","insertTime":1742053165,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053151,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4740
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4740
            [uid] => u595
            [unique_id] => 36075_4740_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053148
            [channelDTime] => 1742053165
            [channelDuration] => 17
            [cSTime] => 1742053158
            [cETime] => 1742053165
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09699739579
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053165
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053151
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1778
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.239999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29953.51999999931
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1778
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.239999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96227.45000001077
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053167
{"compaign_id":"36075","contact_id":"4701","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4701","uid":"u595","unique_id":"36075_4701_138-u595","ivrId":"3158","channelOTime":1742053140,"channelDTime":1742053166,"channelDuration":26,"cSTime":1742053150,"cETime":1742053166,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08906292090","server_ip":"118.185.137.196","insertTime":1742053166,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053141,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4701
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4701
            [uid] => u595
            [unique_id] => 36075_4701_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053140
            [channelDTime] => 1742053166
            [channelDuration] => 26
            [cSTime] => 1742053150
            [cETime] => 1742053166
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08906292090
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053166
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053141
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1779
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.319999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29953.439999999307
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1779
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.319999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96227.37000001076
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053168
{"compaign_id":"36075","contact_id":"4720","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4720","uid":"u595","unique_id":"36075_4720_138-u595","ivrId":"3158","channelOTime":1742053144,"channelDTime":1742053169,"channelDuration":25,"cSTime":1742053163,"cETime":1742053169,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06309850048","server_ip":"118.185.137.196","insertTime":1742053169,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053154,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4720
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4720
            [uid] => u595
            [unique_id] => 36075_4720_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053144
            [channelDTime] => 1742053169
            [channelDuration] => 25
            [cSTime] => 1742053163
            [cETime] => 1742053169
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06309850048
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053169
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053154
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1781
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.479999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29953.279999999308
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1781
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.479999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96227.21000001076
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053171
{"compaign_id":"36075","contact_id":"4780","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4780","uid":"u595","unique_id":"36075_4780_138-u595","ivrId":"3158","channelOTime":1742053157,"channelDTime":1742053170,"channelDuration":13,"cSTime":1742053164,"cETime":1742053170,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09168202541","server_ip":"118.185.137.196","insertTime":1742053170,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053159,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4780
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4780
            [uid] => u595
            [unique_id] => 36075_4780_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053157
            [channelDTime] => 1742053170
            [channelDuration] => 13
            [cSTime] => 1742053164
            [cETime] => 1742053170
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09168202541
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053170
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053159
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1782
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.559999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29953.199999999306
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1782
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.559999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96227.13000001076
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053172
{"compaign_id":"36075","contact_id":"4717","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4717","uid":"u595","unique_id":"36075_4717_138-u595","ivrId":"3158","channelOTime":1742053143,"channelDTime":1742053172,"channelDuration":29,"cSTime":1742053148,"cETime":1742053172,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08600746246","server_ip":"118.185.137.196","insertTime":1742053172,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053145,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053148,"endTime":1742053172,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4717
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4717
            [uid] => u595
            [unique_id] => 36075_4717_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053143
            [channelDTime] => 1742053172
            [channelDuration] => 29
            [cSTime] => 1742053148
            [cETime] => 1742053172
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08600746246
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053172
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053145
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053148
                                    [endTime] => 1742053172
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1783
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.63999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29953.119999999304
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1783
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.63999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96227.05000001076
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053174
{"compaign_id":"36075","contact_id":"4784","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4784","uid":"u595","unique_id":"36075_4784_138-u595","ivrId":"3158","channelOTime":1742053158,"channelDTime":1742053173,"channelDuration":15,"cSTime":1742053170,"cETime":1742053173,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07076066671","server_ip":"118.185.137.196","insertTime":1742053173,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053161,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4784
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4784
            [uid] => u595
            [unique_id] => 36075_4784_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053158
            [channelDTime] => 1742053173
            [channelDuration] => 15
            [cSTime] => 1742053170
            [cETime] => 1742053173
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07076066671
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053173
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053161
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1785
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.79999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29952.959999999304
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1785
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.79999999999902
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96226.89000001075
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053175
{"compaign_id":"36075","contact_id":"4724","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4724","uid":"u595","unique_id":"36075_4724_138-u595","ivrId":"3158","channelOTime":1742053145,"channelDTime":1742053173,"channelDuration":28,"cSTime":1742053170,"cETime":1742053173,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07099750148","server_ip":"118.185.137.196","insertTime":1742053173,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053148,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4724
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4724
            [uid] => u595
            [unique_id] => 36075_4724_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053145
            [channelDTime] => 1742053173
            [channelDuration] => 28
            [cSTime] => 1742053170
            [cETime] => 1742053173
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07099750148
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053173
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053148
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1786
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.87999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29952.879999999303
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1786
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.87999999999903
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96226.81000001075
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053175
{"compaign_id":"36075","contact_id":"4748","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4748","uid":"u595","unique_id":"36075_4748_138-u595","ivrId":"3158","channelOTime":1742053149,"channelDTime":1742053173,"channelDuration":24,"cSTime":1742053162,"cETime":1742053173,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06304245255","server_ip":"118.185.137.196","insertTime":1742053173,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053153,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4748
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4748
            [uid] => u595
            [unique_id] => 36075_4748_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053149
            [channelDTime] => 1742053173
            [channelDuration] => 24
            [cSTime] => 1742053162
            [cETime] => 1742053173
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06304245255
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053173
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053153
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1787
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.95999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29952.7999999993
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1787
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 142.95999999999904
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96226.73000001075
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053175
{"compaign_id":"36075","contact_id":"4719","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4719","uid":"u595","unique_id":"36075_4719_138-u595","ivrId":"3158","channelOTime":1742053144,"channelDTime":1742053174,"channelDuration":30,"cSTime":1742053153,"cETime":1742053174,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06307431717","server_ip":"118.185.137.196","insertTime":1742053174,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053145,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4719
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4719
            [uid] => u595
            [unique_id] => 36075_4719_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053144
            [channelDTime] => 1742053174
            [channelDuration] => 30
            [cSTime] => 1742053153
            [cETime] => 1742053174
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06307431717
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053174
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053145
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1788
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.03999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29952.7199999993
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1788
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.03999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96226.65000001075
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053175
{"compaign_id":"36075","contact_id":"4736","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4736","uid":"u595","unique_id":"36075_4736_138-u595","ivrId":"3158","channelOTime":1742053147,"channelDTime":1742053174,"channelDuration":27,"cSTime":1742053165,"cETime":1742053174,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07229963505","server_ip":"118.185.137.196","insertTime":1742053174,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053149,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4736
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4736
            [uid] => u595
            [unique_id] => 36075_4736_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053147
            [channelDTime] => 1742053174
            [channelDuration] => 27
            [cSTime] => 1742053165
            [cETime] => 1742053174
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07229963505
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053174
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053149
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1790
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.19999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29952.5599999993
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1790
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.19999999999905
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96226.49000001074
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053176
{"compaign_id":"36075","contact_id":"4704","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4704","uid":"u595","unique_id":"36075_4704_138-u595","ivrId":"3158","channelOTime":1742053140,"channelDTime":1742053175,"channelDuration":35,"cSTime":1742053154,"cETime":1742053175,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09567744184","server_ip":"118.185.137.196","insertTime":1742053175,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053143,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4704
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4704
            [uid] => u595
            [unique_id] => 36075_4704_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053140
            [channelDTime] => 1742053175
            [channelDuration] => 35
            [cSTime] => 1742053154
            [cETime] => 1742053175
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09567744184
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053175
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053143
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1791
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.27999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29952.479999999297
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1791
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.27999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96226.41000001074
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053177
{"compaign_id":"36075","contact_id":"4776","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4776","uid":"u595","unique_id":"36075_4776_138-u595","ivrId":"3158","channelOTime":1742053157,"channelDTime":1742053175,"channelDuration":18,"cSTime":1742053170,"cETime":1742053175,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06284525015","server_ip":"118.185.137.196","insertTime":1742053175,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053163,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4776
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4776
            [uid] => u595
            [unique_id] => 36075_4776_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053157
            [channelDTime] => 1742053175
            [channelDuration] => 18
            [cSTime] => 1742053170
            [cETime] => 1742053175
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06284525015
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053175
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053163
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1793
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.43999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29952.319999999298
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1793
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.43999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96226.25000001074
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053177
{"compaign_id":"36075","contact_id":"4659","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4659","uid":"u595","unique_id":"36075_4659_138-u595","ivrId":"3158","channelOTime":1742053124,"channelDTime":1742053177,"channelDuration":53,"cSTime":1742053153,"cETime":1742053177,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07667696930","server_ip":"118.185.137.196","insertTime":1742053177,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053126,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053153,"endTime":1742053177,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4659
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4659
            [uid] => u595
            [unique_id] => 36075_4659_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053124
            [channelDTime] => 1742053177
            [channelDuration] => 53
            [cSTime] => 1742053153
            [cETime] => 1742053177
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07667696930
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053177
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053126
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053153
                                    [endTime] => 1742053177
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1794
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.51999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29952.239999999296
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1794
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.51999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96226.17000001074
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053178
{"compaign_id":"36075","contact_id":"4714","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4714","uid":"u595","unique_id":"36075_4714_138-u595","ivrId":"3158","channelOTime":1742053143,"channelDTime":1742053178,"channelDuration":35,"cSTime":1742053154,"cETime":1742053178,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09830678144","server_ip":"118.185.137.196","insertTime":1742053178,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053145,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053154,"endTime":1742053178,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4714
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4714
            [uid] => u595
            [unique_id] => 36075_4714_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053143
            [channelDTime] => 1742053178
            [channelDuration] => 35
            [cSTime] => 1742053154
            [cETime] => 1742053178
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09830678144
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053178
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053145
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053154
                                    [endTime] => 1742053178
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1796
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.67999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29952.079999999296
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1796
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.67999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96226.01000001073
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053179
{"compaign_id":"36075","contact_id":"4710","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4710","uid":"u595","unique_id":"36075_4710_138-u595","ivrId":"3158","channelOTime":1742053142,"channelDTime":1742053178,"channelDuration":36,"cSTime":1742053158,"cETime":1742053178,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09626299444","server_ip":"118.185.137.196","insertTime":1742053178,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053144,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4710
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4710
            [uid] => u595
            [unique_id] => 36075_4710_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053142
            [channelDTime] => 1742053178
            [channelDuration] => 36
            [cSTime] => 1742053158
            [cETime] => 1742053178
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09626299444
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053178
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053144
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1798
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.83999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29951.919999999296
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1798
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.83999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96225.85000001073
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053180
{"compaign_id":"36075","contact_id":"4744","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4744","uid":"u595","unique_id":"36075_4744_138-u595","ivrId":"3158","channelOTime":1742053149,"channelDTime":1742053178,"channelDuration":29,"cSTime":1742053175,"cETime":1742053178,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08810636659","server_ip":"118.185.137.196","insertTime":1742053178,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053151,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4744
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4744
            [uid] => u595
            [unique_id] => 36075_4744_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053149
            [channelDTime] => 1742053178
            [channelDuration] => 29
            [cSTime] => 1742053175
            [cETime] => 1742053178
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08810636659
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053178
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053151
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1800
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.99999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29951.759999999296
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1800
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 143.99999999999906
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96225.69000001073
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053180
{"compaign_id":"36075","contact_id":"4742","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4742","uid":"u595","unique_id":"36075_4742_138-u595","ivrId":"3158","channelOTime":1742053148,"channelDTime":1742053178,"channelDuration":30,"cSTime":1742053168,"cETime":1742053178,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08521478097","server_ip":"118.185.137.196","insertTime":1742053178,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053158,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4742
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4742
            [uid] => u595
            [unique_id] => 36075_4742_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053148
            [channelDTime] => 1742053178
            [channelDuration] => 30
            [cSTime] => 1742053168
            [cETime] => 1742053178
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08521478097
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053178
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053158
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1801
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.07999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29951.679999999295
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1801
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.07999999999907
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96225.61000001073
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053180
{"compaign_id":"36075","contact_id":"4753","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4753","uid":"u595","unique_id":"36075_4753_138-u595","ivrId":"3158","channelOTime":1742053152,"channelDTime":1742053178,"channelDuration":26,"cSTime":1742053155,"cETime":1742053178,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09704339646","server_ip":"118.185.137.196","insertTime":1742053178,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053155,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053155,"endTime":1742053178,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4753
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4753
            [uid] => u595
            [unique_id] => 36075_4753_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053152
            [channelDTime] => 1742053178
            [channelDuration] => 26
            [cSTime] => 1742053155
            [cETime] => 1742053178
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09704339646
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053178
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053155
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053155
                                    [endTime] => 1742053178
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1802
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.1599999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29951.599999999293
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1802
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.1599999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96225.53000001072
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053180
{"compaign_id":"36075","contact_id":"4694","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4694","uid":"u595","unique_id":"36075_4694_138-u595","ivrId":"3158","channelOTime":1742053131,"channelDTime":1742053179,"channelDuration":48,"cSTime":1742053156,"cETime":1742053179,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09954628999","server_ip":"118.185.137.196","insertTime":1742053179,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053135,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053156,"endTime":1742053179,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4694
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4694
            [uid] => u595
            [unique_id] => 36075_4694_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053131
            [channelDTime] => 1742053179
            [channelDuration] => 48
            [cSTime] => 1742053156
            [cETime] => 1742053179
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09954628999
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053179
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053135
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053156
                                    [endTime] => 1742053179
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1804
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.31999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29951.439999999293
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1804
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.31999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96225.37000001072
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053181
{"compaign_id":"36075","contact_id":"4783","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4783","uid":"u595","unique_id":"36075_4783_138-u595","ivrId":"3158","channelOTime":1742053158,"channelDTime":1742053179,"channelDuration":21,"cSTime":1742053176,"cETime":1742053179,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09649753010","server_ip":"118.185.137.196","insertTime":1742053179,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053165,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4783
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4783
            [uid] => u595
            [unique_id] => 36075_4783_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053158
            [channelDTime] => 1742053179
            [channelDuration] => 21
            [cSTime] => 1742053176
            [cETime] => 1742053179
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09649753010
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053179
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053165
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1806
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.47999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29951.279999999293
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1806
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.47999999999908
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96225.21000001072
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053181
{"compaign_id":"36075","contact_id":"4793","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4793","uid":"u595","unique_id":"36075_4793_138-u595","ivrId":"3158","channelOTime":1742053160,"channelDTime":1742053184,"channelDuration":24,"cSTime":1742053172,"cETime":1742053184,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08096722179","server_ip":"118.185.137.196","insertTime":1742053184,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053161,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4793
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4793
            [uid] => u595
            [unique_id] => 36075_4793_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053160
            [channelDTime] => 1742053184
            [channelDuration] => 24
            [cSTime] => 1742053172
            [cETime] => 1742053184
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08096722179
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053184
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053161
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1807
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.5599999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29951.19999999929
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1807
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.5599999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96225.13000001071
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053185
{"compaign_id":"36075","contact_id":"4764","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4764","uid":"u595","unique_id":"36075_4764_138-u595","ivrId":"3158","channelOTime":1742053154,"channelDTime":1742053185,"channelDuration":31,"cSTime":1742053168,"cETime":1742053185,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06230727762","server_ip":"118.185.137.196","insertTime":1742053185,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053159,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4764
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4764
            [uid] => u595
            [unique_id] => 36075_4764_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053154
            [channelDTime] => 1742053185
            [channelDuration] => 31
            [cSTime] => 1742053168
            [cETime] => 1742053185
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06230727762
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053185
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053159
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1808
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.6399999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29951.11999999929
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1808
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.6399999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96225.05000001071
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053187
{"compaign_id":"36075","contact_id":"4757","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4757","uid":"u595","unique_id":"36075_4757_138-u595","ivrId":"3158","channelOTime":1742053153,"channelDTime":1742053187,"channelDuration":34,"cSTime":1742053176,"cETime":1742053187,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08588819906","server_ip":"118.185.137.196","insertTime":1742053187,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053154,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4757
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4757
            [uid] => u595
            [unique_id] => 36075_4757_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053153
            [channelDTime] => 1742053187
            [channelDuration] => 34
            [cSTime] => 1742053176
            [cETime] => 1742053187
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08588819906
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053187
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053154
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1810
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.7999999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29950.95999999929
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1810
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.7999999999991
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96224.89000001071
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053188
{"compaign_id":"36075","contact_id":"4773","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4773","uid":"u595","unique_id":"36075_4773_138-u595","ivrId":"3158","channelOTime":1742053156,"channelDTime":1742053187,"channelDuration":31,"cSTime":1742053173,"cETime":1742053187,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09773963705","server_ip":"118.185.137.196","insertTime":1742053187,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053158,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4773
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4773
            [uid] => u595
            [unique_id] => 36075_4773_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053156
            [channelDTime] => 1742053187
            [channelDuration] => 31
            [cSTime] => 1742053173
            [cETime] => 1742053187
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09773963705
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053187
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053158
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1811
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.87999999999911
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29950.879999999288
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1811
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.87999999999911
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96224.81000001071
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053189
{"compaign_id":"36075","contact_id":"4778","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4778","uid":"u595","unique_id":"36075_4778_138-u595","ivrId":"3158","channelOTime":1742053157,"channelDTime":1742053190,"channelDuration":33,"cSTime":1742053167,"cETime":1742053190,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09315167808","server_ip":"118.185.137.196","insertTime":1742053190,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053158,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053167,"endTime":1742053190,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4778
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4778
            [uid] => u595
            [unique_id] => 36075_4778_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053157
            [channelDTime] => 1742053190
            [channelDuration] => 33
            [cSTime] => 1742053167
            [cETime] => 1742053190
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09315167808
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053190
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053158
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053167
                                    [endTime] => 1742053190
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1812
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.95999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29950.799999999286
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1812
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 144.95999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96224.7300000107
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053192
{"compaign_id":"36075","contact_id":"4741","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4741","uid":"u595","unique_id":"36075_4741_138-u595","ivrId":"3158","channelOTime":1742053148,"channelDTime":1742053200,"channelDuration":52,"cSTime":1742053177,"cETime":1742053200,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09307041285","server_ip":"118.185.137.196","insertTime":1742053200,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053149,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053177,"endTime":1742053200,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4741
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4741
            [uid] => u595
            [unique_id] => 36075_4741_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053148
            [channelDTime] => 1742053200
            [channelDuration] => 52
            [cSTime] => 1742053177
            [cETime] => 1742053200
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09307041285
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053200
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053149
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053177
                                    [endTime] => 1742053200
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1814
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.11999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29950.639999999286
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1814
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.11999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96224.5700000107
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053202
2025-03-15 21:10:02[LOG]Starting Cron
2025-03-15 21:10:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"4809","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4809","uid":"u595","unique_id":"36075_4809_138-u595","ivrId":"3158","channelOTime":1742053198,"channelDTime":1742053205,"channelDuration":7,"cSTime":1742053202,"cETime":1742053205,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07656016493","server_ip":"118.185.137.196","insertTime":1742053205,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053200,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4809
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4809
            [uid] => u595
            [unique_id] => 36075_4809_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053198
            [channelDTime] => 1742053205
            [channelDuration] => 7
            [cSTime] => 1742053202
            [cETime] => 1742053205
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07656016493
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053205
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053200
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1816
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.27999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29950.479999999287
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1816
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.27999999999912
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96224.4100000107
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053206
{"compaign_id":"36075","contact_id":"4802","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4802","uid":"u595","unique_id":"36075_4802_138-u595","ivrId":"3158","channelOTime":1742053196,"channelDTime":1742053206,"channelDuration":10,"cSTime":1742053203,"cETime":1742053206,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07494973965","server_ip":"118.185.137.196","insertTime":1742053206,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053198,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4802
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4802
            [uid] => u595
            [unique_id] => 36075_4802_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053196
            [channelDTime] => 1742053206
            [channelDuration] => 10
            [cSTime] => 1742053203
            [cETime] => 1742053206
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07494973965
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053206
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053198
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1817
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.35999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29950.399999999285
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1817
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.35999999999913
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96224.3300000107
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053208
{"compaign_id":"36075","contact_id":"4770","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4770","uid":"u595","unique_id":"36075_4770_138-u595","ivrId":"3158","channelOTime":1742053155,"channelDTime":1742053207,"channelDuration":52,"cSTime":1742053184,"cETime":1742053207,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09335072638","server_ip":"118.185.137.196","insertTime":1742053207,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053157,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053184,"endTime":1742053207,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4770
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4770
            [uid] => u595
            [unique_id] => 36075_4770_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053155
            [channelDTime] => 1742053207
            [channelDuration] => 52
            [cSTime] => 1742053184
            [cETime] => 1742053207
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09335072638
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053207
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053157
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053184
                                    [endTime] => 1742053207
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1818
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.43999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29950.319999999283
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1818
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.43999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96224.2500000107
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053209
{"compaign_id":"36075","contact_id":"4804","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4804","uid":"u595","unique_id":"36075_4804_138-u595","ivrId":"3158","channelOTime":1742053197,"channelDTime":1742053209,"channelDuration":12,"cSTime":1742053207,"cETime":1742053209,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09501237730","server_ip":"118.185.137.196","insertTime":1742053209,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053198,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4804
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4804
            [uid] => u595
            [unique_id] => 36075_4804_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053197
            [channelDTime] => 1742053209
            [channelDuration] => 12
            [cSTime] => 1742053207
            [cETime] => 1742053209
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09501237730
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053209
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053198
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1820
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.59999999999914
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29950.159999999283
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1820
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.59999999999914
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96224.09000001069
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053211
{"compaign_id":"36075","contact_id":"4822","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4822","uid":"u595","unique_id":"36075_4822_138-u595","ivrId":"3158","channelOTime":1742053200,"channelDTime":1742053214,"channelDuration":14,"cSTime":1742053211,"cETime":1742053214,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06303808993","server_ip":"118.185.137.196","insertTime":1742053214,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053205,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4822
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4822
            [uid] => u595
            [unique_id] => 36075_4822_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053200
            [channelDTime] => 1742053214
            [channelDuration] => 14
            [cSTime] => 1742053211
            [cETime] => 1742053214
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06303808993
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053214
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053205
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1821
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.67999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29950.07999999928
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1821
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.67999999999915
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96224.01000001069
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053216
{"compaign_id":"36075","contact_id":"4832","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4832","uid":"u595","unique_id":"36075_4832_138-u595","ivrId":"3158","channelOTime":1742053202,"channelDTime":1742053215,"channelDuration":13,"cSTime":1742053209,"cETime":1742053215,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07003915441","server_ip":"118.185.137.196","insertTime":1742053215,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053209,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4832
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4832
            [uid] => u595
            [unique_id] => 36075_4832_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053202
            [channelDTime] => 1742053215
            [channelDuration] => 13
            [cSTime] => 1742053209
            [cETime] => 1742053215
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07003915441
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053215
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053209
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1822
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.75999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.99999999928
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1822
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.75999999999917
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.93000001069
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053217
{"compaign_id":"36075","contact_id":"4849","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4849","uid":"u595","unique_id":"36075_4849_138-u595","ivrId":"3158","channelOTime":1742053206,"channelDTime":1742053217,"channelDuration":11,"cSTime":1742053215,"cETime":1742053217,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09871025184","server_ip":"118.185.137.196","insertTime":1742053217,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053208,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4849
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4849
            [uid] => u595
            [unique_id] => 36075_4849_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053206
            [channelDTime] => 1742053217
            [channelDuration] => 11
            [cSTime] => 1742053215
            [cETime] => 1742053217
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09871025184
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053217
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053208
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1823
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.83999999999918
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.919999999278
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1823
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.83999999999918
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.85000001069
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053218
{"compaign_id":"36075","contact_id":"4801","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4801","uid":"u595","unique_id":"36075_4801_138-u595","ivrId":"3158","channelOTime":1742053196,"channelDTime":1742053218,"channelDuration":22,"cSTime":1742053207,"cETime":1742053218,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09106550251","server_ip":"118.185.137.196","insertTime":1742053218,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053198,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4801
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4801
            [uid] => u595
            [unique_id] => 36075_4801_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053196
            [channelDTime] => 1742053218
            [channelDuration] => 22
            [cSTime] => 1742053207
            [cETime] => 1742053218
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09106550251
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053218
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053198
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1824
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.9199999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.839999999276
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1824
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.9199999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.77000001069
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053220
{"compaign_id":"36075","contact_id":"4843","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4843","uid":"u595","unique_id":"36075_4843_138-u595","ivrId":"3158","channelOTime":1742053204,"channelDTime":1742053219,"channelDuration":15,"cSTime":1742053212,"cETime":1742053219,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08924912826","server_ip":"118.185.137.196","insertTime":1742053219,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053206,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4843
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4843
            [uid] => u595
            [unique_id] => 36075_4843_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053204
            [channelDTime] => 1742053219
            [channelDuration] => 15
            [cSTime] => 1742053212
            [cETime] => 1742053219
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08924912826
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053219
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053206
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1825
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.9999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.759999999274
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1825
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 145.9999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.69000001068
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053220
{"compaign_id":"36075","contact_id":"4842","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4842","uid":"u595","unique_id":"36075_4842_138-u595","ivrId":"3158","channelOTime":1742053204,"channelDTime":1742053221,"channelDuration":17,"cSTime":1742053215,"cETime":1742053221,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07989666307","server_ip":"118.185.137.196","insertTime":1742053221,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053206,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4842
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4842
            [uid] => u595
            [unique_id] => 36075_4842_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053204
            [channelDTime] => 1742053221
            [channelDuration] => 17
            [cSTime] => 1742053215
            [cETime] => 1742053221
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07989666307
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053221
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053206
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1826
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.07999999999922
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.679999999273
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1826
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.07999999999922
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.61000001068
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053223
{"compaign_id":"36075","contact_id":"4846","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4846","uid":"u595","unique_id":"36075_4846_138-u595","ivrId":"3158","channelOTime":1742053205,"channelDTime":1742053223,"channelDuration":18,"cSTime":1742053219,"cETime":1742053223,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07558264330","server_ip":"118.185.137.196","insertTime":1742053223,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053207,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4846
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4846
            [uid] => u595
            [unique_id] => 36075_4846_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053205
            [channelDTime] => 1742053223
            [channelDuration] => 18
            [cSTime] => 1742053219
            [cETime] => 1742053223
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07558264330
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053223
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053207
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1827
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.15999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.59999999927
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1827
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.15999999999923
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.53000001068
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053224
{"compaign_id":"36075","contact_id":"4888","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4888","uid":"u595","unique_id":"36075_4888_138-u595","ivrId":"3158","channelOTime":1742053215,"channelDTime":1742053224,"channelDuration":9,"cSTime":1742053221,"cETime":1742053224,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07014849153","server_ip":"118.185.137.196","insertTime":1742053224,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053219,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4888
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4888
            [uid] => u595
            [unique_id] => 36075_4888_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053215
            [channelDTime] => 1742053224
            [channelDuration] => 9
            [cSTime] => 1742053221
            [cETime] => 1742053224
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07014849153
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053224
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053219
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1828
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.23999999999924
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.51999999927
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1828
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.23999999999924
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.45000001068
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053225
{"compaign_id":"36075","contact_id":"4815","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4815","uid":"u595","unique_id":"36075_4815_138-u595","ivrId":"3158","channelOTime":1742053199,"channelDTime":1742053224,"channelDuration":25,"cSTime":1742053222,"cETime":1742053224,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09741416273","server_ip":"118.185.137.196","insertTime":1742053224,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053202,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4815
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4815
            [uid] => u595
            [unique_id] => 36075_4815_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053199
            [channelDTime] => 1742053224
            [channelDuration] => 25
            [cSTime] => 1742053222
            [cETime] => 1742053224
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09741416273
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053224
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053202
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1829
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.31999999999925
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.439999999267
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1829
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.31999999999925
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.37000001068
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053226
{"compaign_id":"36075","contact_id":"4870","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4870","uid":"u595","unique_id":"36075_4870_138-u595","ivrId":"3158","channelOTime":1742053212,"channelDTime":1742053225,"channelDuration":13,"cSTime":1742053222,"cETime":1742053225,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07984064258","server_ip":"118.185.137.196","insertTime":1742053225,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053213,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4870
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4870
            [uid] => u595
            [unique_id] => 36075_4870_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053212
            [channelDTime] => 1742053225
            [channelDuration] => 13
            [cSTime] => 1742053222
            [cETime] => 1742053225
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07984064258
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053225
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053213
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1830
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.39999999999927
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.359999999266
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1830
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.39999999999927
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.29000001067
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053227
{"compaign_id":"36075","contact_id":"4821","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4821","uid":"u595","unique_id":"36075_4821_138-u595","ivrId":"3158","channelOTime":1742053200,"channelDTime":1742053225,"channelDuration":25,"cSTime":1742053222,"cETime":1742053225,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08864056274","server_ip":"118.185.137.196","insertTime":1742053225,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053203,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4821
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4821
            [uid] => u595
            [unique_id] => 36075_4821_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053200
            [channelDTime] => 1742053225
            [channelDuration] => 25
            [cSTime] => 1742053222
            [cETime] => 1742053225
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08864056274
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053225
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053203
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1831
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.47999999999928
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.279999999264
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1831
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.47999999999928
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.21000001067
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053227
{"compaign_id":"36075","contact_id":"4853","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4853","uid":"u595","unique_id":"36075_4853_138-u595","ivrId":"3158","channelOTime":1742053208,"channelDTime":1742053226,"channelDuration":18,"cSTime":1742053222,"cETime":1742053226,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08970287319","server_ip":"118.185.137.196","insertTime":1742053226,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053210,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4853
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4853
            [uid] => u595
            [unique_id] => 36075_4853_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053208
            [channelDTime] => 1742053226
            [channelDuration] => 18
            [cSTime] => 1742053222
            [cETime] => 1742053226
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08970287319
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053226
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053210
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1832
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.5599999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.199999999262
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1832
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.5599999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.13000001067
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053228
{"compaign_id":"36075","contact_id":"4861","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4861","uid":"u595","unique_id":"36075_4861_138-u595","ivrId":"3158","channelOTime":1742053210,"channelDTime":1742053228,"channelDuration":18,"cSTime":1742053218,"cETime":1742053228,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07014630054","server_ip":"118.185.137.196","insertTime":1742053228,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053213,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4861
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4861
            [uid] => u595
            [unique_id] => 36075_4861_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053210
            [channelDTime] => 1742053228
            [channelDuration] => 18
            [cSTime] => 1742053218
            [cETime] => 1742053228
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07014630054
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053228
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053213
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1833
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.6399999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.11999999926
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1833
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.6399999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96223.05000001067
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053229
{"compaign_id":"36075","contact_id":"4817","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4817","uid":"u595","unique_id":"36075_4817_138-u595","ivrId":"3158","channelOTime":1742053199,"channelDTime":1742053228,"channelDuration":29,"cSTime":1742053213,"cETime":1742053228,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06353550143","server_ip":"118.185.137.196","insertTime":1742053228,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053200,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4817
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4817
            [uid] => u595
            [unique_id] => 36075_4817_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053199
            [channelDTime] => 1742053228
            [channelDuration] => 29
            [cSTime] => 1742053213
            [cETime] => 1742053228
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06353550143
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053228
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053200
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1834
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.71999999999932
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29949.03999999926
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1834
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.71999999999932
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.97000001067
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053230
{"compaign_id":"36075","contact_id":"4852","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4852","uid":"u595","unique_id":"36075_4852_138-u595","ivrId":"3158","channelOTime":1742053208,"channelDTime":1742053229,"channelDuration":21,"cSTime":1742053221,"cETime":1742053229,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07676043666","server_ip":"118.185.137.196","insertTime":1742053229,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053211,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4852
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4852
            [uid] => u595
            [unique_id] => 36075_4852_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053208
            [channelDTime] => 1742053229
            [channelDuration] => 21
            [cSTime] => 1742053221
            [cETime] => 1742053229
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07676043666
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053229
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053211
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1835
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.79999999999933
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29948.959999999257
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1835
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.79999999999933
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.89000001067
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053231
{"compaign_id":"36075","contact_id":"4881","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4881","uid":"u595","unique_id":"36075_4881_138-u595","ivrId":"3158","channelOTime":1742053214,"channelDTime":1742053230,"channelDuration":16,"cSTime":1742053227,"cETime":1742053230,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08684978745","server_ip":"118.185.137.196","insertTime":1742053230,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053216,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4881
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4881
            [uid] => u595
            [unique_id] => 36075_4881_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053214
            [channelDTime] => 1742053230
            [channelDuration] => 16
            [cSTime] => 1742053227
            [cETime] => 1742053230
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08684978745
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053230
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053216
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1836
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.87999999999934
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29948.879999999255
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1836
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.87999999999934
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.81000001066
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053231
{"compaign_id":"36075","contact_id":"4879","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4879","uid":"u595","unique_id":"36075_4879_138-u595","ivrId":"3158","channelOTime":1742053213,"channelDTime":1742053230,"channelDuration":17,"cSTime":1742053223,"cETime":1742053230,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08669139068","server_ip":"118.185.137.196","insertTime":1742053230,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053215,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4879
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4879
            [uid] => u595
            [unique_id] => 36075_4879_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053213
            [channelDTime] => 1742053230
            [channelDuration] => 17
            [cSTime] => 1742053223
            [cETime] => 1742053230
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08669139068
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053230
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053215
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1837
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.95999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29948.799999999253
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1837
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 146.95999999999935
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.73000001066
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053232
{"compaign_id":"36075","contact_id":"4823","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4823","uid":"u595","unique_id":"36075_4823_138-u595","ivrId":"3158","channelOTime":1742053200,"channelDTime":1742053231,"channelDuration":31,"cSTime":1742053216,"cETime":1742053231,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09653341280","server_ip":"118.185.137.196","insertTime":1742053231,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053203,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4823
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4823
            [uid] => u595
            [unique_id] => 36075_4823_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053200
            [channelDTime] => 1742053231
            [channelDuration] => 31
            [cSTime] => 1742053216
            [cETime] => 1742053231
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09653341280
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053231
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053203
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1838
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.03999999999937
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29948.71999999925
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1838
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.03999999999937
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.65000001066
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053233
{"compaign_id":"36075","contact_id":"4856","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4856","uid":"u595","unique_id":"36075_4856_138-u595","ivrId":"3158","channelOTime":1742053209,"channelDTime":1742053232,"channelDuration":23,"cSTime":1742053230,"cETime":1742053232,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09634796079","server_ip":"118.185.137.196","insertTime":1742053232,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053212,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4856
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4856
            [uid] => u595
            [unique_id] => 36075_4856_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053209
            [channelDTime] => 1742053232
            [channelDuration] => 23
            [cSTime] => 1742053230
            [cETime] => 1742053232
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09634796079
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053232
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053212
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1839
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.11999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29948.63999999925
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1839
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.11999999999938
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.57000001066
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053234
{"compaign_id":"36075","contact_id":"4834","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4834","uid":"u595","unique_id":"36075_4834_138-u595","ivrId":"3158","channelOTime":1742053203,"channelDTime":1742053233,"channelDuration":30,"cSTime":1742053209,"cETime":1742053233,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08240200533","server_ip":"118.185.137.196","insertTime":1742053233,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053204,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053209,"endTime":1742053233,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4834
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4834
            [uid] => u595
            [unique_id] => 36075_4834_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053203
            [channelDTime] => 1742053233
            [channelDuration] => 30
            [cSTime] => 1742053209
            [cETime] => 1742053233
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08240200533
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053233
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053204
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053209
                                    [endTime] => 1742053233
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1840
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.1999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29948.55999999925
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1840
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.1999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.49000001066
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053235
{"compaign_id":"36075","contact_id":"4863","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4863","uid":"u595","unique_id":"36075_4863_138-u595","ivrId":"3158","channelOTime":1742053210,"channelDTime":1742053233,"channelDuration":23,"cSTime":1742053222,"cETime":1742053233,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09691944639","server_ip":"118.185.137.196","insertTime":1742053233,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053213,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4863
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4863
            [uid] => u595
            [unique_id] => 36075_4863_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053210
            [channelDTime] => 1742053233
            [channelDuration] => 23
            [cSTime] => 1742053222
            [cETime] => 1742053233
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09691944639
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053233
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053213
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1842
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.3599999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29948.39999999925
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1842
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.3599999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.33000001065
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053235
{"compaign_id":"36075","contact_id":"4883","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4883","uid":"u595","unique_id":"36075_4883_138-u595","ivrId":"3158","channelOTime":1742053214,"channelDTime":1742053233,"channelDuration":19,"cSTime":1742053229,"cETime":1742053233,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06294526284","server_ip":"118.185.137.196","insertTime":1742053233,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053216,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4883
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4883
            [uid] => u595
            [unique_id] => 36075_4883_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053214
            [channelDTime] => 1742053233
            [channelDuration] => 19
            [cSTime] => 1742053229
            [cETime] => 1742053233
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06294526284
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053233
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053216
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1843
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.4399999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29948.319999999247
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1843
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.4399999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.25000001065
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053235
{"compaign_id":"36075","contact_id":"4847","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4847","uid":"u595","unique_id":"36075_4847_138-u595","ivrId":"3158","channelOTime":1742053205,"channelDTime":1742053236,"channelDuration":31,"cSTime":1742053226,"cETime":1742053236,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07674906523","server_ip":"118.185.137.196","insertTime":1742053236,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053208,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4847
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4847
            [uid] => u595
            [unique_id] => 36075_4847_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053205
            [channelDTime] => 1742053236
            [channelDuration] => 31
            [cSTime] => 1742053226
            [cETime] => 1742053236
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07674906523
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053236
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053208
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1844
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.5199999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29948.239999999245
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1844
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.5199999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.17000001065
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053237
{"compaign_id":"36075","contact_id":"4885","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4885","uid":"u595","unique_id":"36075_4885_138-u595","ivrId":"3158","channelOTime":1742053215,"channelDTime":1742053236,"channelDuration":21,"cSTime":1742053230,"cETime":1742053236,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09011759147","server_ip":"118.185.137.196","insertTime":1742053236,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053216,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4885
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4885
            [uid] => u595
            [unique_id] => 36075_4885_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053215
            [channelDTime] => 1742053236
            [channelDuration] => 21
            [cSTime] => 1742053230
            [cETime] => 1742053236
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09011759147
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053236
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053216
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1845
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.59999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29948.159999999243
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1845
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.59999999999943
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.09000001065
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053238
{"compaign_id":"36075","contact_id":"4890","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4890","uid":"u595","unique_id":"36075_4890_138-u595","ivrId":"3158","channelOTime":1742053216,"channelDTime":1742053238,"channelDuration":22,"cSTime":1742053229,"cETime":1742053238,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07676616284","server_ip":"118.185.137.196","insertTime":1742053238,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053219,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4890
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4890
            [uid] => u595
            [unique_id] => 36075_4890_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053216
            [channelDTime] => 1742053238
            [channelDuration] => 22
            [cSTime] => 1742053229
            [cETime] => 1742053238
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07676616284
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053238
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053219
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1846
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.67999999999944
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29948.07999999924
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1846
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.67999999999944
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96222.01000001065
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053239
{"compaign_id":"36075","contact_id":"4858","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4858","uid":"u595","unique_id":"36075_4858_138-u595","ivrId":"3158","channelOTime":1742053209,"channelDTime":1742053240,"channelDuration":31,"cSTime":1742053225,"cETime":1742053240,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09621178896","server_ip":"118.185.137.196","insertTime":1742053240,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053212,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4858
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4858
            [uid] => u595
            [unique_id] => 36075_4858_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053209
            [channelDTime] => 1742053240
            [channelDuration] => 31
            [cSTime] => 1742053225
            [cETime] => 1742053240
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09621178896
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053240
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053212
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1847
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.75999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29947.99999999924
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1847
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.75999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96221.93000001065
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053241
{"compaign_id":"36075","contact_id":"4859","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4859","uid":"u595","unique_id":"36075_4859_138-u595","ivrId":"3158","channelOTime":1742053209,"channelDTime":1742053241,"channelDuration":32,"cSTime":1742053223,"cETime":1742053241,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08939280050","server_ip":"118.185.137.196","insertTime":1742053241,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053215,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4859
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4859
            [uid] => u595
            [unique_id] => 36075_4859_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053209
            [channelDTime] => 1742053241
            [channelDuration] => 32
            [cSTime] => 1742053223
            [cETime] => 1742053241
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08939280050
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053241
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053215
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1848
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.83999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29947.919999999238
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1848
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.83999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96221.85000001064
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053242
{"compaign_id":"36075","contact_id":"4827","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4827","uid":"u595","unique_id":"36075_4827_138-u595","ivrId":"3158","channelOTime":1742053201,"channelDTime":1742053241,"channelDuration":40,"cSTime":1742053224,"cETime":1742053241,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09899156172","server_ip":"118.185.137.196","insertTime":1742053241,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053203,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4827
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4827
            [uid] => u595
            [unique_id] => 36075_4827_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053201
            [channelDTime] => 1742053241
            [channelDuration] => 40
            [cSTime] => 1742053224
            [cETime] => 1742053241
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09899156172
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053241
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053203
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1850
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.99999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29947.759999999238
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1850
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 147.99999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96221.69000001064
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053243
{"compaign_id":"36075","contact_id":"4831","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4831","uid":"u595","unique_id":"36075_4831_138-u595","ivrId":"3158","channelOTime":1742053202,"channelDTime":1742053244,"channelDuration":42,"cSTime":1742053226,"cETime":1742053244,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06376327287","server_ip":"118.185.137.196","insertTime":1742053244,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053203,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4831
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4831
            [uid] => u595
            [unique_id] => 36075_4831_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053202
            [channelDTime] => 1742053244
            [channelDuration] => 42
            [cSTime] => 1742053226
            [cETime] => 1742053244
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06376327287
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053244
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053203
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1852
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.15999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29947.59999999924
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1852
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.15999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96221.53000001064
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053245
{"compaign_id":"36075","contact_id":"4867","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4867","uid":"u595","unique_id":"36075_4867_138-u595","ivrId":"3158","channelOTime":1742053211,"channelDTime":1742053246,"channelDuration":35,"cSTime":1742053223,"cETime":1742053246,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07003779211","server_ip":"118.185.137.196","insertTime":1742053246,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053212,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053223,"endTime":1742053246,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4867
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4867
            [uid] => u595
            [unique_id] => 36075_4867_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053211
            [channelDTime] => 1742053246
            [channelDuration] => 35
            [cSTime] => 1742053223
            [cETime] => 1742053246
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07003779211
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053246
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053212
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053223
                                    [endTime] => 1742053246
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1854
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.31999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29947.43999999924
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1854
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.31999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96221.37000001063
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053248
{"compaign_id":"36075","contact_id":"4899","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4899","uid":"u595","unique_id":"36075_4899_138-u595","ivrId":"3158","channelOTime":1742053217,"channelDTime":1742053249,"channelDuration":32,"cSTime":1742053242,"cETime":1742053249,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09724329931","server_ip":"118.185.137.196","insertTime":1742053249,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053221,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4899
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4899
            [uid] => u595
            [unique_id] => 36075_4899_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053217
            [channelDTime] => 1742053249
            [channelDuration] => 32
            [cSTime] => 1742053242
            [cETime] => 1742053249
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09724329931
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053249
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053221
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1856
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.47999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29947.27999999924
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1856
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.47999999999945
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96221.21000001063
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053250
{"compaign_id":"36075","contact_id":"4893","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4893","uid":"u595","unique_id":"36075_4893_138-u595","ivrId":"3158","channelOTime":1742053216,"channelDTime":1742053252,"channelDuration":36,"cSTime":1742053239,"cETime":1742053252,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07544914908","server_ip":"118.185.137.196","insertTime":1742053252,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053219,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4893
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4893
            [uid] => u595
            [unique_id] => 36075_4893_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053216
            [channelDTime] => 1742053252
            [channelDuration] => 36
            [cSTime] => 1742053239
            [cETime] => 1742053252
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07544914908
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053252
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053219
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1857
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.55999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29947.199999999237
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1857
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.55999999999946
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96221.13000001063
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053253
{"compaign_id":"36075","contact_id":"4895","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4895","uid":"u595","unique_id":"36075_4895_138-u595","ivrId":"3158","channelOTime":1742053217,"channelDTime":1742053254,"channelDuration":37,"cSTime":1742053231,"cETime":1742053254,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09569792198","server_ip":"118.185.137.196","insertTime":1742053254,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053218,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053231,"endTime":1742053254,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4895
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4895
            [uid] => u595
            [unique_id] => 36075_4895_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053217
            [channelDTime] => 1742053254
            [channelDuration] => 37
            [cSTime] => 1742053231
            [cETime] => 1742053254
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09569792198
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053254
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053218
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053231
                                    [endTime] => 1742053254
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1858
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.63999999999947
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29947.119999999235
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1858
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.63999999999947
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96221.05000001063
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053256
{"compaign_id":"36075","contact_id":"4892","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4892","uid":"u595","unique_id":"36075_4892_138-u595","ivrId":"3158","channelOTime":1742053216,"channelDTime":1742053255,"channelDuration":39,"cSTime":1742053237,"cETime":1742053255,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06305820291","server_ip":"118.185.137.196","insertTime":1742053255,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053222,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4892
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4892
            [uid] => u595
            [unique_id] => 36075_4892_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053216
            [channelDTime] => 1742053255
            [channelDuration] => 39
            [cSTime] => 1742053237
            [cETime] => 1742053255
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06305820291
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053255
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053222
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1860
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.79999999999947
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29946.959999999235
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1860
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.79999999999947
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96220.89000001062
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053257
2025-03-15 21:11:02[LOG]Starting Cron
2025-03-15 21:11:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"4913","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4913","uid":"u595","unique_id":"36075_4913_138-u595","ivrId":"3158","channelOTime":1742053249,"channelDTime":1742053263,"channelDuration":14,"cSTime":1742053255,"cETime":1742053263,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09515244457","server_ip":"118.185.137.196","insertTime":1742053263,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053251,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4913
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4913
            [uid] => u595
            [unique_id] => 36075_4913_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053249
            [channelDTime] => 1742053263
            [channelDuration] => 14
            [cSTime] => 1742053255
            [cETime] => 1742053263
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09515244457
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053263
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053251
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1862
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.95999999999947
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29946.799999999235
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1862
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 148.95999999999947
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96220.73000001062
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053265
{"compaign_id":"36075","contact_id":"4910","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4910","uid":"u595","unique_id":"36075_4910_138-u595","ivrId":"3158","channelOTime":1742053248,"channelDTime":1742053263,"channelDuration":15,"cSTime":1742053258,"cETime":1742053263,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09401243236","server_ip":"118.185.137.196","insertTime":1742053263,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053252,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4910
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4910
            [uid] => u595
            [unique_id] => 36075_4910_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053248
            [channelDTime] => 1742053263
            [channelDuration] => 15
            [cSTime] => 1742053258
            [cETime] => 1742053263
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09401243236
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053263
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053252
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1863
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.03999999999948
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29946.719999999234
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1863
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.03999999999948
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96220.65000001062
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053265
{"compaign_id":"36075","contact_id":"4930","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4930","uid":"u595","unique_id":"36075_4930_138-u595","ivrId":"3158","channelOTime":1742053252,"channelDTime":1742053268,"channelDuration":16,"cSTime":1742053262,"cETime":1742053268,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07016453099","server_ip":"118.185.137.196","insertTime":1742053268,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053255,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4930
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4930
            [uid] => u595
            [unique_id] => 36075_4930_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053252
            [channelDTime] => 1742053268
            [channelDuration] => 16
            [cSTime] => 1742053262
            [cETime] => 1742053268
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07016453099
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053268
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053255
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1864
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.1199999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29946.63999999923
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1864
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.1199999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96220.57000001062
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053269
{"compaign_id":"36075","contact_id":"4922","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4922","uid":"u595","unique_id":"36075_4922_138-u595","ivrId":"3158","channelOTime":1742053251,"channelDTime":1742053269,"channelDuration":18,"cSTime":1742053261,"cETime":1742053269,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08958127078","server_ip":"118.185.137.196","insertTime":1742053269,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053253,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4922
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4922
            [uid] => u595
            [unique_id] => 36075_4922_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053251
            [channelDTime] => 1742053269
            [channelDuration] => 18
            [cSTime] => 1742053261
            [cETime] => 1742053269
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08958127078
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053269
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053253
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1865
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.1999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29946.55999999923
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1865
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.1999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96220.49000001061
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053270
{"compaign_id":"36075","contact_id":"4942","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4942","uid":"u595","unique_id":"36075_4942_138-u595","ivrId":"3158","channelOTime":1742053255,"channelDTime":1742053270,"channelDuration":15,"cSTime":1742053265,"cETime":1742053270,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09811830802","server_ip":"118.185.137.196","insertTime":1742053270,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053257,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4942
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4942
            [uid] => u595
            [unique_id] => 36075_4942_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053255
            [channelDTime] => 1742053270
            [channelDuration] => 15
            [cSTime] => 1742053265
            [cETime] => 1742053270
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09811830802
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053270
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053257
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1866
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.27999999999952
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29946.47999999923
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1866
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.27999999999952
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96220.41000001061
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053272
{"compaign_id":"36075","contact_id":"4926","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4926","uid":"u595","unique_id":"36075_4926_138-u595","ivrId":"3158","channelOTime":1742053252,"channelDTime":1742053271,"channelDuration":19,"cSTime":1742053267,"cETime":1742053271,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07300269437","server_ip":"118.185.137.196","insertTime":1742053271,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053255,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4926
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4926
            [uid] => u595
            [unique_id] => 36075_4926_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053252
            [channelDTime] => 1742053271
            [channelDuration] => 19
            [cSTime] => 1742053267
            [cETime] => 1742053271
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07300269437
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053271
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053255
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1867
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.35999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29946.399999999227
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1867
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.35999999999953
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96220.33000001061
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053273
{"compaign_id":"36075","contact_id":"4960","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4960","uid":"u595","unique_id":"36075_4960_138-u595","ivrId":"3158","channelOTime":1742053260,"channelDTime":1742053271,"channelDuration":11,"cSTime":1742053267,"cETime":1742053271,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07761830023","server_ip":"118.185.137.196","insertTime":1742053271,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053262,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4960
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4960
            [uid] => u595
            [unique_id] => 36075_4960_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053260
            [channelDTime] => 1742053271
            [channelDuration] => 11
            [cSTime] => 1742053267
            [cETime] => 1742053271
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07761830023
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053271
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053262
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1868
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.43999999999954
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29946.319999999225
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1868
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.43999999999954
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96220.25000001061
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053273
{"compaign_id":"36075","contact_id":"4966","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4966","uid":"u595","unique_id":"36075_4966_138-u595","ivrId":"3158","channelOTime":1742053261,"channelDTime":1742053271,"channelDuration":10,"cSTime":1742053268,"cETime":1742053271,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07600745784","server_ip":"118.185.137.196","insertTime":1742053271,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053266,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4966
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4966
            [uid] => u595
            [unique_id] => 36075_4966_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053261
            [channelDTime] => 1742053271
            [channelDuration] => 10
            [cSTime] => 1742053268
            [cETime] => 1742053271
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07600745784
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053271
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053266
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1869
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.51999999999956
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29946.239999999223
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1869
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.51999999999956
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96220.1700000106
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053273
{"compaign_id":"36075","contact_id":"4927","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4927","uid":"u595","unique_id":"36075_4927_138-u595","ivrId":"3158","channelOTime":1742053252,"channelDTime":1742053271,"channelDuration":19,"cSTime":1742053267,"cETime":1742053271,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08688186536","server_ip":"118.185.137.196","insertTime":1742053271,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053253,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4927
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4927
            [uid] => u595
            [unique_id] => 36075_4927_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053252
            [channelDTime] => 1742053271
            [channelDuration] => 19
            [cSTime] => 1742053267
            [cETime] => 1742053271
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08688186536
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053271
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053253
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1870
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.59999999999957
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29946.15999999922
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1870
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.59999999999957
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96220.0900000106
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053273
{"compaign_id":"36075","contact_id":"4907","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4907","uid":"u595","unique_id":"36075_4907_138-u595","ivrId":"3158","channelOTime":1742053248,"channelDTime":1742053276,"channelDuration":28,"cSTime":1742053257,"cETime":1742053276,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08580567492","server_ip":"118.185.137.196","insertTime":1742053276,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053249,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4907
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4907
            [uid] => u595
            [unique_id] => 36075_4907_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053248
            [channelDTime] => 1742053276
            [channelDuration] => 28
            [cSTime] => 1742053257
            [cETime] => 1742053276
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08580567492
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053276
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053249
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1871
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.67999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29946.07999999922
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1871
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.67999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96220.0100000106
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053278
{"compaign_id":"36075","contact_id":"4978","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4978","uid":"u595","unique_id":"36075_4978_138-u595","ivrId":"3158","channelOTime":1742053263,"channelDTime":1742053277,"channelDuration":14,"cSTime":1742053275,"cETime":1742053277,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08471930845","server_ip":"118.185.137.196","insertTime":1742053277,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053266,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4978
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4978
            [uid] => u595
            [unique_id] => 36075_4978_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053263
            [channelDTime] => 1742053277
            [channelDuration] => 14
            [cSTime] => 1742053275
            [cETime] => 1742053277
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08471930845
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053277
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053266
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1873
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.83999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29945.91999999922
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1873
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.83999999999958
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96219.8500000106
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053279
{"compaign_id":"36075","contact_id":"5003","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5003","uid":"u595","unique_id":"36075_5003_138-u595","ivrId":"3158","channelOTime":1742053270,"channelDTime":1742053278,"channelDuration":8,"cSTime":1742053275,"cETime":1742053278,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07667886204","server_ip":"118.185.137.196","insertTime":1742053278,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053274,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5003
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5003
            [uid] => u595
            [unique_id] => 36075_5003_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053270
            [channelDTime] => 1742053278
            [channelDuration] => 8
            [cSTime] => 1742053275
            [cETime] => 1742053278
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07667886204
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053278
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053274
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1874
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.9199999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29945.839999999218
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1874
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.9199999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96219.7700000106
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053280
{"compaign_id":"36075","contact_id":"4935","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4935","uid":"u595","unique_id":"36075_4935_138-u595","ivrId":"3158","channelOTime":1742053253,"channelDTime":1742053278,"channelDuration":25,"cSTime":1742053275,"cETime":1742053278,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09036360699","server_ip":"118.185.137.196","insertTime":1742053278,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053256,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4935
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4935
            [uid] => u595
            [unique_id] => 36075_4935_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053253
            [channelDTime] => 1742053278
            [channelDuration] => 25
            [cSTime] => 1742053275
            [cETime] => 1742053278
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09036360699
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053278
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053256
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1875
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.9999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29945.759999999216
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1875
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 149.9999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96219.6900000106
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053280
{"compaign_id":"36075","contact_id":"4924","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4924","uid":"u595","unique_id":"36075_4924_138-u595","ivrId":"3158","channelOTime":1742053251,"channelDTime":1742053279,"channelDuration":28,"cSTime":1742053265,"cETime":1742053279,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08126504896","server_ip":"118.185.137.196","insertTime":1742053279,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053253,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4924
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4924
            [uid] => u595
            [unique_id] => 36075_4924_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053251
            [channelDTime] => 1742053279
            [channelDuration] => 28
            [cSTime] => 1742053265
            [cETime] => 1742053279
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08126504896
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053279
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053253
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1876
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.07999999999961
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29945.679999999214
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1876
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.07999999999961
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96219.6100000106
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053281
{"compaign_id":"36075","contact_id":"4961","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4961","uid":"u595","unique_id":"36075_4961_138-u595","ivrId":"3158","channelOTime":1742053260,"channelDTime":1742053279,"channelDuration":19,"cSTime":1742053272,"cETime":1742053279,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09707386856","server_ip":"118.185.137.196","insertTime":1742053279,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053263,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4961
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4961
            [uid] => u595
            [unique_id] => 36075_4961_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053260
            [channelDTime] => 1742053279
            [channelDuration] => 19
            [cSTime] => 1742053272
            [cETime] => 1742053279
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09707386856
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053279
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053263
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1877
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.15999999999963
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29945.599999999213
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1877
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.15999999999963
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96219.53000001059
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053281
{"compaign_id":"36075","contact_id":"4956","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4956","uid":"u595","unique_id":"36075_4956_138-u595","ivrId":"3158","channelOTime":1742053259,"channelDTime":1742053279,"channelDuration":20,"cSTime":1742053273,"cETime":1742053279,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06006833264","server_ip":"118.185.137.196","insertTime":1742053279,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053264,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4956
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4956
            [uid] => u595
            [unique_id] => 36075_4956_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053259
            [channelDTime] => 1742053279
            [channelDuration] => 20
            [cSTime] => 1742053273
            [cETime] => 1742053279
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06006833264
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053279
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053264
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1878
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.23999999999964
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29945.51999999921
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1878
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.23999999999964
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96219.45000001059
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053281
{"compaign_id":"36075","contact_id":"5006","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5006","uid":"u595","unique_id":"36075_5006_138-u595","ivrId":"3158","channelOTime":1742053271,"channelDTime":1742053280,"channelDuration":9,"cSTime":1742053275,"cETime":1742053280,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07772059768","server_ip":"118.185.137.196","insertTime":1742053280,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053274,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5006
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5006
            [uid] => u595
            [unique_id] => 36075_5006_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053271
            [channelDTime] => 1742053280
            [channelDuration] => 9
            [cSTime] => 1742053275
            [cETime] => 1742053280
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07772059768
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053280
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053274
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1879
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.31999999999965
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29945.43999999921
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1879
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.31999999999965
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96219.37000001059
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053282
{"compaign_id":"36075","contact_id":"4979","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4979","uid":"u595","unique_id":"36075_4979_138-u595","ivrId":"3158","channelOTime":1742053264,"channelDTime":1742053281,"channelDuration":17,"cSTime":1742053276,"cETime":1742053281,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06301209321","server_ip":"118.185.137.196","insertTime":1742053281,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053265,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4979
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4979
            [uid] => u595
            [unique_id] => 36075_4979_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053264
            [channelDTime] => 1742053281
            [channelDuration] => 17
            [cSTime] => 1742053276
            [cETime] => 1742053281
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06301209321
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053281
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053265
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1880
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.39999999999966
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29945.359999999208
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1880
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.39999999999966
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96219.29000001059
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053282
{"compaign_id":"36075","contact_id":"4948","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4948","uid":"u595","unique_id":"36075_4948_138-u595","ivrId":"3158","channelOTime":1742053256,"channelDTime":1742053283,"channelDuration":27,"cSTime":1742053266,"cETime":1742053283,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07324885452","server_ip":"118.185.137.196","insertTime":1742053283,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053259,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4948
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4948
            [uid] => u595
            [unique_id] => 36075_4948_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053256
            [channelDTime] => 1742053283
            [channelDuration] => 27
            [cSTime] => 1742053266
            [cETime] => 1742053283
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07324885452
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053283
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053259
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1881
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.47999999999968
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29945.279999999206
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1881
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.47999999999968
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96219.21000001059
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053285
{"compaign_id":"36075","contact_id":"4986","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4986","uid":"u595","unique_id":"36075_4986_138-u595","ivrId":"3158","channelOTime":1742053265,"channelDTime":1742053286,"channelDuration":21,"cSTime":1742053273,"cETime":1742053286,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08317697441","server_ip":"118.185.137.196","insertTime":1742053286,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053267,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4986
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4986
            [uid] => u595
            [unique_id] => 36075_4986_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053265
            [channelDTime] => 1742053286
            [channelDuration] => 21
            [cSTime] => 1742053273
            [cETime] => 1742053286
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08317697441
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053286
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053267
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1883
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.63999999999967
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29945.119999999206
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1883
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.63999999999967
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96219.05000001058
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053288
{"compaign_id":"36075","contact_id":"4939","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4939","uid":"u595","unique_id":"36075_4939_138-u595","ivrId":"3158","channelOTime":1742053254,"channelDTime":1742053287,"channelDuration":33,"cSTime":1742053269,"cETime":1742053287,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09492520850","server_ip":"118.185.137.196","insertTime":1742053287,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053257,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4939
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4939
            [uid] => u595
            [unique_id] => 36075_4939_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053254
            [channelDTime] => 1742053287
            [channelDuration] => 33
            [cSTime] => 1742053269
            [cETime] => 1742053287
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09492520850
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053287
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053257
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1884
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.7199999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29945.039999999204
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1884
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.7199999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96218.97000001058
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053288
{"compaign_id":"36075","contact_id":"4954","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4954","uid":"u595","unique_id":"36075_4954_138-u595","ivrId":"3158","channelOTime":1742053259,"channelDTime":1742053287,"channelDuration":28,"cSTime":1742053277,"cETime":1742053287,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08140443349","server_ip":"118.185.137.196","insertTime":1742053287,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053260,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4954
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4954
            [uid] => u595
            [unique_id] => 36075_4954_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053259
            [channelDTime] => 1742053287
            [channelDuration] => 28
            [cSTime] => 1742053277
            [cETime] => 1742053287
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08140443349
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053287
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053260
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1886
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.87999999999968
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29944.879999999204
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1886
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.87999999999968
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96218.81000001058
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053289
{"compaign_id":"36075","contact_id":"4929","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4929","uid":"u595","unique_id":"36075_4929_138-u595","ivrId":"3158","channelOTime":1742053252,"channelDTime":1742053288,"channelDuration":36,"cSTime":1742053272,"cETime":1742053288,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08638049936","server_ip":"118.185.137.196","insertTime":1742053288,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053255,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4929
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4929
            [uid] => u595
            [unique_id] => 36075_4929_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053252
            [channelDTime] => 1742053288
            [channelDuration] => 36
            [cSTime] => 1742053272
            [cETime] => 1742053288
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08638049936
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053288
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053255
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1887
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.9599999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29944.799999999203
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1887
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 150.9599999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96218.73000001058
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053290
{"compaign_id":"36075","contact_id":"5004","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5004","uid":"u595","unique_id":"36075_5004_138-u595","ivrId":"3158","channelOTime":1742053270,"channelDTime":1742053288,"channelDuration":18,"cSTime":1742053284,"cETime":1742053288,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09572418175","server_ip":"118.185.137.196","insertTime":1742053288,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053274,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5004
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5004
            [uid] => u595
            [unique_id] => 36075_5004_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053270
            [channelDTime] => 1742053288
            [channelDuration] => 18
            [cSTime] => 1742053284
            [cETime] => 1742053288
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09572418175
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053288
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053274
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1889
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.1199999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29944.639999999203
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1889
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.1199999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96218.57000001057
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053290
{"compaign_id":"36075","contact_id":"4998","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4998","uid":"u595","unique_id":"36075_4998_138-u595","ivrId":"3158","channelOTime":1742053267,"channelDTime":1742053289,"channelDuration":22,"cSTime":1742053274,"cETime":1742053289,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08618601711","server_ip":"118.185.137.196","insertTime":1742053289,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053269,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4998
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4998
            [uid] => u595
            [unique_id] => 36075_4998_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053267
            [channelDTime] => 1742053289
            [channelDuration] => 22
            [cSTime] => 1742053274
            [cETime] => 1742053289
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08618601711
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053289
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053269
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1890
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.1999999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29944.5599999992
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1890
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.1999999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96218.49000001057
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053291
{"compaign_id":"36075","contact_id":"4973","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4973","uid":"u595","unique_id":"36075_4973_138-u595","ivrId":"3158","channelOTime":1742053262,"channelDTime":1742053291,"channelDuration":29,"cSTime":1742053276,"cETime":1742053291,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07276234714","server_ip":"118.185.137.196","insertTime":1742053291,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053265,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4973
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4973
            [uid] => u595
            [unique_id] => 36075_4973_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053262
            [channelDTime] => 1742053291
            [channelDuration] => 29
            [cSTime] => 1742053276
            [cETime] => 1742053291
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07276234714
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053291
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053265
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1891
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.27999999999972
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29944.4799999992
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1891
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.27999999999972
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96218.41000001057
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053293
{"compaign_id":"36075","contact_id":"4934","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4934","uid":"u595","unique_id":"36075_4934_138-u595","ivrId":"3158","channelOTime":1742053253,"channelDTime":1742053291,"channelDuration":38,"cSTime":1742053268,"cETime":1742053291,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06301438584","server_ip":"118.185.137.196","insertTime":1742053291,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053255,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053268,"endTime":1742053291,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4934
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4934
            [uid] => u595
            [unique_id] => 36075_4934_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053253
            [channelDTime] => 1742053291
            [channelDuration] => 38
            [cSTime] => 1742053268
            [cETime] => 1742053291
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06301438584
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053291
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053255
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053268
                                    [endTime] => 1742053291
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1892
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.35999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29944.399999999197
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1892
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.35999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96218.33000001057
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053293
{"compaign_id":"36075","contact_id":"4999","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4999","uid":"u595","unique_id":"36075_4999_138-u595","ivrId":"3158","channelOTime":1742053268,"channelDTime":1742053292,"channelDuration":24,"cSTime":1742053283,"cETime":1742053292,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08383860034","server_ip":"118.185.137.196","insertTime":1742053292,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053273,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4999
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4999
            [uid] => u595
            [unique_id] => 36075_4999_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053268
            [channelDTime] => 1742053292
            [channelDuration] => 24
            [cSTime] => 1742053283
            [cETime] => 1742053292
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08383860034
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053292
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053273
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1894
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.51999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29944.239999999198
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1894
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.51999999999973
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96218.17000001056
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053294
{"compaign_id":"36075","contact_id":"5037","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5037","uid":"u595","unique_id":"36075_5037_138-u595","ivrId":"3158","channelOTime":1742053277,"channelDTime":1742053293,"channelDuration":16,"cSTime":1742053289,"cETime":1742053293,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09767376252","server_ip":"118.185.137.196","insertTime":1742053293,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5037
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5037
            [uid] => u595
            [unique_id] => 36075_5037_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053277
            [channelDTime] => 1742053293
            [channelDuration] => 16
            [cSTime] => 1742053289
            [cETime] => 1742053293
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09767376252
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053293
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1895
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.59999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29944.159999999196
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1895
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.59999999999974
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96218.09000001056
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053295
{"compaign_id":"36075","contact_id":"5029","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5029","uid":"u595","unique_id":"36075_5029_138-u595","ivrId":"3158","channelOTime":1742053275,"channelDTime":1742053293,"channelDuration":18,"cSTime":1742053292,"cETime":1742053293,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07319003818","server_ip":"118.185.137.196","insertTime":1742053293,"ivrData":{"#2":["*"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053292,"endTime":1742053293,"duration":1}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5029
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5029
            [uid] => u595
            [unique_id] => 36075_5029_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053275
            [channelDTime] => 1742053293
            [channelDuration] => 18
            [cSTime] => 1742053292
            [cETime] => 1742053293
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07319003818
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053293
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => *
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053292
                                    [endTime] => 1742053293
                                    [duration] => 1
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1896
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.67999999999975
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29944.079999999194
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1896
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.67999999999975
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96218.01000001056
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053295
{"compaign_id":"36075","contact_id":"4946","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4946","uid":"u595","unique_id":"36075_4946_138-u595","ivrId":"3158","channelOTime":1742053256,"channelDTime":1742053294,"channelDuration":38,"cSTime":1742053284,"cETime":1742053294,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09038521099","server_ip":"118.185.137.196","insertTime":1742053294,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053258,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4946
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4946
            [uid] => u595
            [unique_id] => 36075_4946_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053256
            [channelDTime] => 1742053294
            [channelDuration] => 38
            [cSTime] => 1742053284
            [cETime] => 1742053294
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09038521099
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053294
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053258
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1897
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.75999999999976
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29943.999999999192
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1897
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.75999999999976
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96217.93000001056
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053296
{"compaign_id":"36075","contact_id":"5045","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5045","uid":"u595","unique_id":"36075_5045_138-u595","ivrId":"3158","channelOTime":1742053279,"channelDTime":1742053296,"channelDuration":17,"cSTime":1742053287,"cETime":1742053296,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09590965016","server_ip":"118.185.137.196","insertTime":1742053296,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5045
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5045
            [uid] => u595
            [unique_id] => 36075_5045_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053279
            [channelDTime] => 1742053296
            [channelDuration] => 17
            [cSTime] => 1742053287
            [cETime] => 1742053296
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09590965016
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053296
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1898
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.83999999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29943.91999999919
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1898
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.83999999999978
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96217.85000001056
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053297
{"compaign_id":"36075","contact_id":"5035","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5035","uid":"u595","unique_id":"36075_5035_138-u595","ivrId":"3158","channelOTime":1742053276,"channelDTime":1742053296,"channelDuration":20,"cSTime":1742053291,"cETime":1742053296,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08292968907","server_ip":"118.185.137.196","insertTime":1742053296,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5035
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5035
            [uid] => u595
            [unique_id] => 36075_5035_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053276
            [channelDTime] => 1742053296
            [channelDuration] => 20
            [cSTime] => 1742053291
            [cETime] => 1742053296
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08292968907
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053296
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1899
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.9199999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29943.83999999919
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1899
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.9199999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96217.77000001055
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053298
{"compaign_id":"36075","contact_id":"5002","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5002","uid":"u595","unique_id":"36075_5002_138-u595","ivrId":"3158","channelOTime":1742053270,"channelDTime":1742053297,"channelDuration":27,"cSTime":1742053274,"cETime":1742053297,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07364920043","server_ip":"118.185.137.196","insertTime":1742053297,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053271,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053274,"endTime":1742053297,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5002
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5002
            [uid] => u595
            [unique_id] => 36075_5002_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053270
            [channelDTime] => 1742053297
            [channelDuration] => 27
            [cSTime] => 1742053274
            [cETime] => 1742053297
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07364920043
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053297
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053271
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053274
                                    [endTime] => 1742053297
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1900
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.9999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29943.759999999187
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1900
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 151.9999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96217.69000001055
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053299
{"compaign_id":"36075","contact_id":"4981","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4981","uid":"u595","unique_id":"36075_4981_138-u595","ivrId":"3158","channelOTime":1742053264,"channelDTime":1742053298,"channelDuration":34,"cSTime":1742053281,"cETime":1742053298,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08274049676","server_ip":"118.185.137.196","insertTime":1742053298,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053266,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4981
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4981
            [uid] => u595
            [unique_id] => 36075_4981_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053264
            [channelDTime] => 1742053298
            [channelDuration] => 34
            [cSTime] => 1742053281
            [cETime] => 1742053298
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08274049676
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053298
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053266
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1902
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.1599999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29943.599999999187
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1902
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.1599999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96217.53000001055
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053300
{"compaign_id":"36075","contact_id":"4991","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4991","uid":"u595","unique_id":"36075_4991_138-u595","ivrId":"3158","channelOTime":1742053266,"channelDTime":1742053299,"channelDuration":33,"cSTime":1742053286,"cETime":1742053299,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09426080560","server_ip":"118.185.137.196","insertTime":1742053299,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053268,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4991
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4991
            [uid] => u595
            [unique_id] => 36075_4991_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053266
            [channelDTime] => 1742053299
            [channelDuration] => 33
            [cSTime] => 1742053286
            [cETime] => 1742053299
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09426080560
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053299
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053268
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1904
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.3199999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29943.439999999187
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1904
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.3199999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96217.37000001055
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053300
{"compaign_id":"36075","contact_id":"5041","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5041","uid":"u595","unique_id":"36075_5041_138-u595","ivrId":"3158","channelOTime":1742053278,"channelDTime":1742053299,"channelDuration":21,"cSTime":1742053290,"cETime":1742053299,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09523679291","server_ip":"118.185.137.196","insertTime":1742053299,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5041
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5041
            [uid] => u595
            [unique_id] => 36075_5041_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053278
            [channelDTime] => 1742053299
            [channelDuration] => 21
            [cSTime] => 1742053290
            [cETime] => 1742053299
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09523679291
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053299
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1905
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.3999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29943.359999999186
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1905
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.3999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96217.29000001054
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053301
{"compaign_id":"36075","contact_id":"4993","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4993","uid":"u595","unique_id":"36075_4993_138-u595","ivrId":"3158","channelOTime":1742053266,"channelDTime":1742053299,"channelDuration":33,"cSTime":1742053283,"cETime":1742053299,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08787407146","server_ip":"118.185.137.196","insertTime":1742053299,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053271,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4993
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4993
            [uid] => u595
            [unique_id] => 36075_4993_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053266
            [channelDTime] => 1742053299
            [channelDuration] => 33
            [cSTime] => 1742053283
            [cETime] => 1742053299
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08787407146
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053299
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053271
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1906
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.47999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29943.279999999184
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1906
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.47999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96217.21000001054
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053301
{"compaign_id":"36075","contact_id":"4989","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4989","uid":"u595","unique_id":"36075_4989_138-u595","ivrId":"3158","channelOTime":1742053266,"channelDTime":1742053299,"channelDuration":33,"cSTime":1742053283,"cETime":1742053299,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08857804852","server_ip":"118.185.137.196","insertTime":1742053299,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053268,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4989
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4989
            [uid] => u595
            [unique_id] => 36075_4989_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053266
            [channelDTime] => 1742053299
            [channelDuration] => 33
            [cSTime] => 1742053283
            [cETime] => 1742053299
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08857804852
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053299
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053268
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1908
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.63999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29943.119999999184
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1908
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.63999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96217.05000001054
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053301
{"compaign_id":"36075","contact_id":"4904","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4904","uid":"u595","unique_id":"36075_4904_138-u595","ivrId":"3158","channelOTime":1742053247,"channelDTime":1742053300,"channelDuration":53,"cSTime":1742053276,"cETime":1742053300,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09603541123","server_ip":"118.185.137.196","insertTime":1742053300,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053248,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053276,"endTime":1742053300,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4904
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4904
            [uid] => u595
            [unique_id] => 36075_4904_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053247
            [channelDTime] => 1742053300
            [channelDuration] => 53
            [cSTime] => 1742053276
            [cETime] => 1742053300
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09603541123
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053300
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053248
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053276
                                    [endTime] => 1742053300
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1910
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.7999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29942.959999999184
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1910
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.7999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96216.89000001054
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053301
{"compaign_id":"36075","contact_id":"5036","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5036","uid":"u595","unique_id":"36075_5036_138-u595","ivrId":"3158","channelOTime":1742053277,"channelDTime":1742053300,"channelDuration":23,"cSTime":1742053285,"cETime":1742053300,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07486955276","server_ip":"118.185.137.196","insertTime":1742053300,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5036
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5036
            [uid] => u595
            [unique_id] => 36075_5036_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053277
            [channelDTime] => 1742053300
            [channelDuration] => 23
            [cSTime] => 1742053285
            [cETime] => 1742053300
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07486955276
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053300
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1912
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.9599999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29942.799999999184
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1912
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 152.9599999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96216.73000001053
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053302
{"compaign_id":"36075","contact_id":"5038","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5038","uid":"u595","unique_id":"36075_5038_138-u595","ivrId":"3158","channelOTime":1742053277,"channelDTime":1742053300,"channelDuration":23,"cSTime":1742053292,"cETime":1742053300,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09949312741","server_ip":"118.185.137.196","insertTime":1742053300,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5038
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5038
            [uid] => u595
            [unique_id] => 36075_5038_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053277
            [channelDTime] => 1742053300
            [channelDuration] => 23
            [cSTime] => 1742053292
            [cETime] => 1742053300
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09949312741
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053300
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1913
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.03999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29942.719999999183
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1913
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.03999999999982
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96216.65000001053
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053302
{"compaign_id":"36075","contact_id":"5027","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5027","uid":"u595","unique_id":"36075_5027_138-u595","ivrId":"3158","channelOTime":1742053275,"channelDTime":1742053302,"channelDuration":27,"cSTime":1742053289,"cETime":1742053302,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08638780926","server_ip":"118.185.137.196","insertTime":1742053302,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053276,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5027
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5027
            [uid] => u595
            [unique_id] => 36075_5027_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053275
            [channelDTime] => 1742053302
            [channelDuration] => 27
            [cSTime] => 1742053289
            [cETime] => 1742053302
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08638780926
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053302
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053276
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1914
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.11999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29942.63999999918
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1914
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.11999999999983
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96216.57000001053
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053304
{"compaign_id":"36075","contact_id":"4990","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4990","uid":"u595","unique_id":"36075_4990_138-u595","ivrId":"3158","channelOTime":1742053266,"channelDTime":1742053303,"channelDuration":37,"cSTime":1742053282,"cETime":1742053303,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09068529911","server_ip":"118.185.137.196","insertTime":1742053303,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053269,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4990
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4990
            [uid] => u595
            [unique_id] => 36075_4990_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053266
            [channelDTime] => 1742053303
            [channelDuration] => 37
            [cSTime] => 1742053282
            [cETime] => 1742053303
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09068529911
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053303
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053269
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1915
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.19999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29942.55999999918
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1915
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.19999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96216.49000001053
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053304
{"compaign_id":"36075","contact_id":"4987","total_duration":"26","answer_duration":26,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4987","uid":"u595","unique_id":"36075_4987_138-u595","ivrId":"3158","channelOTime":1742053265,"channelDTime":1742053303,"channelDuration":38,"cSTime":1742053277,"cETime":1742053303,"cDuration":26,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09128828068","server_ip":"118.185.137.196","insertTime":1742053303,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053266,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053277,"endTime":1742053297,"duration":20}],"#3":[{"startTime":1742053297,"endTime":1742053303,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4987
    [total_duration] => 26
    [answer_duration] => 26
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4987
            [uid] => u595
            [unique_id] => 36075_4987_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053265
            [channelDTime] => 1742053303
            [channelDuration] => 38
            [cSTime] => 1742053277
            [cETime] => 1742053303
            [cDuration] => 26
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09128828068
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053303
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053266
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053277
                                    [endTime] => 1742053297
                                    [duration] => 20
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053297
                                    [endTime] => 1742053303
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1917
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.35999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29942.39999999918
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1917
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.35999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96216.33000001052
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053304
{"compaign_id":"36075","contact_id":"5046","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5046","uid":"u595","unique_id":"36075_5046_138-u595","ivrId":"3158","channelOTime":1742053279,"channelDTime":1742053303,"channelDuration":24,"cSTime":1742053288,"cETime":1742053303,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09612423311","server_ip":"118.185.137.196","insertTime":1742053303,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053281,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5046
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5046
            [uid] => u595
            [unique_id] => 36075_5046_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053279
            [channelDTime] => 1742053303
            [channelDuration] => 24
            [cSTime] => 1742053288
            [cETime] => 1742053303
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09612423311
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053303
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053281
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1919
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.51999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29942.23999999918
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1919
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.51999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96216.17000001052
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053305
{"compaign_id":"36075","contact_id":"5044","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5044","uid":"u595","unique_id":"36075_5044_138-u595","ivrId":"3158","channelOTime":1742053278,"channelDTime":1742053306,"channelDuration":28,"cSTime":1742053299,"cETime":1742053306,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09578005482","server_ip":"118.185.137.196","insertTime":1742053306,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5044
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5044
            [uid] => u595
            [unique_id] => 36075_5044_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053278
            [channelDTime] => 1742053306
            [channelDuration] => 28
            [cSTime] => 1742053299
            [cETime] => 1742053306
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09578005482
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053306
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1920
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.59999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29942.159999999178
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1920
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.59999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96216.09000001052
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053307
{"compaign_id":"36075","contact_id":"4984","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_4984","uid":"u595","unique_id":"36075_4984_138-u595","ivrId":"3158","channelOTime":1742053265,"channelDTime":1742053308,"channelDuration":43,"cSTime":1742053284,"cETime":1742053308,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09632053526","server_ip":"118.185.137.196","insertTime":1742053308,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053267,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053284,"endTime":1742053308,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 4984
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_4984
            [uid] => u595
            [unique_id] => 36075_4984_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053265
            [channelDTime] => 1742053308
            [channelDuration] => 43
            [cSTime] => 1742053284
            [cETime] => 1742053308
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09632053526
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053308
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053267
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053284
                                    [endTime] => 1742053308
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1921
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.67999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29942.079999999176
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1921
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.67999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96216.01000001052
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053310
{"compaign_id":"36075","contact_id":"5032","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5032","uid":"u595","unique_id":"36075_5032_138-u595","ivrId":"3158","channelOTime":1742053276,"channelDTime":1742053309,"channelDuration":33,"cSTime":1742053289,"cETime":1742053309,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07694084257","server_ip":"118.185.137.196","insertTime":1742053309,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053277,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5032
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5032
            [uid] => u595
            [unique_id] => 36075_5032_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053276
            [channelDTime] => 1742053309
            [channelDuration] => 33
            [cSTime] => 1742053289
            [cETime] => 1742053309
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07694084257
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053309
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053277
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1923
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.83999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29941.919999999176
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1923
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.83999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96215.85000001051
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053311
{"compaign_id":"36075","contact_id":"5031","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5031","uid":"u595","unique_id":"36075_5031_138-u595","ivrId":"3158","channelOTime":1742053276,"channelDTime":1742053312,"channelDuration":36,"cSTime":1742053288,"cETime":1742053312,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09567883439","server_ip":"118.185.137.196","insertTime":1742053312,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053278,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053288,"endTime":1742053312,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5031
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5031
            [uid] => u595
            [unique_id] => 36075_5031_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053276
            [channelDTime] => 1742053312
            [channelDuration] => 36
            [cSTime] => 1742053288
            [cETime] => 1742053312
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09567883439
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053312
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053278
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053288
                                    [endTime] => 1742053312
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1925
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.99999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29941.759999999176
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1925
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 153.99999999999986
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96215.69000001051
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053313
{"compaign_id":"36075","contact_id":"5040","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5040","uid":"u595","unique_id":"36075_5040_138-u595","ivrId":"3158","channelOTime":1742053277,"channelDTime":1742053319,"channelDuration":42,"cSTime":1742053295,"cETime":1742053319,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06307703720","server_ip":"118.185.137.196","insertTime":1742053319,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053295,"endTime":1742053319,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5040
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5040
            [uid] => u595
            [unique_id] => 36075_5040_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053277
            [channelDTime] => 1742053319
            [channelDuration] => 42
            [cSTime] => 1742053295
            [cETime] => 1742053319
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06307703720
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053319
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053295
                                    [endTime] => 1742053319
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1927
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.15999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29941.599999999176
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1927
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.15999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96215.5300000105
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053321
{"compaign_id":"36075","contact_id":"5020","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5020","uid":"u595","unique_id":"36075_5020_138-u595","ivrId":"3158","channelOTime":1742053273,"channelDTime":1742053321,"channelDuration":48,"cSTime":1742053297,"cETime":1742053321,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09076892851","server_ip":"118.185.137.196","insertTime":1742053321,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053275,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053297,"endTime":1742053321,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5020
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5020
            [uid] => u595
            [unique_id] => 36075_5020_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053273
            [channelDTime] => 1742053321
            [channelDuration] => 48
            [cSTime] => 1742053297
            [cETime] => 1742053321
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09076892851
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053321
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053275
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053297
                                    [endTime] => 1742053321
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found 2025-03-15 21:12:02[LOG]Starting Cron
2025-03-15 21:12:02[LOG]Process is already running
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1929
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.31999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29941.439999999177
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1929
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.31999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96215.3700000105
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053322
{"compaign_id":"36075","contact_id":"5012","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5012","uid":"u595","unique_id":"36075_5012_138-u595","ivrId":"3158","channelOTime":1742053272,"channelDTime":1742053321,"channelDuration":49,"cSTime":1742053302,"cETime":1742053321,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09177190373","server_ip":"118.185.137.196","insertTime":1742053321,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053273,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5012
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5012
            [uid] => u595
            [unique_id] => 36075_5012_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053272
            [channelDTime] => 1742053321
            [channelDuration] => 49
            [cSTime] => 1742053302
            [cETime] => 1742053321
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09177190373
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053321
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053273
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1931
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.47999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29941.279999999177
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1931
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.47999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96215.2100000105
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053323
{"compaign_id":"36075","contact_id":"5028","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5028","uid":"u595","unique_id":"36075_5028_138-u595","ivrId":"3158","channelOTime":1742053275,"channelDTime":1742053325,"channelDuration":50,"cSTime":1742053302,"cETime":1742053325,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09679847483","server_ip":"118.185.137.196","insertTime":1742053325,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053284,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053302,"endTime":1742053325,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5028
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5028
            [uid] => u595
            [unique_id] => 36075_5028_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053275
            [channelDTime] => 1742053325
            [channelDuration] => 50
            [cSTime] => 1742053302
            [cETime] => 1742053325
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09679847483
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053325
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053284
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053302
                                    [endTime] => 1742053325
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1933
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.63999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29941.119999999177
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1933
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.63999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96215.0500000105
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053327
{"compaign_id":"36075","contact_id":"5052","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5052","uid":"u595","unique_id":"36075_5052_138-u595","ivrId":"3158","channelOTime":1742053319,"channelDTime":1742053331,"channelDuration":12,"cSTime":1742053329,"cETime":1742053331,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07340161762","server_ip":"118.185.137.196","insertTime":1742053331,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053324,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5052
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5052
            [uid] => u595
            [unique_id] => 36075_5052_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053319
            [channelDTime] => 1742053331
            [channelDuration] => 12
            [cSTime] => 1742053329
            [cETime] => 1742053331
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07340161762
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053331
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053324
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1935
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.79999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29940.959999999177
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1935
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.79999999999984
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96214.89000001049
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053333
{"compaign_id":"36075","contact_id":"5070","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5070","uid":"u595","unique_id":"36075_5070_138-u595","ivrId":"3158","channelOTime":1742053323,"channelDTime":1742053339,"channelDuration":16,"cSTime":1742053329,"cETime":1742053339,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09004297668","server_ip":"118.185.137.196","insertTime":1742053339,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053325,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5070
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5070
            [uid] => u595
            [unique_id] => 36075_5070_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053323
            [channelDTime] => 1742053339
            [channelDuration] => 16
            [cSTime] => 1742053329
            [cETime] => 1742053339
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09004297668
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053339
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053325
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1936
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.87999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29940.879999999175
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1936
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.87999999999985
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96214.81000001049
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053340
{"compaign_id":"36075","contact_id":"5074","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5074","uid":"u595","unique_id":"36075_5074_138-u595","ivrId":"3158","channelOTime":1742053324,"channelDTime":1742053339,"channelDuration":15,"cSTime":1742053337,"cETime":1742053339,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06207827133","server_ip":"118.185.137.196","insertTime":1742053339,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053327,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5074
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5074
            [uid] => u595
            [unique_id] => 36075_5074_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053324
            [channelDTime] => 1742053339
            [channelDuration] => 15
            [cSTime] => 1742053337
            [cETime] => 1742053339
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06207827133
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053339
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053327
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1937
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.95999999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29940.799999999173
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1937
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 154.95999999999987
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96214.73000001049
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053341
{"compaign_id":"36075","contact_id":"5086","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5086","uid":"u595","unique_id":"36075_5086_138-u595","ivrId":"3158","channelOTime":1742053326,"channelDTime":1742053340,"channelDuration":14,"cSTime":1742053337,"cETime":1742053340,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09406262402","server_ip":"118.185.137.196","insertTime":1742053340,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053328,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5086
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5086
            [uid] => u595
            [unique_id] => 36075_5086_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053326
            [channelDTime] => 1742053340
            [channelDuration] => 14
            [cSTime] => 1742053337
            [cETime] => 1742053340
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09406262402
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053340
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053328
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1938
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.03999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29940.71999999917
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1938
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.03999999999988
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96214.65000001049
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053341
{"compaign_id":"36075","contact_id":"5063","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5063","uid":"u595","unique_id":"36075_5063_138-u595","ivrId":"3158","channelOTime":1742053321,"channelDTime":1742053340,"channelDuration":19,"cSTime":1742053332,"cETime":1742053340,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09373212742","server_ip":"118.185.137.196","insertTime":1742053340,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053322,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5063
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5063
            [uid] => u595
            [unique_id] => 36075_5063_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053321
            [channelDTime] => 1742053340
            [channelDuration] => 19
            [cSTime] => 1742053332
            [cETime] => 1742053340
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09373212742
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053340
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053322
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1939
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.1199999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29940.63999999917
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1939
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.1199999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96214.57000001048
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053342
{"compaign_id":"36075","contact_id":"5088","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5088","uid":"u595","unique_id":"36075_5088_138-u595","ivrId":"3158","channelOTime":1742053326,"channelDTime":1742053342,"channelDuration":16,"cSTime":1742053334,"cETime":1742053342,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09354187506","server_ip":"118.185.137.196","insertTime":1742053342,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053328,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5088
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5088
            [uid] => u595
            [unique_id] => 36075_5088_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053326
            [channelDTime] => 1742053342
            [channelDuration] => 16
            [cSTime] => 1742053334
            [cETime] => 1742053342
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09354187506
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053342
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053328
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1940
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.1999999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29940.55999999917
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1940
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.1999999999999
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96214.49000001048
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053344
{"compaign_id":"36075","contact_id":"5098","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5098","uid":"u595","unique_id":"36075_5098_138-u595","ivrId":"3158","channelOTime":1742053328,"channelDTime":1742053345,"channelDuration":17,"cSTime":1742053335,"cETime":1742053345,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08905867207","server_ip":"118.185.137.196","insertTime":1742053345,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053329,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5098
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5098
            [uid] => u595
            [unique_id] => 36075_5098_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053328
            [channelDTime] => 1742053345
            [channelDuration] => 17
            [cSTime] => 1742053335
            [cETime] => 1742053345
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08905867207
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053345
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053329
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1941
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.27999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29940.479999999166
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1941
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.27999999999992
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96214.41000001048
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053346
{"compaign_id":"36075","contact_id":"5110","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5110","uid":"u595","unique_id":"36075_5110_138-u595","ivrId":"3158","channelOTime":1742053341,"channelDTime":1742053349,"channelDuration":8,"cSTime":1742053348,"cETime":1742053349,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09892552957","server_ip":"118.185.137.196","insertTime":1742053349,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053343,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5110
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5110
            [uid] => u595
            [unique_id] => 36075_5110_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053341
            [channelDTime] => 1742053349
            [channelDuration] => 8
            [cSTime] => 1742053348
            [cETime] => 1742053349
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09892552957
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053349
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053343
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1942
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.35999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29940.399999999165
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1942
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.35999999999993
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96214.33000001048
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053351
{"compaign_id":"36075","contact_id":"5064","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5064","uid":"u595","unique_id":"36075_5064_138-u595","ivrId":"3158","channelOTime":1742053322,"channelDTime":1742053350,"channelDuration":28,"cSTime":1742053333,"cETime":1742053350,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07380993442","server_ip":"118.185.137.196","insertTime":1742053350,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053328,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5064
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5064
            [uid] => u595
            [unique_id] => 36075_5064_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053322
            [channelDTime] => 1742053350
            [channelDuration] => 28
            [cSTime] => 1742053333
            [cETime] => 1742053350
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07380993442
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053350
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053328
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1943
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.43999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29940.319999999163
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1943
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.43999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96214.25000001048
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053352
{"compaign_id":"36075","contact_id":"5089","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5089","uid":"u595","unique_id":"36075_5089_138-u595","ivrId":"3158","channelOTime":1742053327,"channelDTime":1742053351,"channelDuration":24,"cSTime":1742053348,"cETime":1742053351,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09921247250","server_ip":"118.185.137.196","insertTime":1742053351,"ivrData":{"#2":["A"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053330,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053348,"endTime":1742053351,"duration":3}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5089
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5089
            [uid] => u595
            [unique_id] => 36075_5089_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053327
            [channelDTime] => 1742053351
            [channelDuration] => 24
            [cSTime] => 1742053348
            [cETime] => 1742053351
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09921247250
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053351
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => A
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053330
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053348
                                    [endTime] => 1742053351
                                    [duration] => 3
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1945
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.59999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29940.159999999163
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1945
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.59999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96214.09000001047
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053353
{"compaign_id":"36075","contact_id":"5055","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5055","uid":"u595","unique_id":"36075_5055_138-u595","ivrId":"3158","channelOTime":1742053320,"channelDTime":1742053352,"channelDuration":32,"cSTime":1742053329,"cETime":1742053352,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08240511137","server_ip":"118.185.137.196","insertTime":1742053352,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053322,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053329,"endTime":1742053352,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5055
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5055
            [uid] => u595
            [unique_id] => 36075_5055_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053320
            [channelDTime] => 1742053352
            [channelDuration] => 32
            [cSTime] => 1742053329
            [cETime] => 1742053352
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08240511137
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053352
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053322
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053329
                                    [endTime] => 1742053352
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1946
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.67999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29940.07999999916
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1946
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.67999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96214.01000001047
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053354
{"compaign_id":"36075","contact_id":"5073","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5073","uid":"u595","unique_id":"36075_5073_138-u595","ivrId":"3158","channelOTime":1742053323,"channelDTime":1742053353,"channelDuration":30,"cSTime":1742053330,"cETime":1742053353,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07743056718","server_ip":"118.185.137.196","insertTime":1742053353,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053325,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053330,"endTime":1742053353,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5073
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5073
            [uid] => u595
            [unique_id] => 36075_5073_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053323
            [channelDTime] => 1742053353
            [channelDuration] => 30
            [cSTime] => 1742053330
            [cETime] => 1742053353
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07743056718
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053353
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053325
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053330
                                    [endTime] => 1742053353
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1948
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.83999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29939.91999999916
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1948
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.83999999999995
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96213.85000001047
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053355
{"compaign_id":"36075","contact_id":"5112","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5112","uid":"u595","unique_id":"36075_5112_138-u595","ivrId":"3158","channelOTime":1742053342,"channelDTime":1742053355,"channelDuration":13,"cSTime":1742053348,"cETime":1742053355,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08469504669","server_ip":"118.185.137.196","insertTime":1742053355,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053345,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5112
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5112
            [uid] => u595
            [unique_id] => 36075_5112_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053342
            [channelDTime] => 1742053355
            [channelDuration] => 13
            [cSTime] => 1742053348
            [cETime] => 1742053355
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08469504669
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053355
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053345
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1950
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.99999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29939.75999999916
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1950
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 155.99999999999994
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96213.69000001047
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053357
{"compaign_id":"36075","contact_id":"5100","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5100","uid":"u595","unique_id":"36075_5100_138-u595","ivrId":"3158","channelOTime":1742053339,"channelDTime":1742053357,"channelDuration":18,"cSTime":1742053351,"cETime":1742053357,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07009070788","server_ip":"118.185.137.196","insertTime":1742053357,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053341,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5100
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5100
            [uid] => u595
            [unique_id] => 36075_5100_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053339
            [channelDTime] => 1742053357
            [channelDuration] => 18
            [cSTime] => 1742053351
            [cETime] => 1742053357
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07009070788
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053357
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053341
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1951
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.07999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29939.67999999916
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1951
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.07999999999996
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96213.61000001046
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053358
{"compaign_id":"36075","contact_id":"5119","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5119","uid":"u595","unique_id":"36075_5119_138-u595","ivrId":"3158","channelOTime":1742053343,"channelDTime":1742053358,"channelDuration":15,"cSTime":1742053348,"cETime":1742053358,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09706253823","server_ip":"118.185.137.196","insertTime":1742053358,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053345,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5119
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5119
            [uid] => u595
            [unique_id] => 36075_5119_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053343
            [channelDTime] => 1742053358
            [channelDuration] => 15
            [cSTime] => 1742053348
            [cETime] => 1742053358
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09706253823
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053358
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053345
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1952
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.15999999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29939.599999999158
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1952
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.15999999999997
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96213.53000001046
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053360
{"compaign_id":"36075","contact_id":"5147","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5147","uid":"u595","unique_id":"36075_5147_138-u595","ivrId":"3158","channelOTime":1742053349,"channelDTime":1742053360,"channelDuration":11,"cSTime":1742053357,"cETime":1742053360,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09508354982","server_ip":"118.185.137.196","insertTime":1742053360,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053350,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5147
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5147
            [uid] => u595
            [unique_id] => 36075_5147_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053349
            [channelDTime] => 1742053360
            [channelDuration] => 11
            [cSTime] => 1742053357
            [cETime] => 1742053360
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09508354982
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053360
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053350
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1953
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.23999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29939.519999999156
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1953
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.23999999999998
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96213.45000001046
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053361
{"compaign_id":"36075","contact_id":"5139","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5139","uid":"u595","unique_id":"36075_5139_138-u595","ivrId":"3158","channelOTime":1742053347,"channelDTime":1742053361,"channelDuration":14,"cSTime":1742053356,"cETime":1742053361,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07679709326","server_ip":"118.185.137.196","insertTime":1742053361,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053350,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5139
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5139
            [uid] => u595
            [unique_id] => 36075_5139_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053347
            [channelDTime] => 1742053361
            [channelDuration] => 14
            [cSTime] => 1742053356
            [cETime] => 1742053361
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07679709326
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053361
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053350
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1954
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.32
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29939.439999999155
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1954
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.32
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96213.37000001046
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053362
{"compaign_id":"36075","contact_id":"5129","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5129","uid":"u595","unique_id":"36075_5129_138-u595","ivrId":"3158","channelOTime":1742053345,"channelDTime":1742053361,"channelDuration":16,"cSTime":1742053352,"cETime":1742053361,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09353609218","server_ip":"118.185.137.196","insertTime":1742053361,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053347,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5129
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5129
            [uid] => u595
            [unique_id] => 36075_5129_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053345
            [channelDTime] => 1742053361
            [channelDuration] => 16
            [cSTime] => 1742053352
            [cETime] => 1742053361
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09353609218
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053361
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053347
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1955
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.4
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29939.359999999153
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1955
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.4
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96213.29000001046
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053363
{"compaign_id":"36075","contact_id":"5105","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5105","uid":"u595","unique_id":"36075_5105_138-u595","ivrId":"3158","channelOTime":1742053340,"channelDTime":1742053365,"channelDuration":25,"cSTime":1742053356,"cETime":1742053365,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07607658693","server_ip":"118.185.137.196","insertTime":1742053365,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053343,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5105
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5105
            [uid] => u595
            [unique_id] => 36075_5105_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053340
            [channelDTime] => 1742053365
            [channelDuration] => 25
            [cSTime] => 1742053356
            [cETime] => 1742053365
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07607658693
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053365
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053343
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1956
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.48000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29939.27999999915
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1956
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.48000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96213.21000001045
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053367
{"compaign_id":"36075","contact_id":"5058","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5058","uid":"u595","unique_id":"36075_5058_138-u595","ivrId":"3158","channelOTime":1742053320,"channelDTime":1742053366,"channelDuration":46,"cSTime":1742053342,"cETime":1742053366,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09546617019","server_ip":"118.185.137.196","insertTime":1742053366,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053322,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053342,"endTime":1742053366,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5058
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5058
            [uid] => u595
            [unique_id] => 36075_5058_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053320
            [channelDTime] => 1742053366
            [channelDuration] => 46
            [cSTime] => 1742053342
            [cETime] => 1742053366
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09546617019
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053366
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053322
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053342
                                    [endTime] => 1742053366
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1957
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.56000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29939.19999999915
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1957
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.56000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96213.13000001045
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053367
{"compaign_id":"36075","contact_id":"5141","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5141","uid":"u595","unique_id":"36075_5141_138-u595","ivrId":"3158","channelOTime":1742053347,"channelDTime":1742053368,"channelDuration":21,"cSTime":1742053358,"cETime":1742053368,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09155023899","server_ip":"118.185.137.196","insertTime":1742053368,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053349,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5141
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5141
            [uid] => u595
            [unique_id] => 36075_5141_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053347
            [channelDTime] => 1742053368
            [channelDuration] => 21
            [cSTime] => 1742053358
            [cETime] => 1742053368
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09155023899
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053368
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053349
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1959
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.72000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29939.03999999915
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1959
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.72000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96212.97000001045
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053369
{"compaign_id":"36075","contact_id":"5116","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5116","uid":"u595","unique_id":"36075_5116_138-u595","ivrId":"3158","channelOTime":1742053342,"channelDTime":1742053368,"channelDuration":26,"cSTime":1742053353,"cETime":1742053368,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07368888878","server_ip":"118.185.137.196","insertTime":1742053368,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053345,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5116
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5116
            [uid] => u595
            [unique_id] => 36075_5116_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053342
            [channelDTime] => 1742053368
            [channelDuration] => 26
            [cSTime] => 1742053353
            [cETime] => 1742053368
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07368888878
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053368
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053345
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1960
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.80000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29938.959999999148
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1960
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.80000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96212.89000001045
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053370
{"compaign_id":"36075","contact_id":"5135","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5135","uid":"u595","unique_id":"36075_5135_138-u595","ivrId":"3158","channelOTime":1742053346,"channelDTime":1742053370,"channelDuration":24,"cSTime":1742053359,"cETime":1742053370,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06239190424","server_ip":"118.185.137.196","insertTime":1742053370,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053348,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5135
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5135
            [uid] => u595
            [unique_id] => 36075_5135_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053346
            [channelDTime] => 1742053370
            [channelDuration] => 24
            [cSTime] => 1742053359
            [cETime] => 1742053370
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06239190424
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053370
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053348
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1961
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.88000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29938.879999999146
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1961
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.88000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96212.81000001045
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053372
{"compaign_id":"36075","contact_id":"5121","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5121","uid":"u595","unique_id":"36075_5121_138-u595","ivrId":"3158","channelOTime":1742053343,"channelDTime":1742053372,"channelDuration":29,"cSTime":1742053355,"cETime":1742053372,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09625143063","server_ip":"118.185.137.196","insertTime":1742053372,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053346,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5121
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5121
            [uid] => u595
            [unique_id] => 36075_5121_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053343
            [channelDTime] => 1742053372
            [channelDuration] => 29
            [cSTime] => 1742053355
            [cETime] => 1742053372
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09625143063
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053372
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053346
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1962
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.96000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29938.799999999144
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1962
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 156.96000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96212.73000001044
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053374
{"compaign_id":"36075","contact_id":"5131","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5131","uid":"u595","unique_id":"36075_5131_138-u595","ivrId":"3158","channelOTime":1742053345,"channelDTime":1742053375,"channelDuration":30,"cSTime":1742053353,"cETime":1742053375,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08300482144","server_ip":"118.185.137.196","insertTime":1742053375,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053347,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053353,"endTime":1742053376,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5131
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5131
            [uid] => u595
            [unique_id] => 36075_5131_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053345
            [channelDTime] => 1742053375
            [channelDuration] => 30
            [cSTime] => 1742053353
            [cETime] => 1742053375
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08300482144
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053375
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053347
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053353
                                    [endTime] => 1742053376
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1964
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.12000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29938.639999999144
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1964
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.12000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96212.57000001044
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053376
{"compaign_id":"36075","contact_id":"5126","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5126","uid":"u595","unique_id":"36075_5126_138-u595","ivrId":"3158","channelOTime":1742053344,"channelDTime":1742053377,"channelDuration":33,"cSTime":1742053354,"cETime":1742053377,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08559050914","server_ip":"118.185.137.196","insertTime":1742053377,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053347,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053354,"endTime":1742053377,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5126
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5126
            [uid] => u595
            [unique_id] => 36075_5126_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053344
            [channelDTime] => 1742053377
            [channelDuration] => 33
            [cSTime] => 1742053354
            [cETime] => 1742053377
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08559050914
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053377
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053347
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053354
                                    [endTime] => 1742053377
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1966
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.28000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29938.479999999145
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1966
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.28000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96212.41000001044
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053379
{"compaign_id":"36075","contact_id":"5156","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5156","uid":"u595","unique_id":"36075_5156_138-u595","ivrId":"3158","channelOTime":1742053363,"channelDTime":1742053379,"channelDuration":16,"cSTime":1742053371,"cETime":1742053379,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08789191870","server_ip":"118.185.137.196","insertTime":1742053379,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053367,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5156
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5156
            [uid] => u595
            [unique_id] => 36075_5156_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053363
            [channelDTime] => 1742053379
            [channelDuration] => 16
            [cSTime] => 1742053371
            [cETime] => 1742053379
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08789191870
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053379
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053367
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1968
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.44000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29938.319999999145
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1968
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.44000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96212.25000001043
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053380
{"compaign_id":"36075","contact_id":"5123","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5123","uid":"u595","unique_id":"36075_5123_138-u595","ivrId":"3158","channelOTime":1742053344,"channelDTime":1742053380,"channelDuration":36,"cSTime":1742053356,"cETime":1742053380,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08336016521","server_ip":"118.185.137.196","insertTime":1742053380,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053346,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053356,"endTime":1742053380,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5123
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5123
            [uid] => u595
            [unique_id] => 36075_5123_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053344
            [channelDTime] => 1742053380
            [channelDuration] => 36
            [cSTime] => 1742053356
            [cETime] => 1742053380
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08336016521
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053380
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053346
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053356
                                    [endTime] => 1742053380
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1969
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.52000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29938.239999999143
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1969
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.52000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96212.17000001043
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053381
2025-03-15 21:13:02[LOG]Starting Cron
2025-03-15 21:13:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"5146","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5146","uid":"u595","unique_id":"36075_5146_138-u595","ivrId":"3158","channelOTime":1742053348,"channelDTime":1742053381,"channelDuration":33,"cSTime":1742053365,"cETime":1742053381,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09790168652","server_ip":"118.185.137.196","insertTime":1742053381,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053351,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5146
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5146
            [uid] => u595
            [unique_id] => 36075_5146_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053348
            [channelDTime] => 1742053381
            [channelDuration] => 33
            [cSTime] => 1742053365
            [cETime] => 1742053381
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09790168652
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053381
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053351
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1971
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.68000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29938.079999999143
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1971
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.68000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96212.01000001043
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053383
{"compaign_id":"36075","contact_id":"5174","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5174","uid":"u595","unique_id":"36075_5174_138-u595","ivrId":"3158","channelOTime":1742053367,"channelDTime":1742053381,"channelDuration":14,"cSTime":1742053376,"cETime":1742053381,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06363552773","server_ip":"118.185.137.196","insertTime":1742053381,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053368,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5174
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5174
            [uid] => u595
            [unique_id] => 36075_5174_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053367
            [channelDTime] => 1742053381
            [channelDuration] => 14
            [cSTime] => 1742053376
            [cETime] => 1742053381
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06363552773
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053381
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053368
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1973
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.84000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29937.919999999143
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1973
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.84000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96211.85000001042
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053383
{"compaign_id":"36075","contact_id":"5122","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5122","uid":"u595","unique_id":"36075_5122_138-u595","ivrId":"3158","channelOTime":1742053344,"channelDTime":1742053382,"channelDuration":38,"cSTime":1742053363,"cETime":1742053382,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08090444535","server_ip":"118.185.137.196","insertTime":1742053382,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053347,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5122
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5122
            [uid] => u595
            [unique_id] => 36075_5122_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053344
            [channelDTime] => 1742053382
            [channelDuration] => 38
            [cSTime] => 1742053363
            [cETime] => 1742053382
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08090444535
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053382
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053347
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1974
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.92000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29937.83999999914
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1974
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 157.92000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96211.77000001042
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053384
{"compaign_id":"36075","contact_id":"5167","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5167","uid":"u595","unique_id":"36075_5167_138-u595","ivrId":"3158","channelOTime":1742053365,"channelDTime":1742053383,"channelDuration":18,"cSTime":1742053378,"cETime":1742053383,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08817007750","server_ip":"118.185.137.196","insertTime":1742053383,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053367,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5167
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5167
            [uid] => u595
            [unique_id] => 36075_5167_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053365
            [channelDTime] => 1742053383
            [channelDuration] => 18
            [cSTime] => 1742053378
            [cETime] => 1742053383
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08817007750
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053383
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053367
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1976
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.08000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29937.67999999914
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1976
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.08000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96211.61000001042
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053385
{"compaign_id":"36075","contact_id":"5176","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5176","uid":"u595","unique_id":"36075_5176_138-u595","ivrId":"3158","channelOTime":1742053367,"channelDTime":1742053385,"channelDuration":18,"cSTime":1742053377,"cETime":1742053385,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09334574010","server_ip":"118.185.137.196","insertTime":1742053385,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053371,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5176
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5176
            [uid] => u595
            [unique_id] => 36075_5176_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053367
            [channelDTime] => 1742053385
            [channelDuration] => 18
            [cSTime] => 1742053377
            [cETime] => 1742053385
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09334574010
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053385
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053371
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1977
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.16000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29937.59999999914
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1977
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.16000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96211.53000001042
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053386
{"compaign_id":"36075","contact_id":"5128","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5128","uid":"u595","unique_id":"36075_5128_138-u595","ivrId":"3158","channelOTime":1742053345,"channelDTime":1742053385,"channelDuration":40,"cSTime":1742053362,"cETime":1742053385,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09207158739","server_ip":"118.185.137.196","insertTime":1742053385,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053346,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053362,"endTime":1742053385,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5128
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5128
            [uid] => u595
            [unique_id] => 36075_5128_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053345
            [channelDTime] => 1742053385
            [channelDuration] => 40
            [cSTime] => 1742053362
            [cETime] => 1742053385
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09207158739
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053385
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053346
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053362
                                    [endTime] => 1742053385
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1978
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.2400000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29937.51999999914
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1978
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.2400000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96211.45000001042
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053387
{"compaign_id":"36075","contact_id":"5163","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5163","uid":"u595","unique_id":"36075_5163_138-u595","ivrId":"3158","channelOTime":1742053364,"channelDTime":1742053386,"channelDuration":22,"cSTime":1742053383,"cETime":1742053386,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08791781732","server_ip":"118.185.137.196","insertTime":1742053386,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053367,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5163
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5163
            [uid] => u595
            [unique_id] => 36075_5163_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053364
            [channelDTime] => 1742053386
            [channelDuration] => 22
            [cSTime] => 1742053383
            [cETime] => 1742053386
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08791781732
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053386
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053367
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1980
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.4000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29937.35999999914
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1980
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.4000000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96211.29000001041
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053387
{"compaign_id":"36075","contact_id":"5171","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5171","uid":"u595","unique_id":"36075_5171_138-u595","ivrId":"3158","channelOTime":1742053366,"channelDTime":1742053386,"channelDuration":20,"cSTime":1742053373,"cETime":1742053386,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06374326929","server_ip":"118.185.137.196","insertTime":1742053386,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053369,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5171
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5171
            [uid] => u595
            [unique_id] => 36075_5171_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053366
            [channelDTime] => 1742053386
            [channelDuration] => 20
            [cSTime] => 1742053373
            [cETime] => 1742053386
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06374326929
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053386
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053369
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1981
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.4800000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29937.279999999137
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1981
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.4800000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96211.21000001041
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053388
{"compaign_id":"36075","contact_id":"5193","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5193","uid":"u595","unique_id":"36075_5193_138-u595","ivrId":"3158","channelOTime":1742053370,"channelDTime":1742053386,"channelDuration":16,"cSTime":1742053382,"cETime":1742053386,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08302169548","server_ip":"118.185.137.196","insertTime":1742053386,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053372,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5193
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5193
            [uid] => u595
            [unique_id] => 36075_5193_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053370
            [channelDTime] => 1742053386
            [channelDuration] => 16
            [cSTime] => 1742053382
            [cETime] => 1742053386
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08302169548
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053386
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053372
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1982
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.56000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29937.199999999135
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1982
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.56000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96211.13000001041
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053388
{"compaign_id":"36075","contact_id":"5191","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5191","uid":"u595","unique_id":"36075_5191_138-u595","ivrId":"3158","channelOTime":1742053370,"channelDTime":1742053386,"channelDuration":16,"cSTime":1742053382,"cETime":1742053386,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07337566768","server_ip":"118.185.137.196","insertTime":1742053386,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053373,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5191
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5191
            [uid] => u595
            [unique_id] => 36075_5191_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053370
            [channelDTime] => 1742053386
            [channelDuration] => 16
            [cSTime] => 1742053382
            [cETime] => 1742053386
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07337566768
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053386
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053373
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1983
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.64000000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29937.119999999133
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1983
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.64000000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96211.05000001041
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053388
{"compaign_id":"36075","contact_id":"5158","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5158","uid":"u595","unique_id":"36075_5158_138-u595","ivrId":"3158","channelOTime":1742053363,"channelDTime":1742053391,"channelDuration":28,"cSTime":1742053380,"cETime":1742053391,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06294860855","server_ip":"118.185.137.196","insertTime":1742053391,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053366,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5158
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5158
            [uid] => u595
            [unique_id] => 36075_5158_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053363
            [channelDTime] => 1742053391
            [channelDuration] => 28
            [cSTime] => 1742053380
            [cETime] => 1742053391
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06294860855
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053391
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053366
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1984
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.72000000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29937.03999999913
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1984
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.72000000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96210.9700000104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053392
{"compaign_id":"36075","contact_id":"5178","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5178","uid":"u595","unique_id":"36075_5178_138-u595","ivrId":"3158","channelOTime":1742053367,"channelDTime":1742053393,"channelDuration":26,"cSTime":1742053389,"cETime":1742053393,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09346263603","server_ip":"118.185.137.196","insertTime":1742053393,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053369,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5178
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5178
            [uid] => u595
            [unique_id] => 36075_5178_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053367
            [channelDTime] => 1742053393
            [channelDuration] => 26
            [cSTime] => 1742053389
            [cETime] => 1742053393
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09346263603
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053393
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053369
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1985
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.80000000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29936.95999999913
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1985
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.80000000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96210.8900000104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053395
{"compaign_id":"36075","contact_id":"5173","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5173","uid":"u595","unique_id":"36075_5173_138-u595","ivrId":"3158","channelOTime":1742053366,"channelDTime":1742053393,"channelDuration":27,"cSTime":1742053385,"cETime":1742053393,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06390223853","server_ip":"118.185.137.196","insertTime":1742053393,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053371,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5173
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5173
            [uid] => u595
            [unique_id] => 36075_5173_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053366
            [channelDTime] => 1742053393
            [channelDuration] => 27
            [cSTime] => 1742053385
            [cETime] => 1742053393
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06390223853
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053393
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053371
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1986
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.88000000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29936.879999999128
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1986
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.88000000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96210.8100000104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053395
{"compaign_id":"36075","contact_id":"5189","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5189","uid":"u595","unique_id":"36075_5189_138-u595","ivrId":"3158","channelOTime":1742053370,"channelDTime":1742053394,"channelDuration":24,"cSTime":1742053380,"cETime":1742053394,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07499017344","server_ip":"118.185.137.196","insertTime":1742053394,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053372,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5189
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5189
            [uid] => u595
            [unique_id] => 36075_5189_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053370
            [channelDTime] => 1742053394
            [channelDuration] => 24
            [cSTime] => 1742053380
            [cETime] => 1742053394
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07499017344
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053394
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053372
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1987
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.96000000000018
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29936.799999999126
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1987
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 158.96000000000018
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96210.7300000104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053396
{"compaign_id":"36075","contact_id":"5179","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5179","uid":"u595","unique_id":"36075_5179_138-u595","ivrId":"3158","channelOTime":1742053368,"channelDTime":1742053395,"channelDuration":27,"cSTime":1742053376,"cETime":1742053395,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09082231923","server_ip":"118.185.137.196","insertTime":1742053395,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053369,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5179
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5179
            [uid] => u595
            [unique_id] => 36075_5179_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053368
            [channelDTime] => 1742053395
            [channelDuration] => 27
            [cSTime] => 1742053376
            [cETime] => 1742053395
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09082231923
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053395
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053369
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1988
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.0400000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29936.719999999124
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1988
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.0400000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96210.6500000104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053397
{"compaign_id":"36075","contact_id":"5184","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5184","uid":"u595","unique_id":"36075_5184_138-u595","ivrId":"3158","channelOTime":1742053369,"channelDTime":1742053397,"channelDuration":28,"cSTime":1742053385,"cETime":1742053397,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07002702507","server_ip":"118.185.137.196","insertTime":1742053397,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053372,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5184
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5184
            [uid] => u595
            [unique_id] => 36075_5184_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053369
            [channelDTime] => 1742053397
            [channelDuration] => 28
            [cSTime] => 1742053385
            [cETime] => 1742053397
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07002702507
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053397
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053372
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1990
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.2000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29936.559999999125
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1990
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.2000000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96210.4900000104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053399
{"compaign_id":"36075","contact_id":"5168","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5168","uid":"u595","unique_id":"36075_5168_138-u595","ivrId":"3158","channelOTime":1742053365,"channelDTime":1742053397,"channelDuration":32,"cSTime":1742053378,"cETime":1742053397,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09582431403","server_ip":"118.185.137.196","insertTime":1742053397,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053367,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5168
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5168
            [uid] => u595
            [unique_id] => 36075_5168_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053365
            [channelDTime] => 1742053397
            [channelDuration] => 32
            [cSTime] => 1742053378
            [cETime] => 1742053397
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09582431403
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053397
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053367
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1991
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.2800000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29936.479999999123
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1991
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.2800000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96210.4100000104
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053399
{"compaign_id":"36075","contact_id":"5182","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5182","uid":"u595","unique_id":"36075_5182_138-u595","ivrId":"3158","channelOTime":1742053368,"channelDTime":1742053400,"channelDuration":32,"cSTime":1742053397,"cETime":1742053400,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09062719378","server_ip":"118.185.137.196","insertTime":1742053400,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053370,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5182
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5182
            [uid] => u595
            [unique_id] => 36075_5182_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053368
            [channelDTime] => 1742053400
            [channelDuration] => 32
            [cSTime] => 1742053397
            [cETime] => 1742053400
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09062719378
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053400
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053370
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1993
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.4400000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29936.319999999123
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1993
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.4400000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96210.25000001039
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053401
{"compaign_id":"36075","contact_id":"5153","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5153","uid":"u595","unique_id":"36075_5153_138-u595","ivrId":"3158","channelOTime":1742053362,"channelDTime":1742053402,"channelDuration":40,"cSTime":1742053379,"cETime":1742053402,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07483997383","server_ip":"118.185.137.196","insertTime":1742053402,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053364,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053379,"endTime":1742053402,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5153
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5153
            [uid] => u595
            [unique_id] => 36075_5153_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053362
            [channelDTime] => 1742053402
            [channelDuration] => 40
            [cSTime] => 1742053379
            [cETime] => 1742053402
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07483997383
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053402
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053364
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053379
                                    [endTime] => 1742053402
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1994
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.5200000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29936.23999999912
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1994
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.5200000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96210.17000001039
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053404
{"compaign_id":"36075","contact_id":"5214","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5214","uid":"u595","unique_id":"36075_5214_138-u595","ivrId":"3158","channelOTime":1742053392,"channelDTime":1742053409,"channelDuration":17,"cSTime":1742053404,"cETime":1742053409,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08950670772","server_ip":"118.185.137.196","insertTime":1742053409,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053395,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5214
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5214
            [uid] => u595
            [unique_id] => 36075_5214_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053392
            [channelDTime] => 1742053409
            [channelDuration] => 17
            [cSTime] => 1742053404
            [cETime] => 1742053409
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08950670772
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053409
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053395
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1996
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.6800000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29936.07999999912
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1996
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.6800000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96210.01000001038
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053410
{"compaign_id":"36075","contact_id":"5185","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5185","uid":"u595","unique_id":"36075_5185_138-u595","ivrId":"3158","channelOTime":1742053369,"channelDTime":1742053411,"channelDuration":42,"cSTime":1742053388,"cETime":1742053411,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08496050075","server_ip":"118.185.137.196","insertTime":1742053411,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053374,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053388,"endTime":1742053411,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5185
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5185
            [uid] => u595
            [unique_id] => 36075_5185_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053369
            [channelDTime] => 1742053411
            [channelDuration] => 42
            [cSTime] => 1742053388
            [cETime] => 1742053411
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08496050075
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053411
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053374
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053388
                                    [endTime] => 1742053411
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1997
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.76000000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29935.99999999912
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1997
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.76000000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96209.93000001038
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053413
{"compaign_id":"36075","contact_id":"5230","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5230","uid":"u595","unique_id":"36075_5230_138-u595","ivrId":"3158","channelOTime":1742053395,"channelDTime":1742053412,"channelDuration":17,"cSTime":1742053410,"cETime":1742053412,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09703740435","server_ip":"118.185.137.196","insertTime":1742053412,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053400,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5230
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5230
            [uid] => u595
            [unique_id] => 36075_5230_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053395
            [channelDTime] => 1742053412
            [channelDuration] => 17
            [cSTime] => 1742053410
            [cETime] => 1742053412
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09703740435
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053412
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053400
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1999
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.92000000000021
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29935.83999999912
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 1999
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 159.92000000000021
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96209.77000001038
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053414
{"compaign_id":"36075","contact_id":"5159","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5159","uid":"u595","unique_id":"36075_5159_138-u595","ivrId":"3158","channelOTime":1742053364,"channelDTime":1742053413,"channelDuration":49,"cSTime":1742053392,"cETime":1742053413,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06398429006","server_ip":"118.185.137.196","insertTime":1742053413,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053366,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053392,"endTime":1742053415,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5159
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5159
            [uid] => u595
            [unique_id] => 36075_5159_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053364
            [channelDTime] => 1742053413
            [channelDuration] => 49
            [cSTime] => 1742053392
            [cETime] => 1742053413
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06398429006
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053413
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053366
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053392
                                    [endTime] => 1742053415
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2000
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.00000000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29935.759999999118
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2000
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.00000000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96209.69000001038
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053415
{"compaign_id":"36075","contact_id":"5186","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5186","uid":"u595","unique_id":"36075_5186_138-u595","ivrId":"3158","channelOTime":1742053369,"channelDTime":1742053414,"channelDuration":45,"cSTime":1742053391,"cETime":1742053414,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09876758220","server_ip":"118.185.137.196","insertTime":1742053414,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053371,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053391,"endTime":1742053414,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5186
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5186
            [uid] => u595
            [unique_id] => 36075_5186_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053369
            [channelDTime] => 1742053414
            [channelDuration] => 45
            [cSTime] => 1742053391
            [cETime] => 1742053414
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09876758220
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053414
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053371
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053391
                                    [endTime] => 1742053414
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2002
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.16000000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29935.599999999118
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2002
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.16000000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96209.53000001037
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053416
{"compaign_id":"36075","contact_id":"5223","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5223","uid":"u595","unique_id":"36075_5223_138-u595","ivrId":"3158","channelOTime":1742053394,"channelDTime":1742053416,"channelDuration":22,"cSTime":1742053412,"cETime":1742053416,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08219764270","server_ip":"118.185.137.196","insertTime":1742053416,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053398,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5223
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5223
            [uid] => u595
            [unique_id] => 36075_5223_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053394
            [channelDTime] => 1742053416
            [channelDuration] => 22
            [cSTime] => 1742053412
            [cETime] => 1742053416
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08219764270
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053416
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053398
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2004
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.32000000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29935.43999999912
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2004
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.32000000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96209.37000001037
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053417
{"compaign_id":"36075","contact_id":"5245","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5245","uid":"u595","unique_id":"36075_5245_138-u595","ivrId":"3158","channelOTime":1742053398,"channelDTime":1742053421,"channelDuration":23,"cSTime":1742053410,"cETime":1742053421,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07292837601","server_ip":"118.185.137.196","insertTime":1742053421,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053401,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5245
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5245
            [uid] => u595
            [unique_id] => 36075_5245_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053398
            [channelDTime] => 1742053421
            [channelDuration] => 23
            [cSTime] => 1742053410
            [cETime] => 1742053421
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07292837601
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053421
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053401
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2005
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.40000000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29935.359999999117
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2005
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.40000000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96209.29000001037
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053422
{"compaign_id":"36075","contact_id":"5219","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5219","uid":"u595","unique_id":"36075_5219_138-u595","ivrId":"3158","channelOTime":1742053393,"channelDTime":1742053423,"channelDuration":30,"cSTime":1742053399,"cETime":1742053423,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07988986137","server_ip":"118.185.137.196","insertTime":1742053423,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053395,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053399,"endTime":1742053423,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5219
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5219
            [uid] => u595
            [unique_id] => 36075_5219_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053393
            [channelDTime] => 1742053423
            [channelDuration] => 30
            [cSTime] => 1742053399
            [cETime] => 1742053423
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07988986137
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053423
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053395
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053399
                                    [endTime] => 1742053423
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2006
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.48000000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29935.279999999115
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2006
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.48000000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96209.21000001037
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053424
{"compaign_id":"36075","contact_id":"5215","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5215","uid":"u595","unique_id":"36075_5215_138-u595","ivrId":"3158","channelOTime":1742053392,"channelDTime":1742053424,"channelDuration":32,"cSTime":1742053399,"cETime":1742053424,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08957413410","server_ip":"118.185.137.196","insertTime":1742053424,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053394,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053399,"endTime":1742053418,"duration":19}],"#3":[{"startTime":1742053418,"endTime":1742053424,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5215
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5215
            [uid] => u595
            [unique_id] => 36075_5215_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053392
            [channelDTime] => 1742053424
            [channelDuration] => 32
            [cSTime] => 1742053399
            [cETime] => 1742053424
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08957413410
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053424
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053394
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053399
                                    [endTime] => 1742053418
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053418
                                    [endTime] => 1742053424
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2008
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.64000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29935.119999999115
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2008
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.64000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96209.05000001036
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053426
{"compaign_id":"36075","contact_id":"5222","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5222","uid":"u595","unique_id":"36075_5222_138-u595","ivrId":"3158","channelOTime":1742053394,"channelDTime":1742053425,"channelDuration":31,"cSTime":1742053401,"cETime":1742053425,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08798024572","server_ip":"118.185.137.196","insertTime":1742053425,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053396,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053401,"endTime":1742053420,"duration":19}],"#3":[{"startTime":1742053420,"endTime":1742053425,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5222
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5222
            [uid] => u595
            [unique_id] => 36075_5222_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053394
            [channelDTime] => 1742053425
            [channelDuration] => 31
            [cSTime] => 1742053401
            [cETime] => 1742053425
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08798024572
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053425
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053396
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053401
                                    [endTime] => 1742053420
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053420
                                    [endTime] => 1742053425
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2010
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.80000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29934.959999999115
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2010
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.80000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96208.89000001036
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053426
{"compaign_id":"36075","contact_id":"5201","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5201","uid":"u595","unique_id":"36075_5201_138-u595","ivrId":"3158","channelOTime":1742053390,"channelDTime":1742053425,"channelDuration":35,"cSTime":1742053402,"cETime":1742053425,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08974433001","server_ip":"118.185.137.196","insertTime":1742053425,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053392,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053402,"endTime":1742053425,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5201
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5201
            [uid] => u595
            [unique_id] => 36075_5201_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053390
            [channelDTime] => 1742053425
            [channelDuration] => 35
            [cSTime] => 1742053402
            [cETime] => 1742053425
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08974433001
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053425
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053392
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053402
                                    [endTime] => 1742053425
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2012
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.96000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29934.799999999115
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2012
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 160.96000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96208.73000001036
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053427
{"compaign_id":"36075","contact_id":"5217","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5217","uid":"u595","unique_id":"36075_5217_138-u595","ivrId":"3158","channelOTime":1742053393,"channelDTime":1742053426,"channelDuration":33,"cSTime":1742053411,"cETime":1742053426,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07428554302","server_ip":"118.185.137.196","insertTime":1742053426,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053395,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5217
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5217
            [uid] => u595
            [unique_id] => 36075_5217_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053393
            [channelDTime] => 1742053426
            [channelDuration] => 33
            [cSTime] => 1742053411
            [cETime] => 1742053426
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07428554302
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053426
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053395
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2014
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.12000000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29934.639999999115
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2014
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.12000000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96208.57000001035
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053428
{"compaign_id":"36075","contact_id":"5209","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5209","uid":"u595","unique_id":"36075_5209_138-u595","ivrId":"3158","channelOTime":1742053391,"channelDTime":1742053428,"channelDuration":37,"cSTime":1742053405,"cETime":1742053428,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07002235764","server_ip":"118.185.137.196","insertTime":1742053428,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053394,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053405,"endTime":1742053428,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5209
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5209
            [uid] => u595
            [unique_id] => 36075_5209_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053391
            [channelDTime] => 1742053428
            [channelDuration] => 37
            [cSTime] => 1742053405
            [cETime] => 1742053428
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07002235764
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053428
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053394
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053405
                                    [endTime] => 1742053428
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2015
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.20000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29934.559999999114
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2015
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.20000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96208.49000001035
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053430
{"compaign_id":"36075","contact_id":"5240","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5240","uid":"u595","unique_id":"36075_5240_138-u595","ivrId":"3158","channelOTime":1742053397,"channelDTime":1742053431,"channelDuration":34,"cSTime":1742053412,"cETime":1742053431,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06350017523","server_ip":"118.185.137.196","insertTime":1742053431,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053401,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5240
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5240
            [uid] => u595
            [unique_id] => 36075_5240_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053397
            [channelDTime] => 1742053431
            [channelDuration] => 34
            [cSTime] => 1742053412
            [cETime] => 1742053431
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06350017523
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053431
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053401
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2017
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.36000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29934.399999999114
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2017
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.36000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96208.33000001035
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053433
{"compaign_id":"36075","contact_id":"5248","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5248","uid":"u595","unique_id":"36075_5248_138-u595","ivrId":"3158","channelOTime":1742053399,"channelDTime":1742053431,"channelDuration":32,"cSTime":1742053421,"cETime":1742053431,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08140072953","server_ip":"118.185.137.196","insertTime":1742053431,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053402,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5248
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5248
            [uid] => u595
            [unique_id] => 36075_5248_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053399
            [channelDTime] => 1742053431
            [channelDuration] => 32
            [cSTime] => 1742053421
            [cETime] => 1742053431
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08140072953
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053431
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053402
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2019
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.52000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29934.239999999114
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2019
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.52000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96208.17000001034
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053433
{"compaign_id":"36075","contact_id":"5237","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5237","uid":"u595","unique_id":"36075_5237_138-u595","ivrId":"3158","channelOTime":1742053397,"channelDTime":1742053434,"channelDuration":37,"cSTime":1742053418,"cETime":1742053434,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09957904368","server_ip":"118.185.137.196","insertTime":1742053434,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053401,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5237
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5237
            [uid] => u595
            [unique_id] => 36075_5237_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053397
            [channelDTime] => 1742053434
            [channelDuration] => 37
            [cSTime] => 1742053418
            [cETime] => 1742053434
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09957904368
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053434
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053401
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2020
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.60000000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29934.159999999112
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2020
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.60000000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96208.09000001034
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053435
{"compaign_id":"36075","contact_id":"5212","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5212","uid":"u595","unique_id":"36075_5212_138-u595","ivrId":"3158","channelOTime":1742053392,"channelDTime":1742053434,"channelDuration":42,"cSTime":1742053419,"cETime":1742053434,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09906220104","server_ip":"118.185.137.196","insertTime":1742053434,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053395,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5212
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5212
            [uid] => u595
            [unique_id] => 36075_5212_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053392
            [channelDTime] => 1742053434
            [channelDuration] => 42
            [cSTime] => 1742053419
            [cETime] => 1742053434
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09906220104
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053434
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053395
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2022
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.76000000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.999999999112
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2022
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.76000000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96207.93000001034
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053435
2025-03-15 21:14:02[LOG]Starting Cron
2025-03-15 21:14:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"5244","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5244","uid":"u595","unique_id":"36075_5244_138-u595","ivrId":"3158","channelOTime":1742053398,"channelDTime":1742053442,"channelDuration":44,"cSTime":1742053418,"cETime":1742053442,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08329837932","server_ip":"118.185.137.196","insertTime":1742053442,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053400,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053418,"endTime":1742053442,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5244
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5244
            [uid] => u595
            [unique_id] => 36075_5244_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053398
            [channelDTime] => 1742053442
            [channelDuration] => 44
            [cSTime] => 1742053418
            [cETime] => 1742053442
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08329837932
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053442
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053400
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053418
                                    [endTime] => 1742053442
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2023
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.84000000000026
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.91999999911
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2023
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 161.84000000000026
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96207.85000001034
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053443
{"compaign_id":"36075","contact_id":"5256","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5256","uid":"u595","unique_id":"36075_5256_138-u595","ivrId":"3158","channelOTime":1742053451,"channelDTime":1742053461,"channelDuration":10,"cSTime":1742053457,"cETime":1742053461,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09021070426","server_ip":"118.185.137.196","insertTime":1742053461,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053453,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5256
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5256
            [uid] => u595
            [unique_id] => 36075_5256_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053451
            [channelDTime] => 1742053461
            [channelDuration] => 10
            [cSTime] => 1742053457
            [cETime] => 1742053461
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09021070426
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053461
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053453
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2025
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.00000000000026
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.75999999911
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2025
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.00000000000026
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96207.69000001033
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053463
{"compaign_id":"36075","contact_id":"5259","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5259","uid":"u595","unique_id":"36075_5259_138-u595","ivrId":"3158","channelOTime":1742053452,"channelDTime":1742053468,"channelDuration":16,"cSTime":1742053464,"cETime":1742053468,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07480094348","server_ip":"118.185.137.196","insertTime":1742053468,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053455,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5259
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5259
            [uid] => u595
            [unique_id] => 36075_5259_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053452
            [channelDTime] => 1742053468
            [channelDuration] => 16
            [cSTime] => 1742053464
            [cETime] => 1742053468
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07480094348
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053468
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053455
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2026
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.08000000000027
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.67999999911
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2026
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.08000000000027
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96207.61000001033
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053469
{"compaign_id":"36075","contact_id":"5269","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5269","uid":"u595","unique_id":"36075_5269_138-u595","ivrId":"3158","channelOTime":1742053454,"channelDTime":1742053472,"channelDuration":18,"cSTime":1742053464,"cETime":1742053472,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09515273887","server_ip":"118.185.137.196","insertTime":1742053472,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053455,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5269
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5269
            [uid] => u595
            [unique_id] => 36075_5269_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053454
            [channelDTime] => 1742053472
            [channelDuration] => 18
            [cSTime] => 1742053464
            [cETime] => 1742053472
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09515273887
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053472
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053455
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2027
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.16000000000028
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.599999999107
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2027
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.16000000000028
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96207.53000001033
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053474
{"compaign_id":"36075","contact_id":"5296","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5296","uid":"u595","unique_id":"36075_5296_138-u595","ivrId":"3158","channelOTime":1742053459,"channelDTime":1742053473,"channelDuration":14,"cSTime":1742053470,"cETime":1742053473,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06363737098","server_ip":"118.185.137.196","insertTime":1742053473,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053463,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5296
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5296
            [uid] => u595
            [unique_id] => 36075_5296_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053459
            [channelDTime] => 1742053473
            [channelDuration] => 14
            [cSTime] => 1742053470
            [cETime] => 1742053473
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06363737098
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053473
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053463
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2028
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.2400000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.519999999105
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2028
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.2400000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96207.45000001033
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053474
{"compaign_id":"36075","contact_id":"5268","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5268","uid":"u595","unique_id":"36075_5268_138-u595","ivrId":"3158","channelOTime":1742053454,"channelDTime":1742053473,"channelDuration":19,"cSTime":1742053464,"cETime":1742053473,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09573184371","server_ip":"118.185.137.196","insertTime":1742053473,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053456,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5268
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5268
            [uid] => u595
            [unique_id] => 36075_5268_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053454
            [channelDTime] => 1742053473
            [channelDuration] => 19
            [cSTime] => 1742053464
            [cETime] => 1742053473
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09573184371
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053473
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053456
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2029
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.3200000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.439999999104
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2029
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.3200000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96207.37000001033
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053475
{"compaign_id":"36075","contact_id":"5272","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5272","uid":"u595","unique_id":"36075_5272_138-u595","ivrId":"3158","channelOTime":1742053455,"channelDTime":1742053473,"channelDuration":18,"cSTime":1742053469,"cETime":1742053473,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09870519360","server_ip":"118.185.137.196","insertTime":1742053473,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053462,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5272
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5272
            [uid] => u595
            [unique_id] => 36075_5272_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053455
            [channelDTime] => 1742053473
            [channelDuration] => 18
            [cSTime] => 1742053469
            [cETime] => 1742053473
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09870519360
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053473
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053462
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2030
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.40000000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.359999999102
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2030
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.40000000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96207.29000001033
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053475
{"compaign_id":"36075","contact_id":"5277","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5277","uid":"u595","unique_id":"36075_5277_138-u595","ivrId":"3158","channelOTime":1742053456,"channelDTime":1742053475,"channelDuration":19,"cSTime":1742053469,"cETime":1742053475,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07204546045","server_ip":"118.185.137.196","insertTime":1742053475,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5277
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5277
            [uid] => u595
            [unique_id] => 36075_5277_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053456
            [channelDTime] => 1742053475
            [channelDuration] => 19
            [cSTime] => 1742053469
            [cETime] => 1742053475
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07204546045
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053475
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2031
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.48000000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.2799999991
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2031
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.48000000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96207.21000001032
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053476
{"compaign_id":"36075","contact_id":"5293","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5293","uid":"u595","unique_id":"36075_5293_138-u595","ivrId":"3158","channelOTime":1742053459,"channelDTime":1742053475,"channelDuration":16,"cSTime":1742053470,"cETime":1742053475,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09032051606","server_ip":"118.185.137.196","insertTime":1742053475,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053463,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5293
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5293
            [uid] => u595
            [unique_id] => 36075_5293_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053459
            [channelDTime] => 1742053475
            [channelDuration] => 16
            [cSTime] => 1742053470
            [cETime] => 1742053475
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09032051606
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053475
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053463
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2032
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.56000000000034
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.1999999991
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2032
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.56000000000034
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96207.13000001032
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053477
{"compaign_id":"36075","contact_id":"5262","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5262","uid":"u595","unique_id":"36075_5262_138-u595","ivrId":"3158","channelOTime":1742053453,"channelDTime":1742053478,"channelDuration":25,"cSTime":1742053471,"cETime":1742053478,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06281867686","server_ip":"118.185.137.196","insertTime":1742053478,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053456,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5262
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5262
            [uid] => u595
            [unique_id] => 36075_5262_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053453
            [channelDTime] => 1742053478
            [channelDuration] => 25
            [cSTime] => 1742053471
            [cETime] => 1742053478
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06281867686
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053478
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053456
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2033
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.64000000000036
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.119999999097
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2033
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.64000000000036
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96207.05000001032
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053480
{"compaign_id":"36075","contact_id":"5286","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5286","uid":"u595","unique_id":"36075_5286_138-u595","ivrId":"3158","channelOTime":1742053457,"channelDTime":1742053480,"channelDuration":23,"cSTime":1742053470,"cETime":1742053480,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07303819172","server_ip":"118.185.137.196","insertTime":1742053480,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053459,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5286
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5286
            [uid] => u595
            [unique_id] => 36075_5286_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053457
            [channelDTime] => 1742053480
            [channelDuration] => 23
            [cSTime] => 1742053470
            [cETime] => 1742053480
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07303819172
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053480
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053459
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2034
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.72000000000037
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29933.039999999095
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2034
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.72000000000037
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96206.97000001032
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053482
{"compaign_id":"36075","contact_id":"5287","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5287","uid":"u595","unique_id":"36075_5287_138-u595","ivrId":"3158","channelOTime":1742053458,"channelDTime":1742053484,"channelDuration":26,"cSTime":1742053476,"cETime":1742053484,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09981848518","server_ip":"118.185.137.196","insertTime":1742053484,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053476,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5287
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5287
            [uid] => u595
            [unique_id] => 36075_5287_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053458
            [channelDTime] => 1742053484
            [channelDuration] => 26
            [cSTime] => 1742053476
            [cETime] => 1742053484
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09981848518
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053484
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053476
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2035
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.80000000000038
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29932.959999999093
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2035
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.80000000000038
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96206.89000001032
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053485
{"compaign_id":"36075","contact_id":"5288","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5288","uid":"u595","unique_id":"36075_5288_138-u595","ivrId":"3158","channelOTime":1742053458,"channelDTime":1742053484,"channelDuration":26,"cSTime":1742053478,"cETime":1742053484,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09991721809","server_ip":"118.185.137.196","insertTime":1742053484,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5288
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5288
            [uid] => u595
            [unique_id] => 36075_5288_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053458
            [channelDTime] => 1742053484
            [channelDuration] => 26
            [cSTime] => 1742053478
            [cETime] => 1742053484
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09991721809
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053484
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2036
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.8800000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29932.87999999909
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2036
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.8800000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96206.81000001031
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053486
{"compaign_id":"36075","contact_id":"5273","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5273","uid":"u595","unique_id":"36075_5273_138-u595","ivrId":"3158","channelOTime":1742053455,"channelDTime":1742053487,"channelDuration":32,"cSTime":1742053463,"cETime":1742053487,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07870395910","server_ip":"118.185.137.196","insertTime":1742053487,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053457,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053463,"endTime":1742053487,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5273
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5273
            [uid] => u595
            [unique_id] => 36075_5273_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053455
            [channelDTime] => 1742053487
            [channelDuration] => 32
            [cSTime] => 1742053463
            [cETime] => 1742053487
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07870395910
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053487
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053457
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053463
                                    [endTime] => 1742053487
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2037
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.9600000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29932.79999999909
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2037
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 162.9600000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96206.73000001031
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053489
{"compaign_id":"36075","contact_id":"5284","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5284","uid":"u595","unique_id":"36075_5284_138-u595","ivrId":"3158","channelOTime":1742053457,"channelDTime":1742053488,"channelDuration":31,"cSTime":1742053466,"cETime":1742053488,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09109689046","server_ip":"118.185.137.196","insertTime":1742053488,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053466,"endTime":1742053489,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5284
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5284
            [uid] => u595
            [unique_id] => 36075_5284_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053457
            [channelDTime] => 1742053488
            [channelDuration] => 31
            [cSTime] => 1742053466
            [cETime] => 1742053488
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09109689046
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053488
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053466
                                    [endTime] => 1742053489
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2039
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.1200000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29932.63999999909
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2039
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.1200000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96206.57000001031
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053489
{"compaign_id":"36075","contact_id":"5251","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5251","uid":"u595","unique_id":"36075_5251_138-u595","ivrId":"3158","channelOTime":1742053450,"channelDTime":1742053488,"channelDuration":38,"cSTime":1742053465,"cETime":1742053488,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09182012965","server_ip":"118.185.137.196","insertTime":1742053488,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053453,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053465,"endTime":1742053488,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5251
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5251
            [uid] => u595
            [unique_id] => 36075_5251_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053450
            [channelDTime] => 1742053488
            [channelDuration] => 38
            [cSTime] => 1742053465
            [cETime] => 1742053488
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09182012965
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053488
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053453
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053465
                                    [endTime] => 1742053488
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2041
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.2800000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29932.47999999909
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2041
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.2800000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96206.4100000103
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053490
{"compaign_id":"36075","contact_id":"5270","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5270","uid":"u595","unique_id":"36075_5270_138-u595","ivrId":"3158","channelOTime":1742053454,"channelDTime":1742053488,"channelDuration":34,"cSTime":1742053465,"cETime":1742053488,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08525953174","server_ip":"118.185.137.196","insertTime":1742053488,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053458,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053465,"endTime":1742053483,"duration":18}],"#3":[{"startTime":1742053483,"endTime":1742053488,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5270
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5270
            [uid] => u595
            [unique_id] => 36075_5270_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053454
            [channelDTime] => 1742053488
            [channelDuration] => 34
            [cSTime] => 1742053465
            [cETime] => 1742053488
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08525953174
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053488
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053458
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053465
                                    [endTime] => 1742053483
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053483
                                    [endTime] => 1742053488
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2043
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.4400000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29932.31999999909
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2043
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.4400000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96206.2500000103
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053490
{"compaign_id":"36075","contact_id":"5297","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5297","uid":"u595","unique_id":"36075_5297_138-u595","ivrId":"3158","channelOTime":1742053460,"channelDTime":1742053490,"channelDuration":30,"cSTime":1742053487,"cETime":1742053490,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08601539050","server_ip":"118.185.137.196","insertTime":1742053490,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053471,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5297
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5297
            [uid] => u595
            [unique_id] => 36075_5297_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053460
            [channelDTime] => 1742053490
            [channelDuration] => 30
            [cSTime] => 1742053487
            [cETime] => 1742053490
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08601539050
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053490
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053471
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2045
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.6000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29932.15999999909
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2045
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.6000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96206.0900000103
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053492
{"compaign_id":"36075","contact_id":"5274","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5274","uid":"u595","unique_id":"36075_5274_138-u595","ivrId":"3158","channelOTime":1742053455,"channelDTime":1742053491,"channelDuration":36,"cSTime":1742053468,"cETime":1742053491,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07976689789","server_ip":"118.185.137.196","insertTime":1742053491,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053457,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053468,"endTime":1742053491,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5274
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5274
            [uid] => u595
            [unique_id] => 36075_5274_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053455
            [channelDTime] => 1742053491
            [channelDuration] => 36
            [cSTime] => 1742053468
            [cETime] => 1742053491
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07976689789
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053491
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053457
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053468
                                    [endTime] => 1742053491
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2046
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.6800000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29932.07999999909
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2046
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.6800000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96206.0100000103
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053493
{"compaign_id":"36075","contact_id":"5278","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5278","uid":"u595","unique_id":"36075_5278_138-u595","ivrId":"3158","channelOTime":1742053456,"channelDTime":1742053492,"channelDuration":36,"cSTime":1742053468,"cETime":1742053492,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09705775917","server_ip":"118.185.137.196","insertTime":1742053492,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053458,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053468,"endTime":1742053492,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5278
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5278
            [uid] => u595
            [unique_id] => 36075_5278_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053456
            [channelDTime] => 1742053492
            [channelDuration] => 36
            [cSTime] => 1742053468
            [cETime] => 1742053492
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09705775917
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053492
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053458
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053468
                                    [endTime] => 1742053492
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2048
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.8400000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29931.91999999909
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2048
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 163.8400000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96205.8500000103
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053494
{"compaign_id":"36075","contact_id":"5292","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5292","uid":"u595","unique_id":"36075_5292_138-u595","ivrId":"3158","channelOTime":1742053459,"channelDTime":1742053494,"channelDuration":35,"cSTime":1742053471,"cETime":1742053494,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09110582414","server_ip":"118.185.137.196","insertTime":1742053494,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742053471,"endTime":1742053494,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5292
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5292
            [uid] => u595
            [unique_id] => 36075_5292_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053459
            [channelDTime] => 1742053494
            [channelDuration] => 35
            [cSTime] => 1742053471
            [cETime] => 1742053494
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09110582414
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053494
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742053471
                                    [endTime] => 1742053494
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2050
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.0000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29931.75999999909
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2050
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.0000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96205.69000001029
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053496
{"compaign_id":"36075","contact_id":"5294","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5294","uid":"u595","unique_id":"36075_5294_138-u595","ivrId":"3158","channelOTime":1742053459,"channelDTime":1742053494,"channelDuration":35,"cSTime":1742053475,"cETime":1742053494,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08008069836","server_ip":"118.185.137.196","insertTime":1742053494,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053461,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5294
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5294
            [uid] => u595
            [unique_id] => 36075_5294_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053459
            [channelDTime] => 1742053494
            [channelDuration] => 35
            [cSTime] => 1742053475
            [cETime] => 1742053494
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08008069836
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053494
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053461
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2052
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.1600000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29931.59999999909
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2052
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.1600000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96205.53000001029
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742053496
{"compaign_id":"36075","contact_id":"5290","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5290","uid":"u595","unique_id":"36075_5290_138-u595","ivrId":"3158","channelOTime":1742053458,"channelDTime":1742053500,"channelDuration":42,"cSTime":1742053489,"cETime":1742053500,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08698082447","server_ip":"118.185.137.196","insertTime":1742053500,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742053460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5290
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5290
            [uid] => u595
            [unique_id] => 36075_5290_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742053458
            [channelDTime] => 1742053500
            [channelDuration] => 42
            [cSTime] => 1742053489
            [cETime] => 1742053500
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08698082447
            [server_ip] => 118.185.137.196
            [insertTime] => 1742053500
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742053460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found 2025-03-15 21:15:02[LOG]Starting Cron
2025-03-15 21:15:02[LOG]Process is already running
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2054
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.3200000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29931.43999999909
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2054
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.3200000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 96205.37000001028
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742053502
2025-03-15 21:16:03[LOG]Starting Cron

Kill Existing Process : 772031
1742053563
2025-03-15 21:17:02[LOG]Starting Cron

Kill Existing Process : 782694
1742053622
2025-03-15 21:18:01[LOG]Starting Cron

Kill Existing Process : 783211
1742053681
2025-03-15 21:19:02[LOG]Starting Cron

Kill Existing Process : 783716
1742053742
2025-03-15 21:20:02[LOG]Starting Cron

Kill Existing Process : 784236
1742053802
2025-03-15 21:21:02[LOG]Starting Cron

Kill Existing Process : 784692
1742053862
2025-03-15 21:22:01[LOG]Starting Cron

Kill Existing Process : 785200
1742053921
2025-03-15 21:23:02[LOG]Starting Cron

Kill Existing Process : 785714
1742053982
2025-03-15 21:24:02[LOG]Starting Cron

Kill Existing Process : 786225
1742054042
{"compaign_id":"36075","contact_id":"5315","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5315","uid":"u595","unique_id":"36075_5315_138-u595","ivrId":"3158","channelOTime":1742054070,"channelDTime":1742054083,"channelDuration":13,"cSTime":1742054075,"cETime":1742054083,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08175035960","server_ip":"118.185.137.196","insertTime":1742054083,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054072,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5315
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5315
            [uid] => u595
            [unique_id] => 36075_5315_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054070
            [channelDTime] => 1742054083
            [channelDuration] => 13
            [cSTime] => 1742054075
            [cETime] => 1742054083
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08175035960
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054083
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054072
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2055
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.4000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29931.359999999087
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2055
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.4000000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95614.48000001028
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054085
{"compaign_id":"36075","contact_id":"5314","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5314","uid":"u595","unique_id":"36075_5314_138-u595","ivrId":"3158","channelOTime":1742054070,"channelDTime":1742054087,"channelDuration":17,"cSTime":1742054084,"cETime":1742054087,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09701748061","server_ip":"118.185.137.196","insertTime":1742054087,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054072,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5314
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5314
            [uid] => u595
            [unique_id] => 36075_5314_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054070
            [channelDTime] => 1742054087
            [channelDuration] => 17
            [cSTime] => 1742054084
            [cETime] => 1742054087
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09701748061
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054087
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054072
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2056
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.48000000000042
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29931.279999999086
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2056
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.48000000000042
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95614.40000001028
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054089
{"compaign_id":"36075","contact_id":"5356","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5356","uid":"u595","unique_id":"36075_5356_138-u595","ivrId":"3158","channelOTime":1742054080,"channelDTime":1742054090,"channelDuration":10,"cSTime":1742054088,"cETime":1742054090,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09569535817","server_ip":"118.185.137.196","insertTime":1742054090,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054082,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5356
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5356
            [uid] => u595
            [unique_id] => 36075_5356_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054080
            [channelDTime] => 1742054090
            [channelDuration] => 10
            [cSTime] => 1742054088
            [cETime] => 1742054090
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09569535817
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054090
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054082
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2057
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.56000000000043
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29931.199999999084
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2057
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.56000000000043
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95614.32000001028
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054092
{"compaign_id":"36075","contact_id":"5330","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5330","uid":"u595","unique_id":"36075_5330_138-u595","ivrId":"3158","channelOTime":1742054073,"channelDTime":1742054091,"channelDuration":18,"cSTime":1742054086,"cETime":1742054091,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08448173450","server_ip":"118.185.137.196","insertTime":1742054091,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054075,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5330
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5330
            [uid] => u595
            [unique_id] => 36075_5330_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054073
            [channelDTime] => 1742054091
            [channelDuration] => 18
            [cSTime] => 1742054086
            [cETime] => 1742054091
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08448173450
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054091
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054075
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2058
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.64000000000044
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29931.119999999082
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2058
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.64000000000044
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95614.24000001028
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054092
{"compaign_id":"36075","contact_id":"5338","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5338","uid":"u595","unique_id":"36075_5338_138-u595","ivrId":"3158","channelOTime":1742054075,"channelDTime":1742054091,"channelDuration":16,"cSTime":1742054084,"cETime":1742054091,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07651848335","server_ip":"118.185.137.196","insertTime":1742054091,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054076,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5338
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5338
            [uid] => u595
            [unique_id] => 36075_5338_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054075
            [channelDTime] => 1742054091
            [channelDuration] => 16
            [cSTime] => 1742054084
            [cETime] => 1742054091
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07651848335
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054091
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054076
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2059
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.72000000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29931.03999999908
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2059
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.72000000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95614.16000001028
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054093
{"compaign_id":"36075","contact_id":"5349","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5349","uid":"u595","unique_id":"36075_5349_138-u595","ivrId":"3158","channelOTime":1742054077,"channelDTime":1742054091,"channelDuration":14,"cSTime":1742054089,"cETime":1742054091,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09954837247","server_ip":"118.185.137.196","insertTime":1742054091,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054081,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5349
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5349
            [uid] => u595
            [unique_id] => 36075_5349_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054077
            [channelDTime] => 1742054091
            [channelDuration] => 14
            [cSTime] => 1742054089
            [cETime] => 1742054091
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09954837247
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054091
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054081
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2060
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.80000000000047
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29930.95999999908
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2060
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.80000000000047
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95614.08000001028
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054093
{"compaign_id":"36075","contact_id":"5368","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5368","uid":"u595","unique_id":"36075_5368_138-u595","ivrId":"3158","channelOTime":1742054082,"channelDTime":1742054094,"channelDuration":12,"cSTime":1742054091,"cETime":1742054094,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08586033408","server_ip":"118.185.137.196","insertTime":1742054094,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054084,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5368
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5368
            [uid] => u595
            [unique_id] => 36075_5368_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054082
            [channelDTime] => 1742054094
            [channelDuration] => 12
            [cSTime] => 1742054091
            [cETime] => 1742054094
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08586033408
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054094
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054084
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2061
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.88000000000048
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29930.879999999077
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2061
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.88000000000048
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95614.00000001027
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054095
{"compaign_id":"36075","contact_id":"5333","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5333","uid":"u595","unique_id":"36075_5333_138-u595","ivrId":"3158","channelOTime":1742054074,"channelDTime":1742054095,"channelDuration":21,"cSTime":1742054088,"cETime":1742054095,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08954532711","server_ip":"118.185.137.196","insertTime":1742054095,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054080,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5333
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5333
            [uid] => u595
            [unique_id] => 36075_5333_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054074
            [channelDTime] => 1742054095
            [channelDuration] => 21
            [cSTime] => 1742054088
            [cETime] => 1742054095
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08954532711
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054095
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054080
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2062
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.9600000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29930.799999999075
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2062
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 164.9600000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95613.92000001027
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054096
{"compaign_id":"36075","contact_id":"5344","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5344","uid":"u595","unique_id":"36075_5344_138-u595","ivrId":"3158","channelOTime":1742054076,"channelDTime":1742054095,"channelDuration":19,"cSTime":1742054083,"cETime":1742054095,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08008585348","server_ip":"118.185.137.196","insertTime":1742054095,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054077,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5344
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5344
            [uid] => u595
            [unique_id] => 36075_5344_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054076
            [channelDTime] => 1742054095
            [channelDuration] => 19
            [cSTime] => 1742054083
            [cETime] => 1742054095
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08008585348
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054095
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054077
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2063
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.0400000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29930.719999999073
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2063
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.0400000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95613.84000001027
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054097
{"compaign_id":"36075","contact_id":"5323","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5323","uid":"u595","unique_id":"36075_5323_138-u595","ivrId":"3158","channelOTime":1742054072,"channelDTime":1742054096,"channelDuration":24,"cSTime":1742054082,"cETime":1742054096,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07002814881","server_ip":"118.185.137.196","insertTime":1742054096,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054073,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5323
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5323
            [uid] => u595
            [unique_id] => 36075_5323_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054072
            [channelDTime] => 1742054096
            [channelDuration] => 24
            [cSTime] => 1742054082
            [cETime] => 1742054096
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07002814881
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054096
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054073
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2064
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.12000000000052
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29930.63999999907
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2064
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.12000000000052
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95613.76000001027
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054098
{"compaign_id":"36075","contact_id":"5303","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5303","uid":"u595","unique_id":"36075_5303_138-u595","ivrId":"3158","channelOTime":1742054068,"channelDTime":1742054096,"channelDuration":28,"cSTime":1742054073,"cETime":1742054096,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06382799058","server_ip":"118.185.137.196","insertTime":1742054096,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054072,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054073,"endTime":1742054096,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5303
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5303
            [uid] => u595
            [unique_id] => 36075_5303_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054068
            [channelDTime] => 1742054096
            [channelDuration] => 28
            [cSTime] => 1742054073
            [cETime] => 1742054096
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06382799058
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054096
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054072
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054073
                                    [endTime] => 1742054096
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2065
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.20000000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29930.55999999907
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2065
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.20000000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95613.68000001027
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054098
{"compaign_id":"36075","contact_id":"5331","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5331","uid":"u595","unique_id":"36075_5331_138-u595","ivrId":"3158","channelOTime":1742054073,"channelDTime":1742054097,"channelDuration":24,"cSTime":1742054080,"cETime":1742054097,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07067934956","server_ip":"118.185.137.196","insertTime":1742054097,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054075,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5331
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5331
            [uid] => u595
            [unique_id] => 36075_5331_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054073
            [channelDTime] => 1742054097
            [channelDuration] => 24
            [cSTime] => 1742054080
            [cETime] => 1742054097
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07067934956
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054097
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054075
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2067
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.36000000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29930.39999999907
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2067
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.36000000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95613.52000001026
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054098
{"compaign_id":"36075","contact_id":"5373","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5373","uid":"u595","unique_id":"36075_5373_138-u595","ivrId":"3158","channelOTime":1742054083,"channelDTime":1742054097,"channelDuration":14,"cSTime":1742054090,"cETime":1742054097,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07871860461","server_ip":"118.185.137.196","insertTime":1742054097,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054085,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5373
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5373
            [uid] => u595
            [unique_id] => 36075_5373_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054083
            [channelDTime] => 1742054097
            [channelDuration] => 14
            [cSTime] => 1742054090
            [cETime] => 1742054097
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07871860461
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054097
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054085
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2069
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.52000000000052
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29930.23999999907
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2069
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.52000000000052
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95613.36000001026
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054099
{"compaign_id":"36075","contact_id":"5339","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5339","uid":"u595","unique_id":"36075_5339_138-u595","ivrId":"3158","channelOTime":1742054075,"channelDTime":1742054098,"channelDuration":23,"cSTime":1742054084,"cETime":1742054098,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08008984573","server_ip":"118.185.137.196","insertTime":1742054098,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054077,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5339
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5339
            [uid] => u595
            [unique_id] => 36075_5339_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054075
            [channelDTime] => 1742054098
            [channelDuration] => 23
            [cSTime] => 1742054084
            [cETime] => 1742054098
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08008984573
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054098
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054077
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2070
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.60000000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29930.15999999907
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2070
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.60000000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95613.28000001026
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054100
{"compaign_id":"36075","contact_id":"5410","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5410","uid":"u595","unique_id":"36075_5410_138-u595","ivrId":"3158","channelOTime":1742054092,"channelDTime":1742054098,"channelDuration":6,"cSTime":1742054097,"cETime":1742054098,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07043417295","server_ip":"118.185.137.196","insertTime":1742054098,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054094,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5410
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5410
            [uid] => u595
            [unique_id] => 36075_5410_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054092
            [channelDTime] => 1742054098
            [channelDuration] => 6
            [cSTime] => 1742054097
            [cETime] => 1742054098
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07043417295
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054098
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054094
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2071
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.68000000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29930.079999999067
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2071
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.68000000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95613.20000001026
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054100
{"compaign_id":"36075","contact_id":"5369","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5369","uid":"u595","unique_id":"36075_5369_138-u595","ivrId":"3158","channelOTime":1742054083,"channelDTime":1742054098,"channelDuration":15,"cSTime":1742054095,"cETime":1742054098,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06356107133","server_ip":"118.185.137.196","insertTime":1742054098,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054085,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5369
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5369
            [uid] => u595
            [unique_id] => 36075_5369_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054083
            [channelDTime] => 1742054098
            [channelDuration] => 15
            [cSTime] => 1742054095
            [cETime] => 1742054098
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06356107133
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054098
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054085
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2072
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.76000000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29929.999999999065
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2072
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.76000000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95613.12000001025
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054100
2025-03-15 21:25:02[LOG]Starting Cron
2025-03-15 21:25:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"5341","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5341","uid":"u595","unique_id":"36075_5341_138-u595","ivrId":"3158","channelOTime":1742054075,"channelDTime":1742054101,"channelDuration":26,"cSTime":1742054092,"cETime":1742054101,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08007534869","server_ip":"118.185.137.196","insertTime":1742054101,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054079,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5341
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5341
            [uid] => u595
            [unique_id] => 36075_5341_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054075
            [channelDTime] => 1742054101
            [channelDuration] => 26
            [cSTime] => 1742054092
            [cETime] => 1742054101
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08007534869
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054101
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054079
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2073
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.84000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29929.919999999063
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2073
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.84000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95613.04000001025
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054102
{"compaign_id":"36075","contact_id":"5337","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5337","uid":"u595","unique_id":"36075_5337_138-u595","ivrId":"3158","channelOTime":1742054075,"channelDTime":1742054102,"channelDuration":27,"cSTime":1742054095,"cETime":1742054102,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07688062777","server_ip":"118.185.137.196","insertTime":1742054102,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054080,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5337
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5337
            [uid] => u595
            [unique_id] => 36075_5337_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054075
            [channelDTime] => 1742054102
            [channelDuration] => 27
            [cSTime] => 1742054095
            [cETime] => 1742054102
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07688062777
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054102
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054080
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2074
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.92000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29929.83999999906
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2074
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 165.92000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95612.96000001025
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054103
{"compaign_id":"36075","contact_id":"5377","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5377","uid":"u595","unique_id":"36075_5377_138-u595","ivrId":"3158","channelOTime":1742054084,"channelDTime":1742054102,"channelDuration":18,"cSTime":1742054090,"cETime":1742054102,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09157589915","server_ip":"118.185.137.196","insertTime":1742054102,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054086,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5377
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5377
            [uid] => u595
            [unique_id] => 36075_5377_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054084
            [channelDTime] => 1742054102
            [channelDuration] => 18
            [cSTime] => 1742054090
            [cETime] => 1742054102
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09157589915
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054102
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054086
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2075
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.0000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29929.75999999906
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2075
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.0000000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95612.88000001025
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054104
{"compaign_id":"36075","contact_id":"5326","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5326","uid":"u595","unique_id":"36075_5326_138-u595","ivrId":"3158","channelOTime":1742054072,"channelDTime":1742054107,"channelDuration":35,"cSTime":1742054092,"cETime":1742054107,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09885888573","server_ip":"118.185.137.196","insertTime":1742054107,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054074,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5326
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5326
            [uid] => u595
            [unique_id] => 36075_5326_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054072
            [channelDTime] => 1742054107
            [channelDuration] => 35
            [cSTime] => 1742054092
            [cETime] => 1742054107
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09885888573
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054107
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054074
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2076
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.0800000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29929.679999999058
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2076
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.0800000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95612.80000001025
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054109
{"compaign_id":"36075","contact_id":"5361","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5361","uid":"u595","unique_id":"36075_5361_138-u595","ivrId":"3158","channelOTime":1742054081,"channelDTime":1742054108,"channelDuration":27,"cSTime":1742054097,"cETime":1742054108,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08850585633","server_ip":"118.185.137.196","insertTime":1742054108,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054086,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5361
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5361
            [uid] => u595
            [unique_id] => 36075_5361_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054081
            [channelDTime] => 1742054108
            [channelDuration] => 27
            [cSTime] => 1742054097
            [cETime] => 1742054108
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08850585633
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054108
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054086
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2077
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.16000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29929.599999999056
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2077
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.16000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95612.72000001025
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054110
{"compaign_id":"36075","contact_id":"5436","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5436","uid":"u595","unique_id":"36075_5436_138-u595","ivrId":"3158","channelOTime":1742054098,"channelDTime":1742054109,"channelDuration":11,"cSTime":1742054105,"cETime":1742054109,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08605565882","server_ip":"118.185.137.196","insertTime":1742054109,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054100,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5436
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5436
            [uid] => u595
            [unique_id] => 36075_5436_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054098
            [channelDTime] => 1742054109
            [channelDuration] => 11
            [cSTime] => 1742054105
            [cETime] => 1742054109
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08605565882
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054109
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054100
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2078
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.24000000000063
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29929.519999999055
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2078
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.24000000000063
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95612.64000001024
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054111
{"compaign_id":"36075","contact_id":"5449","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5449","uid":"u595","unique_id":"36075_5449_138-u595","ivrId":"3158","channelOTime":1742054100,"channelDTime":1742054109,"channelDuration":9,"cSTime":1742054106,"cETime":1742054109,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09818733153","server_ip":"118.185.137.196","insertTime":1742054109,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054102,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5449
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5449
            [uid] => u595
            [unique_id] => 36075_5449_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054100
            [channelDTime] => 1742054109
            [channelDuration] => 9
            [cSTime] => 1742054106
            [cETime] => 1742054109
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09818733153
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054109
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054102
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2079
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.32000000000065
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29929.439999999053
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2079
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.32000000000065
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95612.56000001024
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054111
{"compaign_id":"36075","contact_id":"5362","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5362","uid":"u595","unique_id":"36075_5362_138-u595","ivrId":"3158","channelOTime":1742054081,"channelDTime":1742054109,"channelDuration":28,"cSTime":1742054086,"cETime":1742054109,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07988774688","server_ip":"118.185.137.196","insertTime":1742054109,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054084,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054086,"endTime":1742054109,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5362
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5362
            [uid] => u595
            [unique_id] => 36075_5362_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054081
            [channelDTime] => 1742054109
            [channelDuration] => 28
            [cSTime] => 1742054086
            [cETime] => 1742054109
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07988774688
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054109
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054084
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054086
                                    [endTime] => 1742054109
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2080
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.40000000000066
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29929.35999999905
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2080
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.40000000000066
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95612.48000001024
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054111
{"compaign_id":"36075","contact_id":"5322","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5322","uid":"u595","unique_id":"36075_5322_138-u595","ivrId":"3158","channelOTime":1742054072,"channelDTime":1742054110,"channelDuration":38,"cSTime":1742054086,"cETime":1742054110,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09974201910","server_ip":"118.185.137.196","insertTime":1742054110,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054073,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054086,"endTime":1742054110,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5322
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5322
            [uid] => u595
            [unique_id] => 36075_5322_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054072
            [channelDTime] => 1742054110
            [channelDuration] => 38
            [cSTime] => 1742054086
            [cETime] => 1742054110
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09974201910
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054110
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054073
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054086
                                    [endTime] => 1742054110
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2082
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.56000000000066
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29929.19999999905
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2082
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.56000000000066
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95612.32000001024
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054111
{"compaign_id":"36075","contact_id":"5346","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5346","uid":"u595","unique_id":"36075_5346_138-u595","ivrId":"3158","channelOTime":1742054076,"channelDTime":1742054110,"channelDuration":34,"cSTime":1742054087,"cETime":1742054110,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09561935157","server_ip":"118.185.137.196","insertTime":1742054110,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054079,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054087,"endTime":1742054110,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5346
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5346
            [uid] => u595
            [unique_id] => 36075_5346_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054076
            [channelDTime] => 1742054110
            [channelDuration] => 34
            [cSTime] => 1742054087
            [cETime] => 1742054110
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09561935157
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054110
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054079
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054087
                                    [endTime] => 1742054110
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2084
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.72000000000065
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29929.03999999905
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2084
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.72000000000065
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95612.16000001023
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054112
{"compaign_id":"36075","contact_id":"5426","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5426","uid":"u595","unique_id":"36075_5426_138-u595","ivrId":"3158","channelOTime":1742054096,"channelDTime":1742054111,"channelDuration":15,"cSTime":1742054108,"cETime":1742054111,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07501562065","server_ip":"118.185.137.196","insertTime":1742054111,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054097,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5426
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5426
            [uid] => u595
            [unique_id] => 36075_5426_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054096
            [channelDTime] => 1742054111
            [channelDuration] => 15
            [cSTime] => 1742054108
            [cETime] => 1742054111
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07501562065
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054111
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054097
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2086
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.88000000000065
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29928.87999999905
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2086
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.88000000000065
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95612.00000001023
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054112
{"compaign_id":"36075","contact_id":"5402","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5402","uid":"u595","unique_id":"36075_5402_138-u595","ivrId":"3158","channelOTime":1742054091,"channelDTime":1742054112,"channelDuration":21,"cSTime":1742054104,"cETime":1742054112,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08295281473","server_ip":"118.185.137.196","insertTime":1742054112,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054094,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5402
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5402
            [uid] => u595
            [unique_id] => 36075_5402_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054091
            [channelDTime] => 1742054112
            [channelDuration] => 21
            [cSTime] => 1742054104
            [cETime] => 1742054112
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08295281473
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054112
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054094
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2087
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.96000000000066
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29928.79999999905
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2087
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 166.96000000000066
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95611.92000001023
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054113
{"compaign_id":"36075","contact_id":"5396","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5396","uid":"u595","unique_id":"36075_5396_138-u595","ivrId":"3158","channelOTime":1742054088,"channelDTime":1742054112,"channelDuration":24,"cSTime":1742054105,"cETime":1742054112,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09567599366","server_ip":"118.185.137.196","insertTime":1742054112,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054089,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5396
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5396
            [uid] => u595
            [unique_id] => 36075_5396_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054088
            [channelDTime] => 1742054112
            [channelDuration] => 24
            [cSTime] => 1742054105
            [cETime] => 1742054112
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09567599366
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054112
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054089
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2088
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.04000000000067
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29928.719999999048
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2088
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.04000000000067
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95611.84000001023
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054114
{"compaign_id":"36075","contact_id":"5366","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5366","uid":"u595","unique_id":"36075_5366_138-u595","ivrId":"3158","channelOTime":1742054082,"channelDTime":1742054112,"channelDuration":30,"cSTime":1742054099,"cETime":1742054112,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07993493662","server_ip":"118.185.137.196","insertTime":1742054112,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054084,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5366
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5366
            [uid] => u595
            [unique_id] => 36075_5366_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054082
            [channelDTime] => 1742054112
            [channelDuration] => 30
            [cSTime] => 1742054099
            [cETime] => 1742054112
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07993493662
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054112
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054084
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2089
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.1200000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29928.639999999046
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2089
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.1200000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95611.76000001022
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054114
{"compaign_id":"36075","contact_id":"5413","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5413","uid":"u595","unique_id":"36075_5413_138-u595","ivrId":"3158","channelOTime":1742054093,"channelDTime":1742054113,"channelDuration":20,"cSTime":1742054101,"cETime":1742054113,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07011467036","server_ip":"118.185.137.196","insertTime":1742054113,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054094,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5413
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5413
            [uid] => u595
            [unique_id] => 36075_5413_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054093
            [channelDTime] => 1742054113
            [channelDuration] => 20
            [cSTime] => 1742054101
            [cETime] => 1742054113
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07011467036
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054113
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054094
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2090
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.2000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29928.559999999045
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2090
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.2000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95611.68000001022
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054115
{"compaign_id":"36075","contact_id":"5389","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5389","uid":"u595","unique_id":"36075_5389_138-u595","ivrId":"3158","channelOTime":1742054087,"channelDTime":1742054114,"channelDuration":27,"cSTime":1742054091,"cETime":1742054114,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09605085920","server_ip":"118.185.137.196","insertTime":1742054114,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054090,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054091,"endTime":1742054114,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5389
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5389
            [uid] => u595
            [unique_id] => 36075_5389_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054087
            [channelDTime] => 1742054114
            [channelDuration] => 27
            [cSTime] => 1742054091
            [cETime] => 1742054114
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09605085920
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054114
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054090
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054091
                                    [endTime] => 1742054114
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2091
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.2800000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29928.479999999043
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2091
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.2800000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95611.60000001022
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054116
{"compaign_id":"36075","contact_id":"5400","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5400","uid":"u595","unique_id":"36075_5400_138-u595","ivrId":"3158","channelOTime":1742054090,"channelDTime":1742054116,"channelDuration":26,"cSTime":1742054097,"cETime":1742054116,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09995767756","server_ip":"118.185.137.196","insertTime":1742054116,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054093,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5400
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5400
            [uid] => u595
            [unique_id] => 36075_5400_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054090
            [channelDTime] => 1742054116
            [channelDuration] => 26
            [cSTime] => 1742054097
            [cETime] => 1742054116
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09995767756
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054116
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054093
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2093
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.4400000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29928.319999999043
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2093
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.4400000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95611.44000001022
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054118
{"compaign_id":"36075","contact_id":"5397","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5397","uid":"u595","unique_id":"36075_5397_138-u595","ivrId":"3158","channelOTime":1742054088,"channelDTime":1742054119,"channelDuration":31,"cSTime":1742054094,"cETime":1742054119,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"06306635924","server_ip":"118.185.137.196","insertTime":1742054119,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054092,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054094,"endTime":1742054114,"duration":20}],"#3":[{"startTime":1742054114,"endTime":1742054119,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5397
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5397
            [uid] => u595
            [unique_id] => 36075_5397_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054088
            [channelDTime] => 1742054119
            [channelDuration] => 31
            [cSTime] => 1742054094
            [cETime] => 1742054119
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 06306635924
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054119
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054092
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054094
                                    [endTime] => 1742054114
                                    [duration] => 20
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054114
                                    [endTime] => 1742054119
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2095
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.6000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29928.159999999043
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2095
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.6000000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95611.28000001021
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054121
{"compaign_id":"36075","contact_id":"5418","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5418","uid":"u595","unique_id":"36075_5418_138-u595","ivrId":"3158","channelOTime":1742054094,"channelDTime":1742054119,"channelDuration":25,"cSTime":1742054105,"cETime":1742054119,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09546683599","server_ip":"118.185.137.196","insertTime":1742054119,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054097,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5418
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5418
            [uid] => u595
            [unique_id] => 36075_5418_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054094
            [channelDTime] => 1742054119
            [channelDuration] => 25
            [cSTime] => 1742054105
            [cETime] => 1742054119
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09546683599
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054119
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054097
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2097
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.7600000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29927.999999999043
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2097
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.7600000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95611.12000001021
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054121
{"compaign_id":"36075","contact_id":"5383","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5383","uid":"u595","unique_id":"36075_5383_138-u595","ivrId":"3158","channelOTime":1742054085,"channelDTime":1742054120,"channelDuration":35,"cSTime":1742054113,"cETime":1742054120,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09170064114","server_ip":"118.185.137.196","insertTime":1742054120,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054101,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5383
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5383
            [uid] => u595
            [unique_id] => 36075_5383_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054085
            [channelDTime] => 1742054120
            [channelDuration] => 35
            [cSTime] => 1742054113
            [cETime] => 1742054120
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09170064114
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054120
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054101
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2098
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.8400000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29927.91999999904
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2098
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.8400000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95611.04000001021
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054121
{"compaign_id":"36075","contact_id":"5435","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5435","uid":"u595","unique_id":"36075_5435_138-u595","ivrId":"3158","channelOTime":1742054097,"channelDTime":1742054120,"channelDuration":23,"cSTime":1742054111,"cETime":1742054120,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07729829959","server_ip":"118.185.137.196","insertTime":1742054120,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054099,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5435
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5435
            [uid] => u595
            [unique_id] => 36075_5435_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054097
            [channelDTime] => 1742054120
            [channelDuration] => 23
            [cSTime] => 1742054111
            [cETime] => 1742054120
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07729829959
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054120
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054099
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2099
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.92000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29927.83999999904
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2099
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 167.92000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95610.96000001021
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054122
{"compaign_id":"36075","contact_id":"5354","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5354","uid":"u595","unique_id":"36075_5354_138-u595","ivrId":"3158","channelOTime":1742054080,"channelDTime":1742054121,"channelDuration":41,"cSTime":1742054097,"cETime":1742054121,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08298075544","server_ip":"118.185.137.196","insertTime":1742054121,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054082,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054097,"endTime":1742054121,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5354
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5354
            [uid] => u595
            [unique_id] => 36075_5354_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054080
            [channelDTime] => 1742054121
            [channelDuration] => 41
            [cSTime] => 1742054097
            [cETime] => 1742054121
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08298075544
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054121
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054082
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054097
                                    [endTime] => 1742054121
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2100
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.00000000000074
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29927.759999999038
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2100
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.00000000000074
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95610.8800000102
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054122
{"compaign_id":"36075","contact_id":"5390","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5390","uid":"u595","unique_id":"36075_5390_138-u595","ivrId":"3158","channelOTime":1742054087,"channelDTime":1742054121,"channelDuration":34,"cSTime":1742054098,"cETime":1742054121,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09492588500","server_ip":"118.185.137.196","insertTime":1742054121,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054089,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054098,"endTime":1742054121,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5390
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5390
            [uid] => u595
            [unique_id] => 36075_5390_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054087
            [channelDTime] => 1742054121
            [channelDuration] => 34
            [cSTime] => 1742054098
            [cETime] => 1742054121
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09492588500
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054121
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054089
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054098
                                    [endTime] => 1742054121
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2102
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.16000000000074
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29927.599999999038
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2102
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.16000000000074
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95610.7200000102
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054123
{"compaign_id":"36075","contact_id":"5379","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5379","uid":"u595","unique_id":"36075_5379_138-u595","ivrId":"3158","channelOTime":1742054085,"channelDTime":1742054121,"channelDuration":36,"cSTime":1742054103,"cETime":1742054121,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09755777497","server_ip":"118.185.137.196","insertTime":1742054121,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054087,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5379
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5379
            [uid] => u595
            [unique_id] => 36075_5379_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054085
            [channelDTime] => 1742054121
            [channelDuration] => 36
            [cSTime] => 1742054103
            [cETime] => 1742054121
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09755777497
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054121
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054087
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2104
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.32000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29927.43999999904
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2104
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.32000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95610.5600000102
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054123
{"compaign_id":"36075","contact_id":"5381","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5381","uid":"u595","unique_id":"36075_5381_138-u595","ivrId":"3158","channelOTime":1742054085,"channelDTime":1742054122,"channelDuration":37,"cSTime":1742054106,"cETime":1742054122,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09024519328","server_ip":"118.185.137.196","insertTime":1742054122,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054087,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5381
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5381
            [uid] => u595
            [unique_id] => 36075_5381_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054085
            [channelDTime] => 1742054122
            [channelDuration] => 37
            [cSTime] => 1742054106
            [cETime] => 1742054122
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09024519328
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054122
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054087
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2106
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.48000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29927.27999999904
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2106
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.48000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95610.4000000102
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054124
{"compaign_id":"36075","contact_id":"5438","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5438","uid":"u595","unique_id":"36075_5438_138-u595","ivrId":"3158","channelOTime":1742054098,"channelDTime":1742054123,"channelDuration":25,"cSTime":1742054103,"cETime":1742054123,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06306585595","server_ip":"118.185.137.196","insertTime":1742054123,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054100,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5438
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5438
            [uid] => u595
            [unique_id] => 36075_5438_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054098
            [channelDTime] => 1742054123
            [channelDuration] => 25
            [cSTime] => 1742054103
            [cETime] => 1742054123
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06306585595
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054123
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054100
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2108
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.64000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29927.11999999904
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2108
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.64000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95610.24000001019
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054125
{"compaign_id":"36075","contact_id":"5420","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5420","uid":"u595","unique_id":"36075_5420_138-u595","ivrId":"3158","channelOTime":1742054094,"channelDTime":1742054124,"channelDuration":30,"cSTime":1742054108,"cETime":1742054124,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08619350650","server_ip":"118.185.137.196","insertTime":1742054124,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054096,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5420
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5420
            [uid] => u595
            [unique_id] => 36075_5420_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054094
            [channelDTime] => 1742054124
            [channelDuration] => 30
            [cSTime] => 1742054108
            [cETime] => 1742054124
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08619350650
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054124
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054096
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2110
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.80000000000072
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29926.95999999904
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2110
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.80000000000072
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95610.08000001019
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054126
{"compaign_id":"36075","contact_id":"5448","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5448","uid":"u595","unique_id":"36075_5448_138-u595","ivrId":"3158","channelOTime":1742054100,"channelDTime":1742054125,"channelDuration":25,"cSTime":1742054109,"cETime":1742054125,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09791058035","server_ip":"118.185.137.196","insertTime":1742054125,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054102,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5448
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5448
            [uid] => u595
            [unique_id] => 36075_5448_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054100
            [channelDTime] => 1742054125
            [channelDuration] => 25
            [cSTime] => 1742054109
            [cETime] => 1742054125
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09791058035
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054125
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054102
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2112
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.96000000000072
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29926.79999999904
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2112
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 168.96000000000072
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95609.92000001018
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054127
{"compaign_id":"36075","contact_id":"5378","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5378","uid":"u595","unique_id":"36075_5378_138-u595","ivrId":"3158","channelOTime":1742054084,"channelDTime":1742054126,"channelDuration":42,"cSTime":1742054102,"cETime":1742054126,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09910325737","server_ip":"118.185.137.196","insertTime":1742054126,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054087,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054102,"endTime":1742054126,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5378
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5378
            [uid] => u595
            [unique_id] => 36075_5378_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054084
            [channelDTime] => 1742054126
            [channelDuration] => 42
            [cSTime] => 1742054102
            [cETime] => 1742054126
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09910325737
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054126
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054087
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054102
                                    [endTime] => 1742054126
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2114
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.12000000000072
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29926.63999999904
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2114
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.12000000000072
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95609.76000001018
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054127
{"compaign_id":"36075","contact_id":"5423","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5423","uid":"u595","unique_id":"36075_5423_138-u595","ivrId":"3158","channelOTime":1742054095,"channelDTime":1742054126,"channelDuration":31,"cSTime":1742054102,"cETime":1742054126,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09440424324","server_ip":"118.185.137.196","insertTime":1742054126,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054096,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054102,"endTime":1742054126,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5423
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5423
            [uid] => u595
            [unique_id] => 36075_5423_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054095
            [channelDTime] => 1742054126
            [channelDuration] => 31
            [cSTime] => 1742054102
            [cETime] => 1742054126
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09440424324
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054126
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054096
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054102
                                    [endTime] => 1742054126
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2116
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.2800000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29926.47999999904
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2116
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.2800000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95609.60000001018
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054128
{"compaign_id":"36075","contact_id":"5498","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5498","uid":"u595","unique_id":"36075_5498_138-u595","ivrId":"3158","channelOTime":1742054117,"channelDTime":1742054126,"channelDuration":9,"cSTime":1742054124,"cETime":1742054126,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06295172457","server_ip":"118.185.137.196","insertTime":1742054126,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054120,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5498
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5498
            [uid] => u595
            [unique_id] => 36075_5498_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054117
            [channelDTime] => 1742054126
            [channelDuration] => 9
            [cSTime] => 1742054124
            [cETime] => 1742054126
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06295172457
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054126
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054120
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2118
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.4400000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29926.31999999904
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2118
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.4400000000007
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95609.44000001017
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054128
{"compaign_id":"36075","contact_id":"5467","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5467","uid":"u595","unique_id":"36075_5467_138-u595","ivrId":"3158","channelOTime":1742054111,"channelDTime":1742054129,"channelDuration":18,"cSTime":1742054121,"cETime":1742054129,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07218807145","server_ip":"118.185.137.196","insertTime":1742054129,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054116,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5467
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5467
            [uid] => u595
            [unique_id] => 36075_5467_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054111
            [channelDTime] => 1742054129
            [channelDuration] => 18
            [cSTime] => 1742054121
            [cETime] => 1742054129
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07218807145
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054129
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054116
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2119
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.52000000000072
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29926.239999999038
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2119
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.52000000000072
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95609.36000001017
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054130
{"compaign_id":"36075","contact_id":"5422","total_duration":"27","answer_duration":27,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5422","uid":"u595","unique_id":"36075_5422_138-u595","ivrId":"3158","channelOTime":1742054095,"channelDTime":1742054129,"channelDuration":34,"cSTime":1742054102,"cETime":1742054129,"cDuration":27,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08925626931","server_ip":"118.185.137.196","insertTime":1742054129,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054097,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054102,"endTime":1742054124,"duration":22}],"#3":[{"startTime":1742054124,"endTime":1742054129,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5422
    [total_duration] => 27
    [answer_duration] => 27
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5422
            [uid] => u595
            [unique_id] => 36075_5422_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054095
            [channelDTime] => 1742054129
            [channelDuration] => 34
            [cSTime] => 1742054102
            [cETime] => 1742054129
            [cDuration] => 27
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08925626931
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054129
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054097
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054102
                                    [endTime] => 1742054124
                                    [duration] => 22
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054124
                                    [endTime] => 1742054129
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2120
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.60000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29926.159999999036
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2120
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.60000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95609.28000001017
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054131
{"compaign_id":"36075","contact_id":"5380","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5380","uid":"u595","unique_id":"36075_5380_138-u595","ivrId":"3158","channelOTime":1742054085,"channelDTime":1742054131,"channelDuration":46,"cSTime":1742054111,"cETime":1742054131,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09951367359","server_ip":"118.185.137.196","insertTime":1742054131,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054090,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5380
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5380
            [uid] => u595
            [unique_id] => 36075_5380_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054085
            [channelDTime] => 1742054131
            [channelDuration] => 46
            [cSTime] => 1742054111
            [cETime] => 1742054131
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09951367359
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054131
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054090
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2122
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.76000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29925.999999999036
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2122
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.76000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95609.12000001017
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054132
{"compaign_id":"36075","contact_id":"5374","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5374","uid":"u595","unique_id":"36075_5374_138-u595","ivrId":"3158","channelOTime":1742054084,"channelDTime":1742054131,"channelDuration":47,"cSTime":1742054107,"cETime":1742054131,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09933972055","server_ip":"118.185.137.196","insertTime":1742054131,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054087,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054107,"endTime":1742054131,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5374
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5374
            [uid] => u595
            [unique_id] => 36075_5374_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054084
            [channelDTime] => 1742054131
            [channelDuration] => 47
            [cSTime] => 1742054107
            [cETime] => 1742054131
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09933972055
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054131
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054087
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054107
                                    [endTime] => 1742054131
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2124
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.92000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29925.839999999036
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2124
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 169.92000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95608.96000001016
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054133
{"compaign_id":"36075","contact_id":"5484","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5484","uid":"u595","unique_id":"36075_5484_138-u595","ivrId":"3158","channelOTime":1742054114,"channelDTime":1742054131,"channelDuration":17,"cSTime":1742054120,"cETime":1742054131,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07048944253","server_ip":"118.185.137.196","insertTime":1742054131,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054116,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5484
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5484
            [uid] => u595
            [unique_id] => 36075_5484_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054114
            [channelDTime] => 1742054131
            [channelDuration] => 17
            [cSTime] => 1742054120
            [cETime] => 1742054131
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07048944253
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054131
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054116
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2126
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.08000000000072
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29925.679999999036
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2126
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.08000000000072
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95608.80000001016
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054133
{"compaign_id":"36075","contact_id":"5404","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5404","uid":"u595","unique_id":"36075_5404_138-u595","ivrId":"3158","channelOTime":1742054091,"channelDTime":1742054131,"channelDuration":40,"cSTime":1742054114,"cETime":1742054131,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08019882285","server_ip":"118.185.137.196","insertTime":1742054131,"ivrData":{"#2":["5"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054093,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054114,"endTime":1742054131,"duration":17}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5404
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5404
            [uid] => u595
            [unique_id] => 36075_5404_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054091
            [channelDTime] => 1742054131
            [channelDuration] => 40
            [cSTime] => 1742054114
            [cETime] => 1742054131
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08019882285
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054131
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 5
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054093
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054114
                                    [endTime] => 1742054131
                                    [duration] => 17
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2127
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.16000000000074
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29925.599999999034
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2127
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.16000000000074
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95608.72000001016
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054133
{"compaign_id":"36075","contact_id":"5391","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5391","uid":"u595","unique_id":"36075_5391_138-u595","ivrId":"3158","channelOTime":1742054087,"channelDTime":1742054131,"channelDuration":44,"cSTime":1742054115,"cETime":1742054131,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09354447309","server_ip":"118.185.137.196","insertTime":1742054131,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054098,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5391
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5391
            [uid] => u595
            [unique_id] => 36075_5391_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054087
            [channelDTime] => 1742054131
            [channelDuration] => 44
            [cSTime] => 1742054115
            [cETime] => 1742054131
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09354447309
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054131
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054098
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2129
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.32000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29925.439999999035
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2129
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.32000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95608.56000001015
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054133
{"compaign_id":"36075","contact_id":"5399","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5399","uid":"u595","unique_id":"36075_5399_138-u595","ivrId":"3158","channelOTime":1742054089,"channelDTime":1742054133,"channelDuration":44,"cSTime":1742054111,"cETime":1742054133,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09177781449","server_ip":"118.185.137.196","insertTime":1742054133,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054093,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5399
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5399
            [uid] => u595
            [unique_id] => 36075_5399_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054089
            [channelDTime] => 1742054133
            [channelDuration] => 44
            [cSTime] => 1742054111
            [cETime] => 1742054133
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09177781449
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054133
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054093
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2131
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.48000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29925.279999999035
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2131
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.48000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95608.40000001015
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054134
{"compaign_id":"36075","contact_id":"5478","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5478","uid":"u595","unique_id":"36075_5478_138-u595","ivrId":"3158","channelOTime":1742054113,"channelDTime":1742054133,"channelDuration":20,"cSTime":1742054123,"cETime":1742054133,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08334950118","server_ip":"118.185.137.196","insertTime":1742054133,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054115,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5478
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5478
            [uid] => u595
            [unique_id] => 36075_5478_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054113
            [channelDTime] => 1742054133
            [channelDuration] => 20
            [cSTime] => 1742054123
            [cETime] => 1742054133
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08334950118
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054133
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054115
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2133
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.64000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29925.119999999035
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2133
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.64000000000073
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95608.24000001015
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054135
{"compaign_id":"36075","contact_id":"5464","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5464","uid":"u595","unique_id":"36075_5464_138-u595","ivrId":"3158","channelOTime":1742054110,"channelDTime":1742054134,"channelDuration":24,"cSTime":1742054128,"cETime":1742054134,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08081982622","server_ip":"118.185.137.196","insertTime":1742054134,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054112,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5464
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5464
            [uid] => u595
            [unique_id] => 36075_5464_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054110
            [channelDTime] => 1742054134
            [channelDuration] => 24
            [cSTime] => 1742054128
            [cETime] => 1742054134
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08081982622
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054134
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054112
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2134
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.72000000000074
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29925.039999999033
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2134
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.72000000000074
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95608.16000001015
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054135
{"compaign_id":"36075","contact_id":"5427","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5427","uid":"u595","unique_id":"36075_5427_138-u595","ivrId":"3158","channelOTime":1742054096,"channelDTime":1742054134,"channelDuration":38,"cSTime":1742054111,"cETime":1742054134,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06001908134","server_ip":"118.185.137.196","insertTime":1742054134,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054098,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054111,"endTime":1742054134,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5427
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5427
            [uid] => u595
            [unique_id] => 36075_5427_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054096
            [channelDTime] => 1742054134
            [channelDuration] => 38
            [cSTime] => 1742054111
            [cETime] => 1742054134
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06001908134
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054134
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054098
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054111
                                    [endTime] => 1742054134
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2135
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.80000000000075
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29924.95999999903
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2135
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.80000000000075
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95608.08000001014
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054136
{"compaign_id":"36075","contact_id":"5462","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5462","uid":"u595","unique_id":"36075_5462_138-u595","ivrId":"3158","channelOTime":1742054110,"channelDTime":1742054134,"channelDuration":24,"cSTime":1742054132,"cETime":1742054134,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08282842232","server_ip":"118.185.137.196","insertTime":1742054134,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054112,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5462
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5462
            [uid] => u595
            [unique_id] => 36075_5462_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054110
            [channelDTime] => 1742054134
            [channelDuration] => 24
            [cSTime] => 1742054132
            [cETime] => 1742054134
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08282842232
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054134
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054112
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2137
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.96000000000075
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29924.79999999903
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2137
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 170.96000000000075
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95607.92000001014
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054136
{"compaign_id":"36075","contact_id":"5465","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5465","uid":"u595","unique_id":"36075_5465_138-u595","ivrId":"3158","channelOTime":1742054111,"channelDTime":1742054137,"channelDuration":26,"cSTime":1742054113,"cETime":1742054137,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09870049013","server_ip":"118.185.137.196","insertTime":1742054137,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054113,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054113,"endTime":1742054137,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5465
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5465
            [uid] => u595
            [unique_id] => 36075_5465_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054111
            [channelDTime] => 1742054137
            [channelDuration] => 26
            [cSTime] => 1742054113
            [cETime] => 1742054137
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09870049013
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054137
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054113
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054113
                                    [endTime] => 1742054137
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2138
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.04000000000076
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29924.71999999903
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2138
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.04000000000076
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95607.84000001014
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054138
{"compaign_id":"36075","contact_id":"5505","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5505","uid":"u595","unique_id":"36075_5505_138-u595","ivrId":"3158","channelOTime":1742054126,"channelDTime":1742054139,"channelDuration":13,"cSTime":1742054131,"cETime":1742054139,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09044494280","server_ip":"118.185.137.196","insertTime":1742054139,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054128,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5505
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5505
            [uid] => u595
            [unique_id] => 36075_5505_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054126
            [channelDTime] => 1742054139
            [channelDuration] => 13
            [cSTime] => 1742054131
            [cETime] => 1742054139
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09044494280
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054139
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054128
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2140
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.20000000000076
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29924.55999999903
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2140
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.20000000000076
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95607.68000001014
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054141
{"compaign_id":"36075","contact_id":"5460","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5460","uid":"u595","unique_id":"36075_5460_138-u595","ivrId":"3158","channelOTime":1742054110,"channelDTime":1742054140,"channelDuration":30,"cSTime":1742054132,"cETime":1742054140,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09542842037","server_ip":"118.185.137.196","insertTime":1742054140,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054112,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5460
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5460
            [uid] => u595
            [unique_id] => 36075_5460_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054110
            [channelDTime] => 1742054140
            [channelDuration] => 30
            [cSTime] => 1742054132
            [cETime] => 1742054140
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09542842037
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054140
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054112
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2141
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.28000000000077
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29924.47999999903
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2141
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.28000000000077
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95607.60000001013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054141
{"compaign_id":"36075","contact_id":"5520","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5520","uid":"u595","unique_id":"36075_5520_138-u595","ivrId":"3158","channelOTime":1742054129,"channelDTime":1742054141,"channelDuration":12,"cSTime":1742054134,"cETime":1742054141,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09737089954","server_ip":"118.185.137.196","insertTime":1742054141,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054131,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5520
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5520
            [uid] => u595
            [unique_id] => 36075_5520_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054129
            [channelDTime] => 1742054141
            [channelDuration] => 12
            [cSTime] => 1742054134
            [cETime] => 1742054141
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09737089954
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054141
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054131
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2142
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.36000000000078
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29924.399999999026
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2142
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.36000000000078
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95607.52000001013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054142
{"compaign_id":"36075","contact_id":"5486","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5486","uid":"u595","unique_id":"36075_5486_138-u595","ivrId":"3158","channelOTime":1742054115,"channelDTime":1742054141,"channelDuration":26,"cSTime":1742054121,"cETime":1742054141,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06205803237","server_ip":"118.185.137.196","insertTime":1742054141,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054116,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5486
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5486
            [uid] => u595
            [unique_id] => 36075_5486_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054115
            [channelDTime] => 1742054141
            [channelDuration] => 26
            [cSTime] => 1742054121
            [cETime] => 1742054141
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06205803237
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054141
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054116
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2143
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.4400000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29924.319999999025
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2143
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.4400000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95607.44000001013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054143
{"compaign_id":"36075","contact_id":"5530","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5530","uid":"u595","unique_id":"36075_5530_138-u595","ivrId":"3158","channelOTime":1742054131,"channelDTime":1742054142,"channelDuration":11,"cSTime":1742054141,"cETime":1742054142,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09112142871","server_ip":"118.185.137.196","insertTime":1742054142,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054134,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5530
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5530
            [uid] => u595
            [unique_id] => 36075_5530_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054131
            [channelDTime] => 1742054142
            [channelDuration] => 11
            [cSTime] => 1742054141
            [cETime] => 1742054142
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09112142871
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054142
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054134
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2145
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.6000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29924.159999999025
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2145
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.6000000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95607.28000001013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054144
{"compaign_id":"36075","contact_id":"5519","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5519","uid":"u595","unique_id":"36075_5519_138-u595","ivrId":"3158","channelOTime":1742054129,"channelDTime":1742054143,"channelDuration":14,"cSTime":1742054141,"cETime":1742054143,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07985790941","server_ip":"118.185.137.196","insertTime":1742054143,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054131,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5519
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5519
            [uid] => u595
            [unique_id] => 36075_5519_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054129
            [channelDTime] => 1742054143
            [channelDuration] => 14
            [cSTime] => 1742054141
            [cETime] => 1742054143
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07985790941
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054143
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054131
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2146
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.6800000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29924.079999999023
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2146
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.6800000000008
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95607.20000001013
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054145
{"compaign_id":"36075","contact_id":"5492","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5492","uid":"u595","unique_id":"36075_5492_138-u595","ivrId":"3158","channelOTime":1742054116,"channelDTime":1742054144,"channelDuration":28,"cSTime":1742054138,"cETime":1742054144,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09758512969","server_ip":"118.185.137.196","insertTime":1742054144,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054124,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5492
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5492
            [uid] => u595
            [unique_id] => 36075_5492_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054116
            [channelDTime] => 1742054144
            [channelDuration] => 28
            [cSTime] => 1742054138
            [cETime] => 1742054144
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09758512969
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054144
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054124
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2147
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.76000000000082
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29923.99999999902
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2147
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.76000000000082
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95607.12000001012
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054146
{"compaign_id":"36075","contact_id":"5538","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5538","uid":"u595","unique_id":"36075_5538_138-u595","ivrId":"3158","channelOTime":1742054133,"channelDTime":1742054146,"channelDuration":13,"cSTime":1742054144,"cETime":1742054146,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09654641375","server_ip":"118.185.137.196","insertTime":1742054146,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054137,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5538
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5538
            [uid] => u595
            [unique_id] => 36075_5538_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054133
            [channelDTime] => 1742054146
            [channelDuration] => 13
            [cSTime] => 1742054144
            [cETime] => 1742054146
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09654641375
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054146
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054137
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2148
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.84000000000083
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29923.91999999902
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2148
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.84000000000083
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95607.04000001012
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054148
{"compaign_id":"36075","contact_id":"5452","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5452","uid":"u595","unique_id":"36075_5452_138-u595","ivrId":"3158","channelOTime":1742054108,"channelDTime":1742054148,"channelDuration":40,"cSTime":1742054125,"cETime":1742054148,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08302724233","server_ip":"118.185.137.196","insertTime":1742054148,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054109,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054125,"endTime":1742054148,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5452
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5452
            [uid] => u595
            [unique_id] => 36075_5452_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054108
            [channelDTime] => 1742054148
            [channelDuration] => 40
            [cSTime] => 1742054125
            [cETime] => 1742054148
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08302724233
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054148
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054109
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054125
                                    [endTime] => 1742054148
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2149
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.92000000000084
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29923.839999999018
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2149
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 171.92000000000084
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95606.96000001012
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054150
{"compaign_id":"36075","contact_id":"5559","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5559","uid":"u595","unique_id":"36075_5559_138-u595","ivrId":"3158","channelOTime":1742054138,"channelDTime":1742054148,"channelDuration":10,"cSTime":1742054146,"cETime":1742054148,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07607812571","server_ip":"118.185.137.196","insertTime":1742054148,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054141,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5559
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5559
            [uid] => u595
            [unique_id] => 36075_5559_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054138
            [channelDTime] => 1742054148
            [channelDuration] => 10
            [cSTime] => 1742054146
            [cETime] => 1742054148
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07607812571
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054148
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054141
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2151
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.08000000000084
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29923.679999999018
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2151
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.08000000000084
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95606.80000001012
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054150
{"compaign_id":"36075","contact_id":"5487","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5487","uid":"u595","unique_id":"36075_5487_138-u595","ivrId":"3158","channelOTime":1742054115,"channelDTime":1742054151,"channelDuration":36,"cSTime":1742054132,"cETime":1742054151,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07337625827","server_ip":"118.185.137.196","insertTime":1742054151,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054118,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5487
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5487
            [uid] => u595
            [unique_id] => 36075_5487_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054115
            [channelDTime] => 1742054151
            [channelDuration] => 36
            [cSTime] => 1742054132
            [cETime] => 1742054151
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07337625827
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054151
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054118
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2152
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.16000000000085
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29923.599999999016
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2152
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.16000000000085
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95606.72000001011
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054152
{"compaign_id":"36075","contact_id":"5513","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5513","uid":"u595","unique_id":"36075_5513_138-u595","ivrId":"3158","channelOTime":1742054128,"channelDTime":1742054154,"channelDuration":26,"cSTime":1742054139,"cETime":1742054154,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07980435716","server_ip":"118.185.137.196","insertTime":1742054154,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054136,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5513
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5513
            [uid] => u595
            [unique_id] => 36075_5513_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054128
            [channelDTime] => 1742054154
            [channelDuration] => 26
            [cSTime] => 1742054139
            [cETime] => 1742054154
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07980435716
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054154
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054136
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2154
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.32000000000085
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29923.439999999016
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2154
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.32000000000085
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95606.56000001011
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054156
{"compaign_id":"36075","contact_id":"5525","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5525","uid":"u595","unique_id":"36075_5525_138-u595","ivrId":"3158","channelOTime":1742054130,"channelDTime":1742054155,"channelDuration":25,"cSTime":1742054144,"cETime":1742054155,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07983674854","server_ip":"118.185.137.196","insertTime":1742054155,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054132,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5525
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5525
            [uid] => u595
            [unique_id] => 36075_5525_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054130
            [channelDTime] => 1742054155
            [channelDuration] => 25
            [cSTime] => 1742054144
            [cETime] => 1742054155
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07983674854
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054155
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054132
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2155
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.40000000000086
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29923.359999999015
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2155
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.40000000000086
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95606.48000001011
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054157
{"compaign_id":"36075","contact_id":"5508","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5508","uid":"u595","unique_id":"36075_5508_138-u595","ivrId":"3158","channelOTime":1742054127,"channelDTime":1742054156,"channelDuration":29,"cSTime":1742054140,"cETime":1742054156,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09832484637","server_ip":"118.185.137.196","insertTime":1742054156,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054128,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5508
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5508
            [uid] => u595
            [unique_id] => 36075_5508_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054127
            [channelDTime] => 1742054156
            [channelDuration] => 29
            [cSTime] => 1742054140
            [cETime] => 1742054156
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09832484637
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054156
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054128
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2156
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.48000000000087
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29923.279999999013
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2156
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.48000000000087
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95606.40000001011
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054158
{"compaign_id":"36075","contact_id":"5572","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5572","uid":"u595","unique_id":"36075_5572_138-u595","ivrId":"3158","channelOTime":1742054141,"channelDTime":1742054158,"channelDuration":17,"cSTime":1742054152,"cETime":1742054158,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09687258516","server_ip":"118.185.137.196","insertTime":1742054158,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054142,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5572
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5572
            [uid] => u595
            [unique_id] => 36075_5572_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054141
            [channelDTime] => 1742054158
            [channelDuration] => 17
            [cSTime] => 1742054152
            [cETime] => 1742054158
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09687258516
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054158
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054142
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2158
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.64000000000087
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29923.119999999013
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2158
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.64000000000087
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95606.2400000101
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054159
{"compaign_id":"36075","contact_id":"5518","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5518","uid":"u595","unique_id":"36075_5518_138-u595","ivrId":"3158","channelOTime":1742054129,"channelDTime":1742054158,"channelDuration":29,"cSTime":1742054137,"cETime":1742054158,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09354922309","server_ip":"118.185.137.196","insertTime":1742054158,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054130,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5518
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5518
            [uid] => u595
            [unique_id] => 36075_5518_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054129
            [channelDTime] => 1742054158
            [channelDuration] => 29
            [cSTime] => 1742054137
            [cETime] => 1742054158
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09354922309
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054158
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054130
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2159
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.72000000000088
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29923.03999999901
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2159
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.72000000000088
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95606.1600000101
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054159
{"compaign_id":"36075","contact_id":"5515","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5515","uid":"u595","unique_id":"36075_5515_138-u595","ivrId":"3158","channelOTime":1742054128,"channelDTime":1742054159,"channelDuration":31,"cSTime":1742054142,"cETime":1742054159,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07782033497","server_ip":"118.185.137.196","insertTime":1742054159,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054130,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5515
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5515
            [uid] => u595
            [unique_id] => 36075_5515_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054128
            [channelDTime] => 1742054159
            [channelDuration] => 31
            [cSTime] => 1742054142
            [cETime] => 1742054159
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07782033497
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054159
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054130
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2161
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.88000000000088
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29922.87999999901
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2161
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 172.88000000000088
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95606.0000000101
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054160
{"compaign_id":"36075","contact_id":"5565","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5565","uid":"u595","unique_id":"36075_5565_138-u595","ivrId":"3158","channelOTime":1742054139,"channelDTime":1742054160,"channelDuration":21,"cSTime":1742054153,"cETime":1742054160,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08667252059","server_ip":"118.185.137.196","insertTime":1742054160,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054142,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5565
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5565
            [uid] => u595
            [unique_id] => 36075_5565_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054139
            [channelDTime] => 1742054160
            [channelDuration] => 21
            [cSTime] => 1742054153
            [cETime] => 1742054160
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08667252059
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054160
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054142
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2163
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.04000000000087
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29922.71999999901
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2163
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.04000000000087
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95605.8400000101
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054161
{"compaign_id":"36075","contact_id":"5553","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5553","uid":"u595","unique_id":"36075_5553_138-u595","ivrId":"3158","channelOTime":1742054137,"channelDTime":1742054160,"channelDuration":23,"cSTime":1742054149,"cETime":1742054160,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09824870305","server_ip":"118.185.137.196","insertTime":1742054160,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054139,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5553
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5553
            [uid] => u595
            [unique_id] => 36075_5553_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054137
            [channelDTime] => 1742054160
            [channelDuration] => 23
            [cSTime] => 1742054149
            [cETime] => 1742054160
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09824870305
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054160
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054139
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2164
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.12000000000089
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29922.63999999901
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2164
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.12000000000089
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95605.7600000101
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054162
{"compaign_id":"36075","contact_id":"5577","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5577","uid":"u595","unique_id":"36075_5577_138-u595","ivrId":"3158","channelOTime":1742054142,"channelDTime":1742054161,"channelDuration":19,"cSTime":1742054155,"cETime":1742054161,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07990540538","server_ip":"118.185.137.196","insertTime":1742054161,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054144,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5577
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5577
            [uid] => u595
            [unique_id] => 36075_5577_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054142
            [channelDTime] => 1742054161
            [channelDuration] => 19
            [cSTime] => 1742054155
            [cETime] => 1742054161
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07990540538
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054161
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054144
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2165
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.2000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29922.559999999008
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2165
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.2000000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95605.68000001009
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054162
{"compaign_id":"36075","contact_id":"5493","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5493","uid":"u595","unique_id":"36075_5493_138-u595","ivrId":"3158","channelOTime":1742054116,"channelDTime":1742054161,"channelDuration":45,"cSTime":1742054137,"cETime":1742054161,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08188842334","server_ip":"118.185.137.196","insertTime":1742054161,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054120,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054137,"endTime":1742054161,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5493
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5493
            [uid] => u595
            [unique_id] => 36075_5493_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054116
            [channelDTime] => 1742054161
            [channelDuration] => 45
            [cSTime] => 1742054137
            [cETime] => 1742054161
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08188842334
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054161
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054120
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054137
                                    [endTime] => 1742054161
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2166
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.2800000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29922.479999999006
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2166
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.2800000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95605.60000001009
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054163
{"compaign_id":"36075","contact_id":"5567","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5567","uid":"u595","unique_id":"36075_5567_138-u595","ivrId":"3158","channelOTime":1742054140,"channelDTime":1742054161,"channelDuration":21,"cSTime":1742054158,"cETime":1742054161,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06303041615","server_ip":"118.185.137.196","insertTime":1742054161,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054141,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5567
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5567
            [uid] => u595
            [unique_id] => 36075_5567_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054140
            [channelDTime] => 1742054161
            [channelDuration] => 21
            [cSTime] => 1742054158
            [cETime] => 1742054161
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06303041615
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054161
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054141
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2168
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.4400000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29922.319999999007
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2168
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.4400000000009
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95605.44000001009
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054163
2025-03-15 21:26:03[LOG]Starting Cron
2025-03-15 21:26:03[LOG]Process is already running
{"compaign_id":"36075","contact_id":"5617","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5617","uid":"u595","unique_id":"36075_5617_138-u595","ivrId":"3158","channelOTime":1742054151,"channelDTime":1742054162,"channelDuration":11,"cSTime":1742054160,"cETime":1742054162,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08260227682","server_ip":"118.185.137.196","insertTime":1742054162,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054157,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5617
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5617
            [uid] => u595
            [unique_id] => 36075_5617_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054151
            [channelDTime] => 1742054162
            [channelDuration] => 11
            [cSTime] => 1742054160
            [cETime] => 1742054162
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08260227682
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054162
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054157
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2169
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.52000000000092
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29922.239999999005
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2169
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.52000000000092
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95605.36000001009
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054164
{"compaign_id":"36075","contact_id":"5548","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5548","uid":"u595","unique_id":"36075_5548_138-u595","ivrId":"3158","channelOTime":1742054135,"channelDTime":1742054163,"channelDuration":28,"cSTime":1742054147,"cETime":1742054163,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09794513854","server_ip":"118.185.137.196","insertTime":1742054163,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054137,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5548
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5548
            [uid] => u595
            [unique_id] => 36075_5548_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054135
            [channelDTime] => 1742054163
            [channelDuration] => 28
            [cSTime] => 1742054147
            [cETime] => 1742054163
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09794513854
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054163
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054137
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2170
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.60000000000093
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29922.159999999003
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2170
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.60000000000093
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95605.28000001008
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054165
{"compaign_id":"36075","contact_id":"5586","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5586","uid":"u595","unique_id":"36075_5586_138-u595","ivrId":"3158","channelOTime":1742054144,"channelDTime":1742054163,"channelDuration":19,"cSTime":1742054159,"cETime":1742054163,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06005730725","server_ip":"118.185.137.196","insertTime":1742054163,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054146,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5586
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5586
            [uid] => u595
            [unique_id] => 36075_5586_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054144
            [channelDTime] => 1742054163
            [channelDuration] => 19
            [cSTime] => 1742054159
            [cETime] => 1742054163
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06005730725
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054163
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054146
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2172
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.76000000000093
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29921.999999999003
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2172
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.76000000000093
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95605.12000001008
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054165
{"compaign_id":"36075","contact_id":"5612","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5612","uid":"u595","unique_id":"36075_5612_138-u595","ivrId":"3158","channelOTime":1742054150,"channelDTime":1742054164,"channelDuration":14,"cSTime":1742054163,"cETime":1742054164,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07019298810","server_ip":"118.185.137.196","insertTime":1742054164,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054152,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5612
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5612
            [uid] => u595
            [unique_id] => 36075_5612_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054150
            [channelDTime] => 1742054164
            [channelDuration] => 14
            [cSTime] => 1742054163
            [cETime] => 1742054164
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07019298810
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054164
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054152
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2173
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.84000000000094
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29921.919999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2173
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.84000000000094
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95605.04000001008
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054166
{"compaign_id":"36075","contact_id":"5621","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5621","uid":"u595","unique_id":"36075_5621_138-u595","ivrId":"3158","channelOTime":1742054152,"channelDTime":1742054164,"channelDuration":12,"cSTime":1742054162,"cETime":1742054164,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06394426668","server_ip":"118.185.137.196","insertTime":1742054164,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054154,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5621
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5621
            [uid] => u595
            [unique_id] => 36075_5621_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054152
            [channelDTime] => 1742054164
            [channelDuration] => 12
            [cSTime] => 1742054162
            [cETime] => 1742054164
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06394426668
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054164
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054154
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2174
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.92000000000095
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29921.839999999
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2174
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 173.92000000000095
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95604.96000001008
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054166
{"compaign_id":"36075","contact_id":"5543","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5543","uid":"u595","unique_id":"36075_5543_138-u595","ivrId":"3158","channelOTime":1742054134,"channelDTime":1742054165,"channelDuration":31,"cSTime":1742054157,"cETime":1742054165,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09634913859","server_ip":"118.185.137.196","insertTime":1742054165,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054136,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5543
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5543
            [uid] => u595
            [unique_id] => 36075_5543_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054134
            [channelDTime] => 1742054165
            [channelDuration] => 31
            [cSTime] => 1742054157
            [cETime] => 1742054165
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09634913859
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054165
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054136
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2175
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.00000000000097
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29921.759999998998
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2175
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.00000000000097
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95604.88000001007
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054166
{"compaign_id":"36075","contact_id":"5539","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5539","uid":"u595","unique_id":"36075_5539_138-u595","ivrId":"3158","channelOTime":1742054133,"channelDTime":1742054165,"channelDuration":32,"cSTime":1742054158,"cETime":1742054165,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09353042285","server_ip":"118.185.137.196","insertTime":1742054165,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054134,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5539
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5539
            [uid] => u595
            [unique_id] => 36075_5539_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054133
            [channelDTime] => 1742054165
            [channelDuration] => 32
            [cSTime] => 1742054158
            [cETime] => 1742054165
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09353042285
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054165
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054134
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2176
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.08000000000098
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29921.679999998996
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2176
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.08000000000098
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95604.80000001007
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054167
{"compaign_id":"36075","contact_id":"5602","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5602","uid":"u595","unique_id":"36075_5602_138-u595","ivrId":"3158","channelOTime":1742054148,"channelDTime":1742054167,"channelDuration":19,"cSTime":1742054163,"cETime":1742054167,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09746922005","server_ip":"118.185.137.196","insertTime":1742054167,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054152,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5602
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5602
            [uid] => u595
            [unique_id] => 36075_5602_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054148
            [channelDTime] => 1742054167
            [channelDuration] => 19
            [cSTime] => 1742054163
            [cETime] => 1742054167
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09746922005
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054167
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054152
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2177
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.160000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29921.599999998994
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2177
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.160000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95604.72000001007
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054169
{"compaign_id":"36075","contact_id":"5640","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5640","uid":"u595","unique_id":"36075_5640_138-u595","ivrId":"3158","channelOTime":1742054156,"channelDTime":1742054169,"channelDuration":13,"cSTime":1742054162,"cETime":1742054169,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08058046624","server_ip":"118.185.137.196","insertTime":1742054169,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054158,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5640
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5640
            [uid] => u595
            [unique_id] => 36075_5640_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054156
            [channelDTime] => 1742054169
            [channelDuration] => 13
            [cSTime] => 1742054162
            [cETime] => 1742054169
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08058046624
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054169
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054158
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2178
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.240000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29921.519999998993
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2178
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.240000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95604.64000001007
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054171
{"compaign_id":"36075","contact_id":"5554","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5554","uid":"u595","unique_id":"36075_5554_138-u595","ivrId":"3158","channelOTime":1742054137,"channelDTime":1742054170,"channelDuration":33,"cSTime":1742054152,"cETime":1742054170,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09368309679","server_ip":"118.185.137.196","insertTime":1742054170,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054139,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5554
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5554
            [uid] => u595
            [unique_id] => 36075_5554_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054137
            [channelDTime] => 1742054170
            [channelDuration] => 33
            [cSTime] => 1742054152
            [cETime] => 1742054170
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09368309679
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054170
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054139
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2179
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.32000000000102
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29921.43999999899
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2179
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.32000000000102
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95604.56000001007
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054172
{"compaign_id":"36075","contact_id":"5558","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5558","uid":"u595","unique_id":"36075_5558_138-u595","ivrId":"3158","channelOTime":1742054138,"channelDTime":1742054171,"channelDuration":33,"cSTime":1742054147,"cETime":1742054171,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09392689625","server_ip":"118.185.137.196","insertTime":1742054171,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054142,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054147,"endTime":1742054171,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5558
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5558
            [uid] => u595
            [unique_id] => 36075_5558_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054138
            [channelDTime] => 1742054171
            [channelDuration] => 33
            [cSTime] => 1742054147
            [cETime] => 1742054171
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09392689625
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054171
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054142
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054147
                                    [endTime] => 1742054171
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2181
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.480000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29921.27999999899
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2181
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.480000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95604.40000001006
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054172
{"compaign_id":"36075","contact_id":"5633","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5633","uid":"u595","unique_id":"36075_5633_138-u595","ivrId":"3158","channelOTime":1742054155,"channelDTime":1742054171,"channelDuration":16,"cSTime":1742054168,"cETime":1742054171,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08210697591","server_ip":"118.185.137.196","insertTime":1742054171,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054157,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5633
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5633
            [uid] => u595
            [unique_id] => 36075_5633_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054155
            [channelDTime] => 1742054171
            [channelDuration] => 16
            [cSTime] => 1742054168
            [cETime] => 1742054171
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08210697591
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054171
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054157
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2183
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.640000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29921.11999999899
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2183
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.640000000001
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95604.24000001006
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054173
{"compaign_id":"36075","contact_id":"5592","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5592","uid":"u595","unique_id":"36075_5592_138-u595","ivrId":"3158","channelOTime":1742054145,"channelDTime":1742054171,"channelDuration":26,"cSTime":1742054162,"cETime":1742054171,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08420027272","server_ip":"118.185.137.196","insertTime":1742054171,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054150,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5592
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5592
            [uid] => u595
            [unique_id] => 36075_5592_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054145
            [channelDTime] => 1742054171
            [channelDuration] => 26
            [cSTime] => 1742054162
            [cETime] => 1742054171
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08420027272
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054171
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054150
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2184
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.72000000000102
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29921.03999999899
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2184
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.72000000000102
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95604.16000001006
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054173
{"compaign_id":"36075","contact_id":"5611","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5611","uid":"u595","unique_id":"36075_5611_138-u595","ivrId":"3158","channelOTime":1742054150,"channelDTime":1742054172,"channelDuration":22,"cSTime":1742054164,"cETime":1742054172,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08156912614","server_ip":"118.185.137.196","insertTime":1742054172,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054152,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5611
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5611
            [uid] => u595
            [unique_id] => 36075_5611_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054150
            [channelDTime] => 1742054172
            [channelDuration] => 22
            [cSTime] => 1742054164
            [cETime] => 1742054172
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08156912614
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054172
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054152
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2185
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.80000000000103
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29920.959999998988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2185
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.80000000000103
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95604.08000001006
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054174
{"compaign_id":"36075","contact_id":"5570","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5570","uid":"u595","unique_id":"36075_5570_138-u595","ivrId":"3158","channelOTime":1742054140,"channelDTime":1742054172,"channelDuration":32,"cSTime":1742054149,"cETime":1742054172,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07016073681","server_ip":"118.185.137.196","insertTime":1742054172,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054142,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054149,"endTime":1742054172,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5570
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5570
            [uid] => u595
            [unique_id] => 36075_5570_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054140
            [channelDTime] => 1742054172
            [channelDuration] => 32
            [cSTime] => 1742054149
            [cETime] => 1742054172
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07016073681
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054172
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054142
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054149
                                    [endTime] => 1742054172
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2186
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.88000000000105
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29920.879999998986
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2186
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 174.88000000000105
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95604.00000001006
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054174
{"compaign_id":"36075","contact_id":"5605","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5605","uid":"u595","unique_id":"36075_5605_138-u595","ivrId":"3158","channelOTime":1742054149,"channelDTime":1742054174,"channelDuration":25,"cSTime":1742054165,"cETime":1742054174,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09032848457","server_ip":"118.185.137.196","insertTime":1742054174,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054152,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5605
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5605
            [uid] => u595
            [unique_id] => 36075_5605_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054149
            [channelDTime] => 1742054174
            [channelDuration] => 25
            [cSTime] => 1742054165
            [cETime] => 1742054174
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09032848457
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054174
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054152
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2188
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.04000000000104
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29920.719999998986
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2188
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.04000000000104
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95603.84000001005
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054175
{"compaign_id":"36075","contact_id":"5608","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5608","uid":"u595","unique_id":"36075_5608_138-u595","ivrId":"3158","channelOTime":1742054150,"channelDTime":1742054175,"channelDuration":25,"cSTime":1742054152,"cETime":1742054175,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08857839222","server_ip":"118.185.137.196","insertTime":1742054175,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054151,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054152,"endTime":1742054175,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5608
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5608
            [uid] => u595
            [unique_id] => 36075_5608_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054150
            [channelDTime] => 1742054175
            [channelDuration] => 25
            [cSTime] => 1742054152
            [cETime] => 1742054175
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08857839222
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054175
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054151
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054152
                                    [endTime] => 1742054175
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2189
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.12000000000106
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29920.639999998984
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2189
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.12000000000106
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95603.76000001005
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054177
{"compaign_id":"36075","contact_id":"5639","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5639","uid":"u595","unique_id":"36075_5639_138-u595","ivrId":"3158","channelOTime":1742054156,"channelDTime":1742054175,"channelDuration":19,"cSTime":1742054171,"cETime":1742054175,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08179328804","server_ip":"118.185.137.196","insertTime":1742054175,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054159,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5639
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5639
            [uid] => u595
            [unique_id] => 36075_5639_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054156
            [channelDTime] => 1742054175
            [channelDuration] => 19
            [cSTime] => 1742054171
            [cETime] => 1742054175
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08179328804
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054175
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054159
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2191
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.28000000000105
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29920.479999998985
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2191
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.28000000000105
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95603.60000001005
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054177
{"compaign_id":"36075","contact_id":"5618","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5618","uid":"u595","unique_id":"36075_5618_138-u595","ivrId":"3158","channelOTime":1742054152,"channelDTime":1742054176,"channelDuration":24,"cSTime":1742054159,"cETime":1742054176,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09998509528","server_ip":"118.185.137.196","insertTime":1742054176,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054155,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5618
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5618
            [uid] => u595
            [unique_id] => 36075_5618_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054152
            [channelDTime] => 1742054176
            [channelDuration] => 24
            [cSTime] => 1742054159
            [cETime] => 1742054176
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09998509528
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054176
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054155
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2192
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.36000000000107
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29920.399999998983
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2192
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.36000000000107
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95603.52000001004
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054177
{"compaign_id":"36075","contact_id":"5666","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5666","uid":"u595","unique_id":"36075_5666_138-u595","ivrId":"3158","channelOTime":1742054163,"channelDTime":1742054176,"channelDuration":13,"cSTime":1742054170,"cETime":1742054176,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06387996388","server_ip":"118.185.137.196","insertTime":1742054176,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054167,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5666
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5666
            [uid] => u595
            [unique_id] => 36075_5666_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054163
            [channelDTime] => 1742054176
            [channelDuration] => 13
            [cSTime] => 1742054170
            [cETime] => 1742054176
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06387996388
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054176
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054167
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2194
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.52000000000106
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29920.239999998983
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2194
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.52000000000106
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95603.36000001004
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054178
{"compaign_id":"36075","contact_id":"5654","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5654","uid":"u595","unique_id":"36075_5654_138-u595","ivrId":"3158","channelOTime":1742054160,"channelDTime":1742054178,"channelDuration":18,"cSTime":1742054172,"cETime":1742054178,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08380836561","server_ip":"118.185.137.196","insertTime":1742054178,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054162,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5654
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5654
            [uid] => u595
            [unique_id] => 36075_5654_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054160
            [channelDTime] => 1742054178
            [channelDuration] => 18
            [cSTime] => 1742054172
            [cETime] => 1742054178
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08380836561
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054178
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054162
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2195
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.60000000000107
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29920.15999999898
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2195
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.60000000000107
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95603.28000001004
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054180
{"compaign_id":"36075","contact_id":"5551","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5551","uid":"u595","unique_id":"36075_5551_138-u595","ivrId":"3158","channelOTime":1742054137,"channelDTime":1742054179,"channelDuration":42,"cSTime":1742054156,"cETime":1742054179,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09864536856","server_ip":"118.185.137.196","insertTime":1742054179,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054138,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054156,"endTime":1742054179,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5551
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5551
            [uid] => u595
            [unique_id] => 36075_5551_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054137
            [channelDTime] => 1742054179
            [channelDuration] => 42
            [cSTime] => 1742054156
            [cETime] => 1742054179
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09864536856
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054179
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054138
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054156
                                    [endTime] => 1742054179
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2196
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.6800000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29920.07999999898
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2196
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.6800000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95603.20000001004
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054181
{"compaign_id":"36075","contact_id":"5622","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5622","uid":"u595","unique_id":"36075_5622_138-u595","ivrId":"3158","channelOTime":1742054152,"channelDTime":1742054179,"channelDuration":27,"cSTime":1742054156,"cETime":1742054179,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08574953813","server_ip":"118.185.137.196","insertTime":1742054179,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054156,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054156,"endTime":1742054179,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5622
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5622
            [uid] => u595
            [unique_id] => 36075_5622_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054152
            [channelDTime] => 1742054179
            [channelDuration] => 27
            [cSTime] => 1742054156
            [cETime] => 1742054179
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08574953813
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054179
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054156
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054156
                                    [endTime] => 1742054179
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2198
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.84000000000108
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29919.91999999898
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2198
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 175.84000000000108
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95603.04000001003
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054181
{"compaign_id":"36075","contact_id":"5636","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5636","uid":"u595","unique_id":"36075_5636_138-u595","ivrId":"3158","channelOTime":1742054155,"channelDTime":1742054181,"channelDuration":26,"cSTime":1742054165,"cETime":1742054181,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06901510678","server_ip":"118.185.137.196","insertTime":1742054181,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054158,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5636
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5636
            [uid] => u595
            [unique_id] => 36075_5636_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054155
            [channelDTime] => 1742054181
            [channelDuration] => 26
            [cSTime] => 1742054165
            [cETime] => 1742054181
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06901510678
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054181
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054158
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2200
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.00000000000108
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29919.75999999898
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2200
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.00000000000108
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95602.88000001003
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054183
{"compaign_id":"36075","contact_id":"5634","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5634","uid":"u595","unique_id":"36075_5634_138-u595","ivrId":"3158","channelOTime":1742054155,"channelDTime":1742054181,"channelDuration":26,"cSTime":1742054165,"cETime":1742054181,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09826690796","server_ip":"118.185.137.196","insertTime":1742054181,"ivrData":{"#2":["2"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054157,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054165,"endTime":1742054181,"duration":16}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5634
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5634
            [uid] => u595
            [unique_id] => 36075_5634_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054155
            [channelDTime] => 1742054181
            [channelDuration] => 26
            [cSTime] => 1742054165
            [cETime] => 1742054181
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09826690796
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054181
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 2
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054157
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054165
                                    [endTime] => 1742054181
                                    [duration] => 16
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2202
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.16000000000108
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29919.59999999898
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2202
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.16000000000108
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95602.72000001003
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054183
{"compaign_id":"36075","contact_id":"5705","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5705","uid":"u595","unique_id":"36075_5705_138-u595","ivrId":"3158","channelOTime":1742054172,"channelDTime":1742054182,"channelDuration":10,"cSTime":1742054180,"cETime":1742054182,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09619047249","server_ip":"118.185.137.196","insertTime":1742054182,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054174,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5705
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5705
            [uid] => u595
            [unique_id] => 36075_5705_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054172
            [channelDTime] => 1742054182
            [channelDuration] => 10
            [cSTime] => 1742054180
            [cETime] => 1742054182
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09619047249
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054182
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054174
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2204
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.32000000000107
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29919.43999999898
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2204
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.32000000000107
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95602.56000001002
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054184
{"compaign_id":"36075","contact_id":"5677","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5677","uid":"u595","unique_id":"36075_5677_138-u595","ivrId":"3158","channelOTime":1742054165,"channelDTime":1742054182,"channelDuration":17,"cSTime":1742054180,"cETime":1742054182,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08979429937","server_ip":"118.185.137.196","insertTime":1742054182,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054167,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5677
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5677
            [uid] => u595
            [unique_id] => 36075_5677_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054165
            [channelDTime] => 1742054182
            [channelDuration] => 17
            [cSTime] => 1742054180
            [cETime] => 1742054182
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08979429937
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054182
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054167
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2205
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.40000000000109
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29919.35999999898
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2205
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.40000000000109
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95602.48000001002
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054184
{"compaign_id":"36075","contact_id":"5658","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5658","uid":"u595","unique_id":"36075_5658_138-u595","ivrId":"3158","channelOTime":1742054161,"channelDTime":1742054183,"channelDuration":22,"cSTime":1742054174,"cETime":1742054183,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09618874258","server_ip":"118.185.137.196","insertTime":1742054183,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054164,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5658
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5658
            [uid] => u595
            [unique_id] => 36075_5658_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054161
            [channelDTime] => 1742054183
            [channelDuration] => 22
            [cSTime] => 1742054174
            [cETime] => 1742054183
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09618874258
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054183
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054164
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2206
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.4800000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29919.279999998977
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2206
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.4800000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95602.40000001002
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054184
{"compaign_id":"36075","contact_id":"5632","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5632","uid":"u595","unique_id":"36075_5632_138-u595","ivrId":"3158","channelOTime":1742054154,"channelDTime":1742054183,"channelDuration":29,"cSTime":1742054159,"cETime":1742054183,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08617253841","server_ip":"118.185.137.196","insertTime":1742054183,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054156,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054159,"endTime":1742054183,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5632
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5632
            [uid] => u595
            [unique_id] => 36075_5632_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054154
            [channelDTime] => 1742054183
            [channelDuration] => 29
            [cSTime] => 1742054159
            [cETime] => 1742054183
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08617253841
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054183
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054156
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054159
                                    [endTime] => 1742054183
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2207
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.5600000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29919.199999998975
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2207
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.5600000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95602.32000001002
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054185
{"compaign_id":"36075","contact_id":"5687","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5687","uid":"u595","unique_id":"36075_5687_138-u595","ivrId":"3158","channelOTime":1742054167,"channelDTime":1742054183,"channelDuration":16,"cSTime":1742054181,"cETime":1742054183,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08980128636","server_ip":"118.185.137.196","insertTime":1742054183,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054168,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5687
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5687
            [uid] => u595
            [unique_id] => 36075_5687_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054167
            [channelDTime] => 1742054183
            [channelDuration] => 16
            [cSTime] => 1742054181
            [cETime] => 1742054183
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08980128636
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054183
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054168
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2209
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.7200000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29919.039999998975
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2209
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.7200000000011
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95602.16000001002
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054185
{"compaign_id":"36075","contact_id":"5637","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5637","uid":"u595","unique_id":"36075_5637_138-u595","ivrId":"3158","channelOTime":1742054155,"channelDTime":1742054186,"channelDuration":31,"cSTime":1742054176,"cETime":1742054186,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09528468442","server_ip":"118.185.137.196","insertTime":1742054186,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054157,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5637
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5637
            [uid] => u595
            [unique_id] => 36075_5637_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054155
            [channelDTime] => 1742054186
            [channelDuration] => 31
            [cSTime] => 1742054176
            [cETime] => 1742054186
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09528468442
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054186
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054157
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2210
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.80000000000112
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29918.959999998973
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2210
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.80000000000112
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95602.08000001001
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054188
{"compaign_id":"36075","contact_id":"5704","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5704","uid":"u595","unique_id":"36075_5704_138-u595","ivrId":"3158","channelOTime":1742054172,"channelDTime":1742054188,"channelDuration":16,"cSTime":1742054183,"cETime":1742054188,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08168061797","server_ip":"118.185.137.196","insertTime":1742054188,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054173,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5704
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5704
            [uid] => u595
            [unique_id] => 36075_5704_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054172
            [channelDTime] => 1742054188
            [channelDuration] => 16
            [cSTime] => 1742054183
            [cETime] => 1742054188
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08168061797
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054188
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054173
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2211
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.88000000000113
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29918.87999999897
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2211
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.88000000000113
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95602.00000001001
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054190
{"compaign_id":"36075","contact_id":"5723","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5723","uid":"u595","unique_id":"36075_5723_138-u595","ivrId":"3158","channelOTime":1742054176,"channelDTime":1742054189,"channelDuration":13,"cSTime":1742054186,"cETime":1742054189,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07977394660","server_ip":"118.185.137.196","insertTime":1742054189,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054180,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5723
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5723
            [uid] => u595
            [unique_id] => 36075_5723_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054176
            [channelDTime] => 1742054189
            [channelDuration] => 13
            [cSTime] => 1742054186
            [cETime] => 1742054189
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07977394660
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054189
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054180
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2212
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.96000000000114
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29918.79999999897
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2212
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 176.96000000000114
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95601.92000001001
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054190
{"compaign_id":"36075","contact_id":"5667","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5667","uid":"u595","unique_id":"36075_5667_138-u595","ivrId":"3158","channelOTime":1742054163,"channelDTime":1742054189,"channelDuration":26,"cSTime":1742054165,"cETime":1742054189,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09068981925","server_ip":"118.185.137.196","insertTime":1742054189,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054165,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054165,"endTime":1742054189,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5667
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5667
            [uid] => u595
            [unique_id] => 36075_5667_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054163
            [channelDTime] => 1742054189
            [channelDuration] => 26
            [cSTime] => 1742054165
            [cETime] => 1742054189
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09068981925
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054189
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054165
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054165
                                    [endTime] => 1742054189
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2213
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.04000000000116
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29918.719999998968
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2213
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.04000000000116
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95601.84000001001
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054191
{"compaign_id":"36075","contact_id":"5727","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5727","uid":"u595","unique_id":"36075_5727_138-u595","ivrId":"3158","channelOTime":1742054177,"channelDTime":1742054189,"channelDuration":12,"cSTime":1742054185,"cETime":1742054189,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07889314962","server_ip":"118.185.137.196","insertTime":1742054189,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054180,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5727
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5727
            [uid] => u595
            [unique_id] => 36075_5727_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054177
            [channelDTime] => 1742054189
            [channelDuration] => 12
            [cSTime] => 1742054185
            [cETime] => 1742054189
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07889314962
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054189
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054180
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2215
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.20000000000115
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29918.559999998968
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2215
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.20000000000115
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95601.68000001
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054191
{"compaign_id":"36075","contact_id":"5653","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5653","uid":"u595","unique_id":"36075_5653_138-u595","ivrId":"3158","channelOTime":1742054160,"channelDTime":1742054189,"channelDuration":29,"cSTime":1742054166,"cETime":1742054189,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09702002652","server_ip":"118.185.137.196","insertTime":1742054189,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054161,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054166,"endTime":1742054189,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5653
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5653
            [uid] => u595
            [unique_id] => 36075_5653_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054160
            [channelDTime] => 1742054189
            [channelDuration] => 29
            [cSTime] => 1742054166
            [cETime] => 1742054189
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09702002652
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054189
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054161
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054166
                                    [endTime] => 1742054189
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2216
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.28000000000117
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29918.479999998966
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2216
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.28000000000117
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95601.60000001
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054191
{"compaign_id":"36075","contact_id":"5740","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5740","uid":"u595","unique_id":"36075_5740_138-u595","ivrId":"3158","channelOTime":1742054179,"channelDTime":1742054190,"channelDuration":11,"cSTime":1742054184,"cETime":1742054190,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07236944985","server_ip":"118.185.137.196","insertTime":1742054190,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054181,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5740
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5740
            [uid] => u595
            [unique_id] => 36075_5740_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054179
            [channelDTime] => 1742054190
            [channelDuration] => 11
            [cSTime] => 1742054184
            [cETime] => 1742054190
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07236944985
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054190
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054181
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2218
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.44000000000116
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29918.319999998967
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2218
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.44000000000116
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95601.44000001
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054191
{"compaign_id":"36075","contact_id":"5726","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5726","uid":"u595","unique_id":"36075_5726_138-u595","ivrId":"3158","channelOTime":1742054176,"channelDTime":1742054190,"channelDuration":14,"cSTime":1742054188,"cETime":1742054190,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06284652902","server_ip":"118.185.137.196","insertTime":1742054190,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054179,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5726
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5726
            [uid] => u595
            [unique_id] => 36075_5726_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054176
            [channelDTime] => 1742054190
            [channelDuration] => 14
            [cSTime] => 1742054188
            [cETime] => 1742054190
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06284652902
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054190
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054179
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2219
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.52000000000118
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29918.239999998965
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2219
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.52000000000118
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95601.36000001
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054192
{"compaign_id":"36075","contact_id":"5706","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5706","uid":"u595","unique_id":"36075_5706_138-u595","ivrId":"3158","channelOTime":1742054172,"channelDTime":1742054190,"channelDuration":18,"cSTime":1742054183,"cETime":1742054190,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09789053860","server_ip":"118.185.137.196","insertTime":1742054190,"ivrData":{"#2":["C"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054175,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054183,"endTime":1742054190,"duration":7}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5706
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5706
            [uid] => u595
            [unique_id] => 36075_5706_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054172
            [channelDTime] => 1742054190
            [channelDuration] => 18
            [cSTime] => 1742054183
            [cETime] => 1742054190
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09789053860
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054190
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => C
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054175
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054183
                                    [endTime] => 1742054190
                                    [duration] => 7
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2220
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.6000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29918.159999998963
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2220
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.6000000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95601.28000001
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054192
{"compaign_id":"36075","contact_id":"5647","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5647","uid":"u595","unique_id":"36075_5647_138-u595","ivrId":"3158","channelOTime":1742054157,"channelDTime":1742054190,"channelDuration":33,"cSTime":1742054167,"cETime":1742054190,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08617560188","server_ip":"118.185.137.196","insertTime":1742054190,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054159,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054167,"endTime":1742054190,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5647
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5647
            [uid] => u595
            [unique_id] => 36075_5647_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054157
            [channelDTime] => 1742054190
            [channelDuration] => 33
            [cSTime] => 1742054167
            [cETime] => 1742054190
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08617560188
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054190
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054159
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054167
                                    [endTime] => 1742054190
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2221
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.6800000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29918.07999999896
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2221
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.6800000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95601.20000001
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054192
{"compaign_id":"36075","contact_id":"5712","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5712","uid":"u595","unique_id":"36075_5712_138-u595","ivrId":"3158","channelOTime":1742054174,"channelDTime":1742054191,"channelDuration":17,"cSTime":1742054188,"cETime":1742054191,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07290995491","server_ip":"118.185.137.196","insertTime":1742054191,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054176,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5712
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5712
            [uid] => u595
            [unique_id] => 36075_5712_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054174
            [channelDTime] => 1742054191
            [channelDuration] => 17
            [cSTime] => 1742054188
            [cETime] => 1742054191
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07290995491
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054191
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054176
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2223
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.8400000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29917.91999999896
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2223
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.8400000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95601.04000000999
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054193
{"compaign_id":"36075","contact_id":"5741","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5741","uid":"u595","unique_id":"36075_5741_138-u595","ivrId":"3158","channelOTime":1742054179,"channelDTime":1742054191,"channelDuration":12,"cSTime":1742054185,"cETime":1742054191,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08077387438","server_ip":"118.185.137.196","insertTime":1742054191,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054181,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5741
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5741
            [uid] => u595
            [unique_id] => 36075_5741_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054179
            [channelDTime] => 1742054191
            [channelDuration] => 12
            [cSTime] => 1742054185
            [cETime] => 1742054191
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08077387438
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054191
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054181
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2224
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.9200000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29917.83999999896
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2224
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 177.9200000000012
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95600.96000000999
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054193
{"compaign_id":"36075","contact_id":"5703","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5703","uid":"u595","unique_id":"36075_5703_138-u595","ivrId":"3158","channelOTime":1742054172,"channelDTime":1742054192,"channelDuration":20,"cSTime":1742054189,"cETime":1742054192,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07259550190","server_ip":"118.185.137.196","insertTime":1742054192,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054180,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5703
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5703
            [uid] => u595
            [unique_id] => 36075_5703_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054172
            [channelDTime] => 1742054192
            [channelDuration] => 20
            [cSTime] => 1742054189
            [cETime] => 1742054192
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07259550190
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054192
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054180
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2225
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.00000000000122
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29917.759999998958
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2225
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.00000000000122
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95600.88000000999
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054194
{"compaign_id":"36075","contact_id":"5616","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5616","uid":"u595","unique_id":"36075_5616_138-u595","ivrId":"3158","channelOTime":1742054151,"channelDTime":1742054192,"channelDuration":41,"cSTime":1742054169,"cETime":1742054192,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09315449905","server_ip":"118.185.137.196","insertTime":1742054192,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054155,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054169,"endTime":1742054192,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5616
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5616
            [uid] => u595
            [unique_id] => 36075_5616_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054151
            [channelDTime] => 1742054192
            [channelDuration] => 41
            [cSTime] => 1742054169
            [cETime] => 1742054192
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09315449905
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054192
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054155
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054169
                                    [endTime] => 1742054192
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2226
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.08000000000123
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29917.679999998956
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2226
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.08000000000123
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95600.80000000999
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054194
{"compaign_id":"36075","contact_id":"5597","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5597","uid":"u595","unique_id":"36075_5597_138-u595","ivrId":"3158","channelOTime":1742054146,"channelDTime":1742054193,"channelDuration":47,"cSTime":1742054169,"cETime":1742054193,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08884824567","server_ip":"118.185.137.196","insertTime":1742054193,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054148,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054169,"endTime":1742054193,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5597
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5597
            [uid] => u595
            [unique_id] => 36075_5597_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054146
            [channelDTime] => 1742054193
            [channelDuration] => 47
            [cSTime] => 1742054169
            [cETime] => 1742054193
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08884824567
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054193
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054148
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054169
                                    [endTime] => 1742054193
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2228
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.24000000000123
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29917.519999998956
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2228
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.24000000000123
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95600.64000000998
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054194
{"compaign_id":"36075","contact_id":"5651","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5651","uid":"u595","unique_id":"36075_5651_138-u595","ivrId":"3158","channelOTime":1742054160,"channelDTime":1742054193,"channelDuration":33,"cSTime":1742054172,"cETime":1742054193,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09630502532","server_ip":"118.185.137.196","insertTime":1742054193,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054163,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5651
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5651
            [uid] => u595
            [unique_id] => 36075_5651_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054160
            [channelDTime] => 1742054193
            [channelDuration] => 33
            [cSTime] => 1742054172
            [cETime] => 1742054193
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09630502532
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054193
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054163
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2230
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.40000000000123
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29917.359999998956
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2230
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.40000000000123
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95600.48000000998
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054194
{"compaign_id":"36075","contact_id":"5718","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5718","uid":"u595","unique_id":"36075_5718_138-u595","ivrId":"3158","channelOTime":1742054175,"channelDTime":1742054195,"channelDuration":20,"cSTime":1742054190,"cETime":1742054195,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09737809789","server_ip":"118.185.137.196","insertTime":1742054195,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054177,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5718
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5718
            [uid] => u595
            [unique_id] => 36075_5718_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054175
            [channelDTime] => 1742054195
            [channelDuration] => 20
            [cSTime] => 1742054190
            [cETime] => 1742054195
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09737809789
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054195
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054177
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2232
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.56000000000122
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29917.199999998957
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2232
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.56000000000122
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95600.32000000998
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054197
{"compaign_id":"36075","contact_id":"5717","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5717","uid":"u595","unique_id":"36075_5717_138-u595","ivrId":"3158","channelOTime":1742054175,"channelDTime":1742054195,"channelDuration":20,"cSTime":1742054186,"cETime":1742054195,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08881928291","server_ip":"118.185.137.196","insertTime":1742054195,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054176,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5717
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5717
            [uid] => u595
            [unique_id] => 36075_5717_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054175
            [channelDTime] => 1742054195
            [channelDuration] => 20
            [cSTime] => 1742054186
            [cETime] => 1742054195
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08881928291
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054195
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054176
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2233
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.64000000000124
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29917.119999998955
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2233
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.64000000000124
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95600.24000000997
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054197
{"compaign_id":"36075","contact_id":"5672","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5672","uid":"u595","unique_id":"36075_5672_138-u595","ivrId":"3158","channelOTime":1742054164,"channelDTime":1742054196,"channelDuration":32,"cSTime":1742054172,"cETime":1742054196,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09899188400","server_ip":"118.185.137.196","insertTime":1742054196,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054167,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054172,"endTime":1742054196,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5672
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5672
            [uid] => u595
            [unique_id] => 36075_5672_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054164
            [channelDTime] => 1742054196
            [channelDuration] => 32
            [cSTime] => 1742054172
            [cETime] => 1742054196
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09899188400
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054196
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054167
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054172
                                    [endTime] => 1742054196
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2234
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.72000000000125
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29917.039999998953
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2234
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.72000000000125
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95600.16000000997
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054197
{"compaign_id":"36075","contact_id":"5690","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5690","uid":"u595","unique_id":"36075_5690_138-u595","ivrId":"3158","channelOTime":1742054168,"channelDTime":1742054198,"channelDuration":30,"cSTime":1742054194,"cETime":1742054198,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07660990182","server_ip":"118.185.137.196","insertTime":1742054198,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054172,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5690
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5690
            [uid] => u595
            [unique_id] => 36075_5690_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054168
            [channelDTime] => 1742054198
            [channelDuration] => 30
            [cSTime] => 1742054194
            [cETime] => 1742054198
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07660990182
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054198
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054172
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2236
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.88000000000125
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29916.879999998953
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2236
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.88000000000125
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95600.00000000997
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054200
{"compaign_id":"36075","contact_id":"5707","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5707","uid":"u595","unique_id":"36075_5707_138-u595","ivrId":"3158","channelOTime":1742054173,"channelDTime":1742054198,"channelDuration":25,"cSTime":1742054179,"cETime":1742054198,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09787081641","server_ip":"118.185.137.196","insertTime":1742054198,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054174,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5707
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5707
            [uid] => u595
            [unique_id] => 36075_5707_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054173
            [channelDTime] => 1742054198
            [channelDuration] => 25
            [cSTime] => 1742054179
            [cETime] => 1742054198
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09787081641
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054198
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054174
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2237
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.96000000000126
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29916.79999999895
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2237
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 178.96000000000126
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95599.92000000997
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054200
{"compaign_id":"36075","contact_id":"5731","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5731","uid":"u595","unique_id":"36075_5731_138-u595","ivrId":"3158","channelOTime":1742054177,"channelDTime":1742054198,"channelDuration":21,"cSTime":1742054191,"cETime":1742054198,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09439671090","server_ip":"118.185.137.196","insertTime":1742054198,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054179,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5731
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5731
            [uid] => u595
            [unique_id] => 36075_5731_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054177
            [channelDTime] => 1742054198
            [channelDuration] => 21
            [cSTime] => 1742054191
            [cETime] => 1742054198
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09439671090
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054198
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054179
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2239
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.12000000000126
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29916.63999999895
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2239
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.12000000000126
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95599.76000000996
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054200
{"compaign_id":"36075","contact_id":"5725","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5725","uid":"u595","unique_id":"36075_5725_138-u595","ivrId":"3158","channelOTime":1742054176,"channelDTime":1742054199,"channelDuration":23,"cSTime":1742054196,"cETime":1742054199,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07668995819","server_ip":"118.185.137.196","insertTime":1742054199,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5725
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5725
            [uid] => u595
            [unique_id] => 36075_5725_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054176
            [channelDTime] => 1742054199
            [channelDuration] => 23
            [cSTime] => 1742054196
            [cETime] => 1742054199
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07668995819
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054199
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2240
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.20000000000127
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29916.55999999895
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2240
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.20000000000127
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95599.68000000996
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054201
{"compaign_id":"36075","contact_id":"5619","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5619","uid":"u595","unique_id":"36075_5619_138-u595","ivrId":"3158","channelOTime":1742054152,"channelDTime":1742054200,"channelDuration":48,"cSTime":1742054180,"cETime":1742054200,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09926930095","server_ip":"118.185.137.196","insertTime":1742054200,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054158,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5619
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5619
            [uid] => u595
            [unique_id] => 36075_5619_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054152
            [channelDTime] => 1742054200
            [channelDuration] => 48
            [cSTime] => 1742054180
            [cETime] => 1742054200
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09926930095
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054200
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054158
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2241
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.28000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29916.47999999895
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2241
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.28000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95599.60000000996
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054202
{"compaign_id":"36075","contact_id":"5624","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5624","uid":"u595","unique_id":"36075_5624_138-u595","ivrId":"3158","channelOTime":1742054153,"channelDTime":1742054200,"channelDuration":47,"cSTime":1742054177,"cETime":1742054200,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09875075090","server_ip":"118.185.137.196","insertTime":1742054200,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054163,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054177,"endTime":1742054200,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5624
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5624
            [uid] => u595
            [unique_id] => 36075_5624_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054153
            [channelDTime] => 1742054200
            [channelDuration] => 47
            [cSTime] => 1742054177
            [cETime] => 1742054200
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09875075090
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054200
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054163
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054177
                                    [endTime] => 1742054200
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2243
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.44000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29916.31999999895
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2243
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.44000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95599.44000000996
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054202
{"compaign_id":"36075","contact_id":"5737","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5737","uid":"u595","unique_id":"36075_5737_138-u595","ivrId":"3158","channelOTime":1742054179,"channelDTime":1742054201,"channelDuration":22,"cSTime":1742054197,"cETime":1742054201,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07217595159","server_ip":"118.185.137.196","insertTime":1742054201,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054181,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5737
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5737
            [uid] => u595
            [unique_id] => 36075_5737_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054179
            [channelDTime] => 1742054201
            [channelDuration] => 22
            [cSTime] => 1742054197
            [cETime] => 1742054201
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07217595159
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054201
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054181
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2245
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.60000000000127
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29916.15999999895
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2245
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.60000000000127
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95599.28000000995
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054202
{"compaign_id":"36075","contact_id":"5736","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5736","uid":"u595","unique_id":"36075_5736_138-u595","ivrId":"3158","channelOTime":1742054178,"channelDTime":1742054201,"channelDuration":23,"cSTime":1742054185,"cETime":1742054201,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09696582289","server_ip":"118.185.137.196","insertTime":1742054201,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054181,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5736
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5736
            [uid] => u595
            [unique_id] => 36075_5736_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054178
            [channelDTime] => 1742054201
            [channelDuration] => 23
            [cSTime] => 1742054185
            [cETime] => 1742054201
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09696582289
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054201
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054181
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2246
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.6800000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29916.079999998947
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2246
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.6800000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95599.20000000995
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054203
{"compaign_id":"36075","contact_id":"5625","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5625","uid":"u595","unique_id":"36075_5625_138-u595","ivrId":"3158","channelOTime":1742054153,"channelDTime":1742054201,"channelDuration":48,"cSTime":1742054178,"cETime":1742054201,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07869200395","server_ip":"118.185.137.196","insertTime":1742054201,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054157,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054178,"endTime":1742054201,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5625
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5625
            [uid] => u595
            [unique_id] => 36075_5625_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054153
            [channelDTime] => 1742054201
            [channelDuration] => 48
            [cSTime] => 1742054178
            [cETime] => 1742054201
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07869200395
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054201
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054157
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054178
                                    [endTime] => 1742054201
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2248
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.84000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29915.919999998947
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2248
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 179.84000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95599.04000000995
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054203
{"compaign_id":"36075","contact_id":"5629","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5629","uid":"u595","unique_id":"36075_5629_138-u595","ivrId":"3158","channelOTime":1742054154,"channelDTime":1742054203,"channelDuration":49,"cSTime":1742054179,"cETime":1742054203,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07679222591","server_ip":"118.185.137.196","insertTime":1742054203,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054156,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054179,"endTime":1742054203,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5629
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5629
            [uid] => u595
            [unique_id] => 36075_5629_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054154
            [channelDTime] => 1742054203
            [channelDuration] => 49
            [cSTime] => 1742054179
            [cETime] => 1742054203
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07679222591
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054203
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054156
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054179
                                    [endTime] => 1742054203
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2250
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.00000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29915.759999998947
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2250
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.00000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95598.88000000994
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054204
{"compaign_id":"36075","contact_id":"5738","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5738","uid":"u595","unique_id":"36075_5738_138-u595","ivrId":"3158","channelOTime":1742054179,"channelDTime":1742054205,"channelDuration":26,"cSTime":1742054196,"cETime":1742054205,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06397383755","server_ip":"118.185.137.196","insertTime":1742054205,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054181,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5738
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5738
            [uid] => u595
            [unique_id] => 36075_5738_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054179
            [channelDTime] => 1742054205
            [channelDuration] => 26
            [cSTime] => 1742054196
            [cETime] => 1742054205
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06397383755
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054205
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054181
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2252
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.16000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29915.599999998947
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2252
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.16000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95598.72000000994
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054207
{"compaign_id":"36075","contact_id":"5742","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5742","uid":"u595","unique_id":"36075_5742_138-u595","ivrId":"3158","channelOTime":1742054180,"channelDTime":1742054206,"channelDuration":26,"cSTime":1742054182,"cETime":1742054206,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06009977449","server_ip":"118.185.137.196","insertTime":1742054206,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054181,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054182,"endTime":1742054206,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5742
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5742
            [uid] => u595
            [unique_id] => 36075_5742_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054180
            [channelDTime] => 1742054206
            [channelDuration] => 26
            [cSTime] => 1742054182
            [cETime] => 1742054206
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06009977449
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054206
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054181
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054182
                                    [endTime] => 1742054206
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2253
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.2400000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29915.519999998945
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2253
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.2400000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95598.64000000994
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054207
{"compaign_id":"36075","contact_id":"5747","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5747","uid":"u595","unique_id":"36075_5747_138-u595","ivrId":"3158","channelOTime":1742054181,"channelDTime":1742054207,"channelDuration":26,"cSTime":1742054195,"cETime":1742054207,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08356975567","server_ip":"118.185.137.196","insertTime":1742054207,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054182,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5747
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5747
            [uid] => u595
            [unique_id] => 36075_5747_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054181
            [channelDTime] => 1742054207
            [channelDuration] => 26
            [cSTime] => 1742054195
            [cETime] => 1742054207
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08356975567
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054207
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054182
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2255
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.40000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29915.359999998946
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2255
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.40000000000128
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95598.48000000993
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054209
{"compaign_id":"36075","contact_id":"5652","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5652","uid":"u595","unique_id":"36075_5652_138-u595","ivrId":"3158","channelOTime":1742054160,"channelDTime":1742054210,"channelDuration":50,"cSTime":1742054187,"cETime":1742054210,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09558793422","server_ip":"118.185.137.196","insertTime":1742054210,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054163,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054187,"endTime":1742054210,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5652
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5652
            [uid] => u595
            [unique_id] => 36075_5652_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054160
            [channelDTime] => 1742054210
            [channelDuration] => 50
            [cSTime] => 1742054187
            [cETime] => 1742054210
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09558793422
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054210
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054163
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054187
                                    [endTime] => 1742054210
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2256
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.4800000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29915.279999998944
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2256
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.4800000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95598.40000000993
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054212
{"compaign_id":"36075","contact_id":"5746","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5746","uid":"u595","unique_id":"36075_5746_138-u595","ivrId":"3158","channelOTime":1742054180,"channelDTime":1742054212,"channelDuration":32,"cSTime":1742054188,"cETime":1742054212,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08892317077","server_ip":"118.185.137.196","insertTime":1742054212,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054183,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054188,"endTime":1742054212,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5746
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5746
            [uid] => u595
            [unique_id] => 36075_5746_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054180
            [channelDTime] => 1742054212
            [channelDuration] => 32
            [cSTime] => 1742054188
            [cETime] => 1742054212
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08892317077
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054212
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054183
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054188
                                    [endTime] => 1742054212
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2258
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.6400000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29915.119999998944
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2258
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.6400000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95598.24000000993
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054214
{"compaign_id":"36075","contact_id":"5772","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5772","uid":"u595","unique_id":"36075_5772_138-u595","ivrId":"3158","channelOTime":1742054204,"channelDTime":1742054216,"channelDuration":12,"cSTime":1742054214,"cETime":1742054216,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09366457650","server_ip":"118.185.137.196","insertTime":1742054216,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054206,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5772
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5772
            [uid] => u595
            [unique_id] => 36075_5772_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054204
            [channelDTime] => 1742054216
            [channelDuration] => 12
            [cSTime] => 1742054214
            [cETime] => 1742054216
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09366457650
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054216
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054206
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2260
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.8000000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29914.959999998944
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2260
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.8000000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95598.08000000993
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054218
{"compaign_id":"36075","contact_id":"5753","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5753","uid":"u595","unique_id":"36075_5753_138-u595","ivrId":"3158","channelOTime":1742054200,"channelDTime":1742054219,"channelDuration":19,"cSTime":1742054209,"cETime":1742054219,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09552500018","server_ip":"118.185.137.196","insertTime":1742054219,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054203,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5753
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5753
            [uid] => u595
            [unique_id] => 36075_5753_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054200
            [channelDTime] => 1742054219
            [channelDuration] => 19
            [cSTime] => 1742054209
            [cETime] => 1742054219
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09552500018
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054219
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054203
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2261
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.8800000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29914.879999998942
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2261
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.8800000000013
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95598.00000000992
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054220
2025-03-15 21:27:02[LOG]Starting Cron
2025-03-15 21:27:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"5757","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5757","uid":"u595","unique_id":"36075_5757_138-u595","ivrId":"3158","channelOTime":1742054201,"channelDTime":1742054222,"channelDuration":21,"cSTime":1742054215,"cETime":1742054222,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09003890263","server_ip":"118.185.137.196","insertTime":1742054222,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054203,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5757
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5757
            [uid] => u595
            [unique_id] => 36075_5757_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054201
            [channelDTime] => 1742054222
            [channelDuration] => 21
            [cSTime] => 1742054215
            [cETime] => 1742054222
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09003890263
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054222
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054203
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2262
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.96000000000132
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29914.79999999894
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2262
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 180.96000000000132
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95597.92000000992
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054223
{"compaign_id":"36075","contact_id":"5761","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5761","uid":"u595","unique_id":"36075_5761_138-u595","ivrId":"3158","channelOTime":1742054201,"channelDTime":1742054222,"channelDuration":21,"cSTime":1742054219,"cETime":1742054222,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07451928623","server_ip":"118.185.137.196","insertTime":1742054222,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054204,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5761
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5761
            [uid] => u595
            [unique_id] => 36075_5761_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054201
            [channelDTime] => 1742054222
            [channelDuration] => 21
            [cSTime] => 1742054219
            [cETime] => 1742054222
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07451928623
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054222
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054204
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2263
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.04000000000133
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29914.71999999894
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2263
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.04000000000133
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95597.84000000992
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054224
{"compaign_id":"36075","contact_id":"5781","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5781","uid":"u595","unique_id":"36075_5781_138-u595","ivrId":"3158","channelOTime":1742054206,"channelDTime":1742054224,"channelDuration":18,"cSTime":1742054215,"cETime":1742054224,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09177764451","server_ip":"118.185.137.196","insertTime":1742054224,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054207,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5781
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5781
            [uid] => u595
            [unique_id] => 36075_5781_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054206
            [channelDTime] => 1742054224
            [channelDuration] => 18
            [cSTime] => 1742054215
            [cETime] => 1742054224
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09177764451
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054224
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054207
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2264
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.12000000000134
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29914.639999998937
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2264
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.12000000000134
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95597.76000000992
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054225
{"compaign_id":"36075","contact_id":"5749","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5749","uid":"u595","unique_id":"36075_5749_138-u595","ivrId":"3158","channelOTime":1742054181,"channelDTime":1742054225,"channelDuration":44,"cSTime":1742054201,"cETime":1742054225,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07488766415","server_ip":"118.185.137.196","insertTime":1742054225,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054184,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054201,"endTime":1742054225,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5749
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5749
            [uid] => u595
            [unique_id] => 36075_5749_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054181
            [channelDTime] => 1742054225
            [channelDuration] => 44
            [cSTime] => 1742054201
            [cETime] => 1742054225
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07488766415
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054225
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054184
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054201
                                    [endTime] => 1742054225
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2265
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.20000000000135
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29914.559999998935
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2265
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.20000000000135
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95597.68000000992
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054226
{"compaign_id":"36075","contact_id":"5792","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5792","uid":"u595","unique_id":"36075_5792_138-u595","ivrId":"3158","channelOTime":1742054208,"channelDTime":1742054225,"channelDuration":17,"cSTime":1742054222,"cETime":1742054225,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07046830999","server_ip":"118.185.137.196","insertTime":1742054225,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054210,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5792
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5792
            [uid] => u595
            [unique_id] => 36075_5792_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054208
            [channelDTime] => 1742054225
            [channelDuration] => 17
            [cSTime] => 1742054222
            [cETime] => 1742054225
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07046830999
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054225
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054210
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2267
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.36000000000135
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29914.399999998936
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2267
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.36000000000135
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95597.52000000991
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054227
{"compaign_id":"36075","contact_id":"5770","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5770","uid":"u595","unique_id":"36075_5770_138-u595","ivrId":"3158","channelOTime":1742054203,"channelDTime":1742054227,"channelDuration":24,"cSTime":1742054210,"cETime":1742054227,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09313437081","server_ip":"118.185.137.196","insertTime":1742054227,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054206,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5770
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5770
            [uid] => u595
            [unique_id] => 36075_5770_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054203
            [channelDTime] => 1742054227
            [channelDuration] => 24
            [cSTime] => 1742054210
            [cETime] => 1742054227
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09313437081
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054227
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054206
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2268
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.44000000000136
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29914.319999998934
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2268
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.44000000000136
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95597.44000000991
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054229
{"compaign_id":"36075","contact_id":"5780","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5780","uid":"u595","unique_id":"36075_5780_138-u595","ivrId":"3158","channelOTime":1742054205,"channelDTime":1742054231,"channelDuration":26,"cSTime":1742054214,"cETime":1742054231,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06238519890","server_ip":"118.185.137.196","insertTime":1742054231,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054207,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5780
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5780
            [uid] => u595
            [unique_id] => 36075_5780_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054205
            [channelDTime] => 1742054231
            [channelDuration] => 26
            [cSTime] => 1742054214
            [cETime] => 1742054231
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06238519890
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054231
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054207
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2270
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.60000000000136
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29914.159999998934
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2270
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.60000000000136
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95597.28000000991
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054233
{"compaign_id":"36075","contact_id":"5789","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5789","uid":"u595","unique_id":"36075_5789_138-u595","ivrId":"3158","channelOTime":1742054207,"channelDTime":1742054231,"channelDuration":24,"cSTime":1742054221,"cETime":1742054231,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08309117829","server_ip":"118.185.137.196","insertTime":1742054231,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054211,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5789
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5789
            [uid] => u595
            [unique_id] => 36075_5789_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054207
            [channelDTime] => 1742054231
            [channelDuration] => 24
            [cSTime] => 1742054221
            [cETime] => 1742054231
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08309117829
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054231
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054211
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2272
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.76000000000136
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29913.999999998934
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2272
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.76000000000136
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95597.1200000099
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054233
{"compaign_id":"36075","contact_id":"5796","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5796","uid":"u595","unique_id":"36075_5796_138-u595","ivrId":"3158","channelOTime":1742054209,"channelDTime":1742054233,"channelDuration":24,"cSTime":1742054221,"cETime":1742054233,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09833858385","server_ip":"118.185.137.196","insertTime":1742054233,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054212,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5796
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5796
            [uid] => u595
            [unique_id] => 36075_5796_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054209
            [channelDTime] => 1742054233
            [channelDuration] => 24
            [cSTime] => 1742054221
            [cETime] => 1742054233
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09833858385
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054233
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054212
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2273
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.84000000000137
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29913.919999998932
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2273
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.84000000000137
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95597.0400000099
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054234
{"compaign_id":"36075","contact_id":"5782","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5782","uid":"u595","unique_id":"36075_5782_138-u595","ivrId":"3158","channelOTime":1742054206,"channelDTime":1742054234,"channelDuration":28,"cSTime":1742054217,"cETime":1742054234,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09142915982","server_ip":"118.185.137.196","insertTime":1742054234,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054208,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5782
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5782
            [uid] => u595
            [unique_id] => 36075_5782_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054206
            [channelDTime] => 1742054234
            [channelDuration] => 28
            [cSTime] => 1742054217
            [cETime] => 1742054234
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09142915982
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054234
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054208
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2274
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.92000000000138
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29913.83999999893
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2274
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 181.92000000000138
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95596.9600000099
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054236
{"compaign_id":"36075","contact_id":"5759","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5759","uid":"u595","unique_id":"36075_5759_138-u595","ivrId":"3158","channelOTime":1742054201,"channelDTime":1742054235,"channelDuration":34,"cSTime":1742054223,"cETime":1742054235,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09604878821","server_ip":"118.185.137.196","insertTime":1742054235,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054202,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5759
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5759
            [uid] => u595
            [unique_id] => 36075_5759_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054201
            [channelDTime] => 1742054235
            [channelDuration] => 34
            [cSTime] => 1742054223
            [cETime] => 1742054235
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09604878821
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054235
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054202
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2276
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.08000000000138
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29913.67999999893
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2276
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.08000000000138
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95596.8000000099
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054236
{"compaign_id":"36075","contact_id":"5769","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5769","uid":"u595","unique_id":"36075_5769_138-u595","ivrId":"3158","channelOTime":1742054203,"channelDTime":1742054235,"channelDuration":32,"cSTime":1742054213,"cETime":1742054235,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07477677637","server_ip":"118.185.137.196","insertTime":1742054235,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054205,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054213,"endTime":1742054237,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5769
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5769
            [uid] => u595
            [unique_id] => 36075_5769_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054203
            [channelDTime] => 1742054235
            [channelDuration] => 32
            [cSTime] => 1742054213
            [cETime] => 1742054235
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07477677637
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054235
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054205
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054213
                                    [endTime] => 1742054237
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2277
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.1600000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29913.59999999893
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2277
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.1600000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95596.7200000099
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054237
{"compaign_id":"36075","contact_id":"5750","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5750","uid":"u595","unique_id":"36075_5750_138-u595","ivrId":"3158","channelOTime":1742054199,"channelDTime":1742054237,"channelDuration":38,"cSTime":1742054219,"cETime":1742054237,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09693945487","server_ip":"118.185.137.196","insertTime":1742054237,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054201,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5750
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5750
            [uid] => u595
            [unique_id] => 36075_5750_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054199
            [channelDTime] => 1742054237
            [channelDuration] => 38
            [cSTime] => 1742054219
            [cETime] => 1742054237
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09693945487
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054237
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054201
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2279
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.3200000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29913.43999999893
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2279
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.3200000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95596.5600000099
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054238
{"compaign_id":"36075","contact_id":"5755","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5755","uid":"u595","unique_id":"36075_5755_138-u595","ivrId":"3158","channelOTime":1742054200,"channelDTime":1742054238,"channelDuration":38,"cSTime":1742054214,"cETime":1742054238,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09451386522","server_ip":"118.185.137.196","insertTime":1742054238,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054203,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054214,"endTime":1742054238,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5755
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5755
            [uid] => u595
            [unique_id] => 36075_5755_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054200
            [channelDTime] => 1742054238
            [channelDuration] => 38
            [cSTime] => 1742054214
            [cETime] => 1742054238
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09451386522
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054238
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054203
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054214
                                    [endTime] => 1742054238
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2281
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.48000000000138
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29913.27999999893
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2281
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.48000000000138
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95596.40000000989
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054239
{"compaign_id":"36075","contact_id":"5799","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5799","uid":"u595","unique_id":"36075_5799_138-u595","ivrId":"3158","channelOTime":1742054209,"channelDTime":1742054240,"channelDuration":31,"cSTime":1742054223,"cETime":1742054240,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09630302405","server_ip":"118.185.137.196","insertTime":1742054240,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054211,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5799
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5799
            [uid] => u595
            [unique_id] => 36075_5799_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054209
            [channelDTime] => 1742054240
            [channelDuration] => 31
            [cSTime] => 1742054223
            [cETime] => 1742054240
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09630302405
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054240
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054211
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2283
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.64000000000138
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29913.11999999893
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2283
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.64000000000138
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95596.24000000989
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054242
{"compaign_id":"36075","contact_id":"5822","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5822","uid":"u595","unique_id":"36075_5822_138-u595","ivrId":"3158","channelOTime":1742054231,"channelDTime":1742054244,"channelDuration":13,"cSTime":1742054240,"cETime":1742054244,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09354412011","server_ip":"118.185.137.196","insertTime":1742054244,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054233,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5822
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5822
            [uid] => u595
            [unique_id] => 36075_5822_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054231
            [channelDTime] => 1742054244
            [channelDuration] => 13
            [cSTime] => 1742054240
            [cETime] => 1742054244
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09354412011
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054244
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054233
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2285
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.80000000000138
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29912.95999999893
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2285
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.80000000000138
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95596.08000000988
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054246
{"compaign_id":"36075","contact_id":"5819","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5819","uid":"u595","unique_id":"36075_5819_138-u595","ivrId":"3158","channelOTime":1742054231,"channelDTime":1742054246,"channelDuration":15,"cSTime":1742054239,"cETime":1742054246,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06375871080","server_ip":"118.185.137.196","insertTime":1742054246,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054233,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5819
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5819
            [uid] => u595
            [unique_id] => 36075_5819_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054231
            [channelDTime] => 1742054246
            [channelDuration] => 15
            [cSTime] => 1742054239
            [cETime] => 1742054246
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06375871080
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054246
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054233
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2286
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.8800000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29912.879999998928
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2286
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.8800000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95596.00000000988
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054248
{"compaign_id":"36075","contact_id":"5824","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5824","uid":"u595","unique_id":"36075_5824_138-u595","ivrId":"3158","channelOTime":1742054232,"channelDTime":1742054249,"channelDuration":17,"cSTime":1742054239,"cETime":1742054249,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07892027019","server_ip":"118.185.137.196","insertTime":1742054249,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054233,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5824
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5824
            [uid] => u595
            [unique_id] => 36075_5824_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054232
            [channelDTime] => 1742054249
            [channelDuration] => 17
            [cSTime] => 1742054239
            [cETime] => 1742054249
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07892027019
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054249
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054233
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2287
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.9600000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29912.799999998926
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2287
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 182.9600000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95595.92000000988
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054251
{"compaign_id":"36075","contact_id":"5839","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5839","uid":"u595","unique_id":"36075_5839_138-u595","ivrId":"3158","channelOTime":1742054235,"channelDTime":1742054250,"channelDuration":15,"cSTime":1742054244,"cETime":1742054250,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09711091637","server_ip":"118.185.137.196","insertTime":1742054250,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054237,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5839
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5839
            [uid] => u595
            [unique_id] => 36075_5839_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054235
            [channelDTime] => 1742054250
            [channelDuration] => 15
            [cSTime] => 1742054244
            [cETime] => 1742054250
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09711091637
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054250
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054237
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2288
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.0400000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29912.719999998924
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2288
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.0400000000014
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95595.84000000988
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054251
{"compaign_id":"36075","contact_id":"5830","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5830","uid":"u595","unique_id":"36075_5830_138-u595","ivrId":"3158","channelOTime":1742054233,"channelDTime":1742054251,"channelDuration":18,"cSTime":1742054247,"cETime":1742054251,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07014174341","server_ip":"118.185.137.196","insertTime":1742054251,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054234,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5830
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5830
            [uid] => u595
            [unique_id] => 36075_5830_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054233
            [channelDTime] => 1742054251
            [channelDuration] => 18
            [cSTime] => 1742054247
            [cETime] => 1742054251
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07014174341
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054251
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054234
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2289
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.12000000000143
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29912.639999998923
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2289
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.12000000000143
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95595.76000000988
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054252
{"compaign_id":"36075","contact_id":"5823","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5823","uid":"u595","unique_id":"36075_5823_138-u595","ivrId":"3158","channelOTime":1742054232,"channelDTime":1742054251,"channelDuration":19,"cSTime":1742054245,"cETime":1742054251,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07078001237","server_ip":"118.185.137.196","insertTime":1742054251,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054233,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5823
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5823
            [uid] => u595
            [unique_id] => 36075_5823_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054232
            [channelDTime] => 1742054251
            [channelDuration] => 19
            [cSTime] => 1742054245
            [cETime] => 1742054251
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07078001237
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054251
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054233
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2290
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.20000000000144
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29912.55999999892
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2290
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.20000000000144
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95595.68000000987
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054253
{"compaign_id":"36075","contact_id":"5825","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5825","uid":"u595","unique_id":"36075_5825_138-u595","ivrId":"3158","channelOTime":1742054232,"channelDTime":1742054252,"channelDuration":20,"cSTime":1742054245,"cETime":1742054252,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07903837549","server_ip":"118.185.137.196","insertTime":1742054252,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054236,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5825
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5825
            [uid] => u595
            [unique_id] => 36075_5825_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054232
            [channelDTime] => 1742054252
            [channelDuration] => 20
            [cSTime] => 1742054245
            [cETime] => 1742054252
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07903837549
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054252
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054236
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2291
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.28000000000145
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29912.47999999892
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2291
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.28000000000145
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95595.60000000987
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054254
{"compaign_id":"36075","contact_id":"5832","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5832","uid":"u595","unique_id":"36075_5832_138-u595","ivrId":"3158","channelOTime":1742054233,"channelDTime":1742054252,"channelDuration":19,"cSTime":1742054242,"cETime":1742054252,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07209248272","server_ip":"118.185.137.196","insertTime":1742054252,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054236,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5832
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5832
            [uid] => u595
            [unique_id] => 36075_5832_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054233
            [channelDTime] => 1742054252
            [channelDuration] => 19
            [cSTime] => 1742054242
            [cETime] => 1742054252
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07209248272
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054252
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054236
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2292
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.36000000000146
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29912.399999998917
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2292
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.36000000000146
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95595.52000000987
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054254
{"compaign_id":"36075","contact_id":"5811","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5811","uid":"u595","unique_id":"36075_5811_138-u595","ivrId":"3158","channelOTime":1742054229,"channelDTime":1742054255,"channelDuration":26,"cSTime":1742054243,"cETime":1742054255,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07003705078","server_ip":"118.185.137.196","insertTime":1742054255,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054231,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5811
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5811
            [uid] => u595
            [unique_id] => 36075_5811_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054229
            [channelDTime] => 1742054255
            [channelDuration] => 26
            [cSTime] => 1742054243
            [cETime] => 1742054255
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07003705078
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054255
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054231
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2293
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.44000000000148
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29912.319999998916
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2293
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.44000000000148
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95595.44000000987
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054257
{"compaign_id":"36075","contact_id":"5838","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5838","uid":"u595","unique_id":"36075_5838_138-u595","ivrId":"3158","channelOTime":1742054235,"channelDTime":1742054255,"channelDuration":20,"cSTime":1742054249,"cETime":1742054255,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09730506383","server_ip":"118.185.137.196","insertTime":1742054255,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054236,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5838
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5838
            [uid] => u595
            [unique_id] => 36075_5838_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054235
            [channelDTime] => 1742054255
            [channelDuration] => 20
            [cSTime] => 1742054249
            [cETime] => 1742054255
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09730506383
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054255
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054236
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2294
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.5200000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29912.239999998914
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2294
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.5200000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95595.36000000987
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054257
{"compaign_id":"36075","contact_id":"5816","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5816","uid":"u595","unique_id":"36075_5816_138-u595","ivrId":"3158","channelOTime":1742054230,"channelDTime":1742054256,"channelDuration":26,"cSTime":1742054232,"cETime":1742054256,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07783087804","server_ip":"118.185.137.196","insertTime":1742054256,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054232,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054232,"endTime":1742054256,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5816
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5816
            [uid] => u595
            [unique_id] => 36075_5816_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054230
            [channelDTime] => 1742054256
            [channelDuration] => 26
            [cSTime] => 1742054232
            [cETime] => 1742054256
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07783087804
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054256
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054232
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054232
                                    [endTime] => 1742054256
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2295
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.6000000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29912.159999998912
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2295
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.6000000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95595.28000000987
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054258
{"compaign_id":"36075","contact_id":"5842","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5842","uid":"u595","unique_id":"36075_5842_138-u595","ivrId":"3158","channelOTime":1742054235,"channelDTime":1742054256,"channelDuration":21,"cSTime":1742054248,"cETime":1742054256,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07990915738","server_ip":"118.185.137.196","insertTime":1742054256,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054237,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5842
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5842
            [uid] => u595
            [unique_id] => 36075_5842_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054235
            [channelDTime] => 1742054256
            [channelDuration] => 21
            [cSTime] => 1742054248
            [cETime] => 1742054256
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07990915738
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054256
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054237
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2297
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.7600000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29911.999999998912
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2297
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.7600000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95595.12000000986
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054258
{"compaign_id":"36075","contact_id":"5835","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5835","uid":"u595","unique_id":"36075_5835_138-u595","ivrId":"3158","channelOTime":1742054234,"channelDTime":1742054258,"channelDuration":24,"cSTime":1742054240,"cETime":1742054258,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08839698085","server_ip":"118.185.137.196","insertTime":1742054258,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054238,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5835
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5835
            [uid] => u595
            [unique_id] => 36075_5835_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054234
            [channelDTime] => 1742054258
            [channelDuration] => 24
            [cSTime] => 1742054240
            [cETime] => 1742054258
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08839698085
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054258
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054238
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2298
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.8400000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29911.91999999891
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2298
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 183.8400000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95595.04000000986
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054260
{"compaign_id":"36075","contact_id":"5827","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5827","uid":"u595","unique_id":"36075_5827_138-u595","ivrId":"3158","channelOTime":1742054232,"channelDTime":1742054261,"channelDuration":29,"cSTime":1742054259,"cETime":1742054261,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08179453260","server_ip":"118.185.137.196","insertTime":1742054261,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054234,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5827
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5827
            [uid] => u595
            [unique_id] => 36075_5827_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054232
            [channelDTime] => 1742054261
            [channelDuration] => 29
            [cSTime] => 1742054259
            [cETime] => 1742054261
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08179453260
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054261
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054234
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2300
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.0000000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29911.75999999891
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2300
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.0000000000015
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95594.88000000986
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054263
{"compaign_id":"36075","contact_id":"5829","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5829","uid":"u595","unique_id":"36075_5829_138-u595","ivrId":"3158","channelOTime":1742054233,"channelDTime":1742054262,"channelDuration":29,"cSTime":1742054239,"cETime":1742054262,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09861835612","server_ip":"118.185.137.196","insertTime":1742054262,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054234,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054239,"endTime":1742054262,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5829
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5829
            [uid] => u595
            [unique_id] => 36075_5829_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054233
            [channelDTime] => 1742054262
            [channelDuration] => 29
            [cSTime] => 1742054239
            [cETime] => 1742054262
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09861835612
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054262
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054234
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054239
                                    [endTime] => 1742054262
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2301
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.08000000000152
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29911.67999999891
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2301
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.08000000000152
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95594.80000000985
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054264
{"compaign_id":"36075","contact_id":"5870","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5870","uid":"u595","unique_id":"36075_5870_138-u595","ivrId":"3158","channelOTime":1742054259,"channelDTime":1742054268,"channelDuration":9,"cSTime":1742054264,"cETime":1742054268,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08617823647","server_ip":"118.185.137.196","insertTime":1742054268,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054260,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5870
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5870
            [uid] => u595
            [unique_id] => 36075_5870_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054259
            [channelDTime] => 1742054268
            [channelDuration] => 9
            [cSTime] => 1742054264
            [cETime] => 1742054268
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08617823647
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054268
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054260
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2303
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.24000000000152
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29911.51999999891
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2303
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.24000000000152
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95594.64000000985
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054269
{"compaign_id":"36075","contact_id":"5861","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5861","uid":"u595","unique_id":"36075_5861_138-u595","ivrId":"3158","channelOTime":1742054257,"channelDTime":1742054268,"channelDuration":11,"cSTime":1742054265,"cETime":1742054268,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09749918448","server_ip":"118.185.137.196","insertTime":1742054268,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054260,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5861
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5861
            [uid] => u595
            [unique_id] => 36075_5861_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054257
            [channelDTime] => 1742054268
            [channelDuration] => 11
            [cSTime] => 1742054265
            [cETime] => 1742054268
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09749918448
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054268
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054260
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2304
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.32000000000153
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29911.439999998907
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2304
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.32000000000153
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95594.56000000985
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054270
{"compaign_id":"36075","contact_id":"5800","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5800","uid":"u595","unique_id":"36075_5800_138-u595","ivrId":"3158","channelOTime":1742054227,"channelDTime":1742054268,"channelDuration":41,"cSTime":1742054245,"cETime":1742054268,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09958584493","server_ip":"118.185.137.196","insertTime":1742054268,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054232,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054245,"endTime":1742054268,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5800
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5800
            [uid] => u595
            [unique_id] => 36075_5800_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054227
            [channelDTime] => 1742054268
            [channelDuration] => 41
            [cSTime] => 1742054245
            [cETime] => 1742054268
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09958584493
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054268
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054232
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054245
                                    [endTime] => 1742054268
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2305
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.40000000000154
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29911.359999998906
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2305
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.40000000000154
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95594.48000000985
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054270
{"compaign_id":"36075","contact_id":"5801","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5801","uid":"u595","unique_id":"36075_5801_138-u595","ivrId":"3158","channelOTime":1742054227,"channelDTime":1742054270,"channelDuration":43,"cSTime":1742054246,"cETime":1742054270,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08892262366","server_ip":"118.185.137.196","insertTime":1742054270,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054230,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054246,"endTime":1742054270,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5801
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5801
            [uid] => u595
            [unique_id] => 36075_5801_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054227
            [channelDTime] => 1742054270
            [channelDuration] => 43
            [cSTime] => 1742054246
            [cETime] => 1742054270
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08892262366
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054270
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054230
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054246
                                    [endTime] => 1742054270
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2307
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.56000000000154
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29911.199999998906
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2307
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.56000000000154
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95594.32000000984
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054271
{"compaign_id":"36075","contact_id":"5860","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5860","uid":"u595","unique_id":"36075_5860_138-u595","ivrId":"3158","channelOTime":1742054257,"channelDTime":1742054271,"channelDuration":14,"cSTime":1742054266,"cETime":1742054271,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09168739169","server_ip":"118.185.137.196","insertTime":1742054271,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054259,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5860
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5860
            [uid] => u595
            [unique_id] => 36075_5860_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054257
            [channelDTime] => 1742054271
            [channelDuration] => 14
            [cSTime] => 1742054266
            [cETime] => 1742054271
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09168739169
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054271
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054259
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2309
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.72000000000153
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29911.039999998906
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2309
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.72000000000153
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95594.16000000984
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054273
{"compaign_id":"36075","contact_id":"5871","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5871","uid":"u595","unique_id":"36075_5871_138-u595","ivrId":"3158","channelOTime":1742054259,"channelDTime":1742054274,"channelDuration":15,"cSTime":1742054271,"cETime":1742054274,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09108245492","server_ip":"118.185.137.196","insertTime":1742054274,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054261,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5871
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5871
            [uid] => u595
            [unique_id] => 36075_5871_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054259
            [channelDTime] => 1742054274
            [channelDuration] => 15
            [cSTime] => 1742054271
            [cETime] => 1742054274
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09108245492
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054274
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054261
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2310
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.80000000000155
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29910.959999998904
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2310
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.80000000000155
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95594.08000000984
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054275
{"compaign_id":"36075","contact_id":"5854","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5854","uid":"u595","unique_id":"36075_5854_138-u595","ivrId":"3158","channelOTime":1742054256,"channelDTime":1742054277,"channelDuration":21,"cSTime":1742054266,"cETime":1742054277,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09059301158","server_ip":"118.185.137.196","insertTime":1742054277,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054258,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5854
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5854
            [uid] => u595
            [unique_id] => 36075_5854_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054256
            [channelDTime] => 1742054277
            [channelDuration] => 21
            [cSTime] => 1742054266
            [cETime] => 1742054277
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09059301158
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054277
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054258
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2311
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.88000000000156
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29910.879999998902
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2311
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.88000000000156
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95594.00000000984
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054278
2025-03-15 21:28:01[LOG]Starting Cron
2025-03-15 21:28:01[LOG]Process is already running
{"compaign_id":"36075","contact_id":"5863","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5863","uid":"u595","unique_id":"36075_5863_138-u595","ivrId":"3158","channelOTime":1742054258,"channelDTime":1742054280,"channelDuration":22,"cSTime":1742054270,"cETime":1742054280,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09062844391","server_ip":"118.185.137.196","insertTime":1742054280,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054263,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5863
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5863
            [uid] => u595
            [unique_id] => 36075_5863_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054258
            [channelDTime] => 1742054280
            [channelDuration] => 22
            [cSTime] => 1742054270
            [cETime] => 1742054280
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09062844391
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054280
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054263
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2312
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.96000000000157
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29910.7999999989
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2312
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 184.96000000000157
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95593.92000000984
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054282
{"compaign_id":"36075","contact_id":"5882","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5882","uid":"u595","unique_id":"36075_5882_138-u595","ivrId":"3158","channelOTime":1742054261,"channelDTime":1742054281,"channelDuration":20,"cSTime":1742054271,"cETime":1742054281,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08160442033","server_ip":"118.185.137.196","insertTime":1742054281,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054263,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5882
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5882
            [uid] => u595
            [unique_id] => 36075_5882_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054261
            [channelDTime] => 1742054281
            [channelDuration] => 20
            [cSTime] => 1742054271
            [cETime] => 1742054281
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08160442033
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054281
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054263
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2313
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.04000000000158
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29910.7199999989
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2313
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.04000000000158
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95593.84000000983
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054282
{"compaign_id":"36075","contact_id":"5899","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5899","uid":"u595","unique_id":"36075_5899_138-u595","ivrId":"3158","channelOTime":1742054265,"channelDTime":1742054283,"channelDuration":18,"cSTime":1742054280,"cETime":1742054283,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09337616475","server_ip":"118.185.137.196","insertTime":1742054283,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054276,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5899
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5899
            [uid] => u595
            [unique_id] => 36075_5899_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054265
            [channelDTime] => 1742054283
            [channelDuration] => 18
            [cSTime] => 1742054280
            [cETime] => 1742054283
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09337616475
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054283
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054276
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2314
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.1200000000016
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29910.639999998897
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2314
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.1200000000016
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95593.76000000983
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054285
{"compaign_id":"36075","contact_id":"5856","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5856","uid":"u595","unique_id":"36075_5856_138-u595","ivrId":"3158","channelOTime":1742054256,"channelDTime":1742054284,"channelDuration":28,"cSTime":1742054268,"cETime":1742054284,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08787222490","server_ip":"118.185.137.196","insertTime":1742054284,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054258,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5856
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5856
            [uid] => u595
            [unique_id] => 36075_5856_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054256
            [channelDTime] => 1742054284
            [channelDuration] => 28
            [cSTime] => 1742054268
            [cETime] => 1742054284
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08787222490
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054284
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054258
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2315
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.2000000000016
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29910.559999998895
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2315
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.2000000000016
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95593.68000000983
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054285
{"compaign_id":"36075","contact_id":"5813","total_duration":"26","answer_duration":26,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5813","uid":"u595","unique_id":"36075_5813_138-u595","ivrId":"3158","channelOTime":1742054230,"channelDTime":1742054286,"channelDuration":56,"cSTime":1742054260,"cETime":1742054286,"cDuration":26,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09512144045","server_ip":"118.185.137.196","insertTime":1742054286,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054233,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054260,"endTime":1742054280,"duration":20}],"#3":[{"startTime":1742054280,"endTime":1742054286,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5813
    [total_duration] => 26
    [answer_duration] => 26
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5813
            [uid] => u595
            [unique_id] => 36075_5813_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054230
            [channelDTime] => 1742054286
            [channelDuration] => 56
            [cSTime] => 1742054260
            [cETime] => 1742054286
            [cDuration] => 26
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09512144045
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054286
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054233
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054260
                                    [endTime] => 1742054280
                                    [duration] => 20
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054280
                                    [endTime] => 1742054286
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2317
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.3600000000016
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29910.399999998896
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2317
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.3600000000016
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95593.52000000983
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054288
{"compaign_id":"36075","contact_id":"5879","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5879","uid":"u595","unique_id":"36075_5879_138-u595","ivrId":"3158","channelOTime":1742054261,"channelDTime":1742054288,"channelDuration":27,"cSTime":1742054274,"cETime":1742054288,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06009044626","server_ip":"118.185.137.196","insertTime":1742054288,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054264,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5879
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5879
            [uid] => u595
            [unique_id] => 36075_5879_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054261
            [channelDTime] => 1742054288
            [channelDuration] => 27
            [cSTime] => 1742054274
            [cETime] => 1742054288
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06009044626
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054288
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054264
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2319
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.5200000000016
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29910.239999998896
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2319
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.5200000000016
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95593.36000000982
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054290
{"compaign_id":"36075","contact_id":"5890","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5890","uid":"u595","unique_id":"36075_5890_138-u595","ivrId":"3158","channelOTime":1742054263,"channelDTime":1742054291,"channelDuration":28,"cSTime":1742054279,"cETime":1742054291,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07357115199","server_ip":"118.185.137.196","insertTime":1742054291,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054265,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5890
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5890
            [uid] => u595
            [unique_id] => 36075_5890_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054263
            [channelDTime] => 1742054291
            [channelDuration] => 28
            [cSTime] => 1742054279
            [cETime] => 1742054291
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07357115199
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054291
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054265
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2320
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.60000000000161
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29910.159999998894
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2320
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.60000000000161
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95593.28000000982
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054292
{"compaign_id":"36075","contact_id":"5914","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5914","uid":"u595","unique_id":"36075_5914_138-u595","ivrId":"3158","channelOTime":1742054275,"channelDTime":1742054291,"channelDuration":16,"cSTime":1742054285,"cETime":1742054291,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09182742659","server_ip":"118.185.137.196","insertTime":1742054291,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5914
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5914
            [uid] => u595
            [unique_id] => 36075_5914_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054275
            [channelDTime] => 1742054291
            [channelDuration] => 16
            [cSTime] => 1742054285
            [cETime] => 1742054291
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09182742659
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054291
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2321
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.68000000000163
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29910.079999998892
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2321
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.68000000000163
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95593.20000000982
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054293
{"compaign_id":"36075","contact_id":"5923","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5923","uid":"u595","unique_id":"36075_5923_138-u595","ivrId":"3158","channelOTime":1742054277,"channelDTime":1742054295,"channelDuration":18,"cSTime":1742054287,"cETime":1742054295,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08709942655","server_ip":"118.185.137.196","insertTime":1742054295,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5923
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5923
            [uid] => u595
            [unique_id] => 36075_5923_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054277
            [channelDTime] => 1742054295
            [channelDuration] => 18
            [cSTime] => 1742054287
            [cETime] => 1742054295
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08709942655
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054295
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2322
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.76000000000164
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29909.99999999889
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2322
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.76000000000164
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95593.12000000982
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054297
{"compaign_id":"36075","contact_id":"5894","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5894","uid":"u595","unique_id":"36075_5894_138-u595","ivrId":"3158","channelOTime":1742054264,"channelDTime":1742054295,"channelDuration":31,"cSTime":1742054275,"cETime":1742054295,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09695118432","server_ip":"118.185.137.196","insertTime":1742054295,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054266,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5894
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5894
            [uid] => u595
            [unique_id] => 36075_5894_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054264
            [channelDTime] => 1742054295
            [channelDuration] => 31
            [cSTime] => 1742054275
            [cETime] => 1742054295
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09695118432
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054295
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054266
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2323
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.84000000000165
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29909.91999999889
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2323
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 185.84000000000165
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95593.04000000982
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054297
{"compaign_id":"36075","contact_id":"5910","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5910","uid":"u595","unique_id":"36075_5910_138-u595","ivrId":"3158","channelOTime":1742054274,"channelDTime":1742054296,"channelDuration":22,"cSTime":1742054287,"cETime":1742054296,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09490773010","server_ip":"118.185.137.196","insertTime":1742054296,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054281,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5910
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5910
            [uid] => u595
            [unique_id] => 36075_5910_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054274
            [channelDTime] => 1742054296
            [channelDuration] => 22
            [cSTime] => 1742054287
            [cETime] => 1742054296
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09490773010
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054296
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054281
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2325
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.00000000000165
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29909.75999999889
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2325
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.00000000000165
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95592.88000000981
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054297
{"compaign_id":"36075","contact_id":"5920","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5920","uid":"u595","unique_id":"36075_5920_138-u595","ivrId":"3158","channelOTime":1742054276,"channelDTime":1742054296,"channelDuration":20,"cSTime":1742054282,"cETime":1742054296,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09878085649","server_ip":"118.185.137.196","insertTime":1742054296,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054278,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5920
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5920
            [uid] => u595
            [unique_id] => 36075_5920_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054276
            [channelDTime] => 1742054296
            [channelDuration] => 20
            [cSTime] => 1742054282
            [cETime] => 1742054296
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09878085649
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054296
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054278
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2326
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.08000000000166
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29909.679999998887
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2326
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.08000000000166
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95592.80000000981
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054298
{"compaign_id":"36075","contact_id":"5937","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5937","uid":"u595","unique_id":"36075_5937_138-u595","ivrId":"3158","channelOTime":1742054280,"channelDTime":1742054297,"channelDuration":17,"cSTime":1742054287,"cETime":1742054297,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08376091549","server_ip":"118.185.137.196","insertTime":1742054297,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054281,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5937
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5937
            [uid] => u595
            [unique_id] => 36075_5937_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054280
            [channelDTime] => 1742054297
            [channelDuration] => 17
            [cSTime] => 1742054287
            [cETime] => 1742054297
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08376091549
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054297
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054281
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2327
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.16000000000167
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29909.599999998885
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2327
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.16000000000167
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95592.72000000981
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054299
{"compaign_id":"36075","contact_id":"5924","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5924","uid":"u595","unique_id":"36075_5924_138-u595","ivrId":"3158","channelOTime":1742054277,"channelDTime":1742054298,"channelDuration":21,"cSTime":1742054288,"cETime":1742054298,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06207636150","server_ip":"118.185.137.196","insertTime":1742054298,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5924
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5924
            [uid] => u595
            [unique_id] => 36075_5924_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054277
            [channelDTime] => 1742054298
            [channelDuration] => 21
            [cSTime] => 1742054288
            [cETime] => 1742054298
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06207636150
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054298
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2328
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.2400000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29909.519999998884
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2328
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.2400000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95592.64000000981
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054299
{"compaign_id":"36075","contact_id":"5934","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5934","uid":"u595","unique_id":"36075_5934_138-u595","ivrId":"3158","channelOTime":1742054279,"channelDTime":1742054298,"channelDuration":19,"cSTime":1742054288,"cETime":1742054298,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06207580323","server_ip":"118.185.137.196","insertTime":1742054298,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054281,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5934
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5934
            [uid] => u595
            [unique_id] => 36075_5934_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054279
            [channelDTime] => 1742054298
            [channelDuration] => 19
            [cSTime] => 1742054288
            [cETime] => 1742054298
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06207580323
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054298
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054281
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2329
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.3200000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29909.439999998882
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2329
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.3200000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95592.5600000098
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054300
{"compaign_id":"36075","contact_id":"5944","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5944","uid":"u595","unique_id":"36075_5944_138-u595","ivrId":"3158","channelOTime":1742054281,"channelDTime":1742054298,"channelDuration":17,"cSTime":1742054292,"cETime":1742054298,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08448354780","server_ip":"118.185.137.196","insertTime":1742054298,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054283,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5944
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5944
            [uid] => u595
            [unique_id] => 36075_5944_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054281
            [channelDTime] => 1742054298
            [channelDuration] => 17
            [cSTime] => 1742054292
            [cETime] => 1742054298
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08448354780
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054298
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054283
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2330
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.4000000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29909.35999999888
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2330
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.4000000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95592.4800000098
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054300
{"compaign_id":"36075","contact_id":"5876","total_duration":"28","answer_duration":28,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5876","uid":"u595","unique_id":"36075_5876_138-u595","ivrId":"3158","channelOTime":1742054260,"channelDTime":1742054302,"channelDuration":42,"cSTime":1742054274,"cETime":1742054302,"cDuration":28,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08386878617","server_ip":"118.185.137.196","insertTime":1742054302,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054266,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054274,"endTime":1742054296,"duration":22}],"#3":[{"startTime":1742054296,"endTime":1742054302,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5876
    [total_duration] => 28
    [answer_duration] => 28
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5876
            [uid] => u595
            [unique_id] => 36075_5876_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054260
            [channelDTime] => 1742054302
            [channelDuration] => 42
            [cSTime] => 1742054274
            [cETime] => 1742054302
            [cDuration] => 28
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08386878617
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054302
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054266
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054274
                                    [endTime] => 1742054296
                                    [duration] => 22
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054296
                                    [endTime] => 1742054302
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2331
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.48000000000172
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29909.27999999888
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2331
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.48000000000172
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95592.4000000098
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054304
{"compaign_id":"36075","contact_id":"5918","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5918","uid":"u595","unique_id":"36075_5918_138-u595","ivrId":"3158","channelOTime":1742054276,"channelDTime":1742054304,"channelDuration":28,"cSTime":1742054286,"cETime":1742054304,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06264849613","server_ip":"118.185.137.196","insertTime":1742054304,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5918
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5918
            [uid] => u595
            [unique_id] => 36075_5918_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054276
            [channelDTime] => 1742054304
            [channelDuration] => 28
            [cSTime] => 1742054286
            [cETime] => 1742054304
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06264849613
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054304
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2333
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.64000000000172
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29909.11999999888
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2333
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.64000000000172
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95592.2400000098
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054306
{"compaign_id":"36075","contact_id":"5897","total_duration":"28","answer_duration":28,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5897","uid":"u595","unique_id":"36075_5897_138-u595","ivrId":"3158","channelOTime":1742054264,"channelDTime":1742054304,"channelDuration":40,"cSTime":1742054276,"cETime":1742054304,"cDuration":28,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08087631397","server_ip":"118.185.137.196","insertTime":1742054304,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054266,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054276,"endTime":1742054298,"duration":22}],"#3":[{"startTime":1742054298,"endTime":1742054304,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5897
    [total_duration] => 28
    [answer_duration] => 28
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5897
            [uid] => u595
            [unique_id] => 36075_5897_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054264
            [channelDTime] => 1742054304
            [channelDuration] => 40
            [cSTime] => 1742054276
            [cETime] => 1742054304
            [cDuration] => 28
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08087631397
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054304
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054266
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054276
                                    [endTime] => 1742054298
                                    [duration] => 22
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054298
                                    [endTime] => 1742054304
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2335
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.80000000000172
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29908.95999999888
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2335
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.80000000000172
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95592.0800000098
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054306
{"compaign_id":"36075","contact_id":"5941","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5941","uid":"u595","unique_id":"36075_5941_138-u595","ivrId":"3158","channelOTime":1742054281,"channelDTime":1742054305,"channelDuration":24,"cSTime":1742054298,"cETime":1742054305,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08709436056","server_ip":"118.185.137.196","insertTime":1742054305,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054282,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5941
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5941
            [uid] => u595
            [unique_id] => 36075_5941_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054281
            [channelDTime] => 1742054305
            [channelDuration] => 24
            [cSTime] => 1742054298
            [cETime] => 1742054305
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08709436056
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054305
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054282
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2337
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.9600000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29908.79999999888
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2337
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 186.9600000000017
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95591.92000000979
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054307
{"compaign_id":"36075","contact_id":"5878","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5878","uid":"u595","unique_id":"36075_5878_138-u595","ivrId":"3158","channelOTime":1742054261,"channelDTime":1742054306,"channelDuration":45,"cSTime":1742054283,"cETime":1742054306,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08309948853","server_ip":"118.185.137.196","insertTime":1742054306,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054265,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054283,"endTime":1742054306,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5878
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5878
            [uid] => u595
            [unique_id] => 36075_5878_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054261
            [channelDTime] => 1742054306
            [channelDuration] => 45
            [cSTime] => 1742054283
            [cETime] => 1742054306
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08309948853
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054306
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054265
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054283
                                    [endTime] => 1742054306
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2338
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.04000000000173
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29908.719999998877
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2338
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.04000000000173
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95591.84000000979
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054308
{"compaign_id":"36075","contact_id":"5930","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5930","uid":"u595","unique_id":"36075_5930_138-u595","ivrId":"3158","channelOTime":1742054278,"channelDTime":1742054307,"channelDuration":29,"cSTime":1742054298,"cETime":1742054307,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09179525578","server_ip":"118.185.137.196","insertTime":1742054307,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054281,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5930
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5930
            [uid] => u595
            [unique_id] => 36075_5930_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054278
            [channelDTime] => 1742054307
            [channelDuration] => 29
            [cSTime] => 1742054298
            [cETime] => 1742054307
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09179525578
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054307
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054281
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2340
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.20000000000172
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29908.559999998877
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2340
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.20000000000172
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95591.68000000979
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054309
{"compaign_id":"36075","contact_id":"5903","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5903","uid":"u595","unique_id":"36075_5903_138-u595","ivrId":"3158","channelOTime":1742054273,"channelDTime":1742054308,"channelDuration":35,"cSTime":1742054294,"cETime":1742054308,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08825980099","server_ip":"118.185.137.196","insertTime":1742054308,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054276,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5903
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5903
            [uid] => u595
            [unique_id] => 36075_5903_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054273
            [channelDTime] => 1742054308
            [channelDuration] => 35
            [cSTime] => 1742054294
            [cETime] => 1742054308
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08825980099
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054308
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054276
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2341
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.28000000000173
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29908.479999998875
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2341
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.28000000000173
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95591.60000000978
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054310
{"compaign_id":"36075","contact_id":"5943","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5943","uid":"u595","unique_id":"36075_5943_138-u595","ivrId":"3158","channelOTime":1742054281,"channelDTime":1742054319,"channelDuration":38,"cSTime":1742054306,"cETime":1742054319,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06265232243","server_ip":"118.185.137.196","insertTime":1742054319,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054286,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5943
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5943
            [uid] => u595
            [unique_id] => 36075_5943_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054281
            [channelDTime] => 1742054319
            [channelDuration] => 38
            [cSTime] => 1742054306
            [cETime] => 1742054319
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06265232243
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054319
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054286
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2342
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.36000000000175
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29908.399999998874
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2342
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.36000000000175
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95591.52000000978
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054321
{"compaign_id":"36075","contact_id":"5926","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5926","uid":"u595","unique_id":"36075_5926_138-u595","ivrId":"3158","channelOTime":1742054278,"channelDTime":1742054320,"channelDuration":42,"cSTime":1742054297,"cETime":1742054320,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07801989054","server_ip":"118.185.137.196","insertTime":1742054320,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054297,"endTime":1742054320,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5926
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5926
            [uid] => u595
            [unique_id] => 36075_5926_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054278
            [channelDTime] => 1742054320
            [channelDuration] => 42
            [cSTime] => 1742054297
            [cETime] => 1742054320
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07801989054
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054320
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054297
                                    [endTime] => 1742054320
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2343
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.44000000000176
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29908.319999998872
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2343
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.44000000000176
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95591.44000000978
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054322
{"compaign_id":"36075","contact_id":"5913","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5913","uid":"u595","unique_id":"36075_5913_138-u595","ivrId":"3158","channelOTime":1742054275,"channelDTime":1742054321,"channelDuration":46,"cSTime":1742054297,"cETime":1742054321,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07384154270","server_ip":"118.185.137.196","insertTime":1742054321,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054278,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054297,"endTime":1742054321,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5913
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5913
            [uid] => u595
            [unique_id] => 36075_5913_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054275
            [channelDTime] => 1742054321
            [channelDuration] => 46
            [cSTime] => 1742054297
            [cETime] => 1742054321
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07384154270
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054321
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054278
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054297
                                    [endTime] => 1742054321
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2345
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.60000000000176
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29908.159999998872
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2345
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.60000000000176
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95591.28000000978
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054322
2025-03-15 21:29:02[LOG]Starting Cron
2025-03-15 21:29:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"5964","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5964","uid":"u595","unique_id":"36075_5964_138-u595","ivrId":"3158","channelOTime":1742054376,"channelDTime":1742054393,"channelDuration":17,"cSTime":1742054382,"cETime":1742054393,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07697289904","server_ip":"118.185.137.196","insertTime":1742054393,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054378,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5964
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5964
            [uid] => u595
            [unique_id] => 36075_5964_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054376
            [channelDTime] => 1742054393
            [channelDuration] => 17
            [cSTime] => 1742054382
            [cETime] => 1742054393
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07697289904
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054393
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054378
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2347
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.76000000000175
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29907.999999998872
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2347
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.76000000000175
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95591.12000000977
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054395
{"compaign_id":"36075","contact_id":"5989","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5989","uid":"u595","unique_id":"36075_5989_138-u595","ivrId":"3158","channelOTime":1742054381,"channelDTime":1742054397,"channelDuration":16,"cSTime":1742054392,"cETime":1742054397,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07999159793","server_ip":"118.185.137.196","insertTime":1742054397,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054383,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5989
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5989
            [uid] => u595
            [unique_id] => 36075_5989_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054381
            [channelDTime] => 1742054397
            [channelDuration] => 16
            [cSTime] => 1742054392
            [cETime] => 1742054397
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07999159793
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054397
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054383
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2348
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.84000000000177
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29907.91999999887
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2348
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.84000000000177
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95591.04000000977
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054399
{"compaign_id":"36075","contact_id":"5969","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5969","uid":"u595","unique_id":"36075_5969_138-u595","ivrId":"3158","channelOTime":1742054377,"channelDTime":1742054399,"channelDuration":22,"cSTime":1742054385,"cETime":1742054399,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07065105494","server_ip":"118.185.137.196","insertTime":1742054399,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054379,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5969
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5969
            [uid] => u595
            [unique_id] => 36075_5969_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054377
            [channelDTime] => 1742054399
            [channelDuration] => 22
            [cSTime] => 1742054385
            [cETime] => 1742054399
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07065105494
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054399
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054379
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2349
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.92000000000178
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29907.83999999887
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2349
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 187.92000000000178
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95590.96000000977
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054401
{"compaign_id":"36075","contact_id":"5963","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5963","uid":"u595","unique_id":"36075_5963_138-u595","ivrId":"3158","channelOTime":1742054376,"channelDTime":1742054400,"channelDuration":24,"cSTime":1742054390,"cETime":1742054400,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09067707326","server_ip":"118.185.137.196","insertTime":1742054400,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054387,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5963
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5963
            [uid] => u595
            [unique_id] => 36075_5963_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054376
            [channelDTime] => 1742054400
            [channelDuration] => 24
            [cSTime] => 1742054390
            [cETime] => 1742054400
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09067707326
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054400
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054387
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2350
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.0000000000018
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29907.759999998867
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2350
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.0000000000018
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95590.88000000977
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054402
{"compaign_id":"36075","contact_id":"5957","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5957","uid":"u595","unique_id":"36075_5957_138-u595","ivrId":"3158","channelOTime":1742054375,"channelDTime":1742054400,"channelDuration":25,"cSTime":1742054390,"cETime":1742054400,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08119067678","server_ip":"118.185.137.196","insertTime":1742054400,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054378,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5957
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5957
            [uid] => u595
            [unique_id] => 36075_5957_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054375
            [channelDTime] => 1742054400
            [channelDuration] => 25
            [cSTime] => 1742054390
            [cETime] => 1742054400
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08119067678
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054400
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054378
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found 2025-03-15 21:30:02[LOG]Starting Cron
2025-03-15 21:30:02[LOG]Process is already running
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2351
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.0800000000018
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29907.679999998865
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2351
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.0800000000018
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95590.80000000977
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054402
{"compaign_id":"36075","contact_id":"5951","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5951","uid":"u595","unique_id":"36075_5951_138-u595","ivrId":"3158","channelOTime":1742054374,"channelDTime":1742054401,"channelDuration":27,"cSTime":1742054380,"cETime":1742054401,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08145648423","server_ip":"118.185.137.196","insertTime":1742054401,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054375,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5951
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5951
            [uid] => u595
            [unique_id] => 36075_5951_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054374
            [channelDTime] => 1742054401
            [channelDuration] => 27
            [cSTime] => 1742054380
            [cETime] => 1742054401
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08145648423
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054401
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054375
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2352
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.16000000000182
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29907.599999998863
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2352
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.16000000000182
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95590.72000000977
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054403
{"compaign_id":"36075","contact_id":"5965","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5965","uid":"u595","unique_id":"36075_5965_138-u595","ivrId":"3158","channelOTime":1742054377,"channelDTime":1742054402,"channelDuration":25,"cSTime":1742054389,"cETime":1742054402,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08160507713","server_ip":"118.185.137.196","insertTime":1742054402,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054378,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5965
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5965
            [uid] => u595
            [unique_id] => 36075_5965_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054377
            [channelDTime] => 1742054402
            [channelDuration] => 25
            [cSTime] => 1742054389
            [cETime] => 1742054402
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08160507713
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054402
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054378
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2354
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.3200000000018
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29907.439999998864
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2354
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.3200000000018
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95590.56000000976
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054403
{"compaign_id":"36075","contact_id":"5998","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5998","uid":"u595","unique_id":"36075_5998_138-u595","ivrId":"3158","channelOTime":1742054383,"channelDTime":1742054402,"channelDuration":19,"cSTime":1742054387,"cETime":1742054402,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08595683632","server_ip":"118.185.137.196","insertTime":1742054402,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054385,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5998
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5998
            [uid] => u595
            [unique_id] => 36075_5998_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054383
            [channelDTime] => 1742054402
            [channelDuration] => 19
            [cSTime] => 1742054387
            [cETime] => 1742054402
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08595683632
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054402
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054385
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2355
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.40000000000182
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29907.359999998862
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2355
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.40000000000182
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95590.48000000976
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054404
{"compaign_id":"36075","contact_id":"5968","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5968","uid":"u595","unique_id":"36075_5968_138-u595","ivrId":"3158","channelOTime":1742054377,"channelDTime":1742054403,"channelDuration":26,"cSTime":1742054387,"cETime":1742054403,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09207396439","server_ip":"118.185.137.196","insertTime":1742054403,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054379,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5968
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5968
            [uid] => u595
            [unique_id] => 36075_5968_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054377
            [channelDTime] => 1742054403
            [channelDuration] => 26
            [cSTime] => 1742054387
            [cETime] => 1742054403
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09207396439
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054403
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054379
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2356
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.48000000000184
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29907.27999999886
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2356
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.48000000000184
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95590.40000000976
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054405
{"compaign_id":"36075","contact_id":"5974","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5974","uid":"u595","unique_id":"36075_5974_138-u595","ivrId":"3158","channelOTime":1742054378,"channelDTime":1742054405,"channelDuration":27,"cSTime":1742054403,"cETime":1742054405,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08160515080","server_ip":"118.185.137.196","insertTime":1742054405,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054380,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5974
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5974
            [uid] => u595
            [unique_id] => 36075_5974_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054378
            [channelDTime] => 1742054405
            [channelDuration] => 27
            [cSTime] => 1742054403
            [cETime] => 1742054405
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08160515080
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054405
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054380
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2358
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.64000000000183
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29907.11999999886
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2358
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.64000000000183
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95590.24000000976
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054407
{"compaign_id":"36075","contact_id":"5980","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5980","uid":"u595","unique_id":"36075_5980_138-u595","ivrId":"3158","channelOTime":1742054380,"channelDTime":1742054406,"channelDuration":26,"cSTime":1742054399,"cETime":1742054406,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09011119944","server_ip":"118.185.137.196","insertTime":1742054406,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054382,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5980
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5980
            [uid] => u595
            [unique_id] => 36075_5980_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054380
            [channelDTime] => 1742054406
            [channelDuration] => 26
            [cSTime] => 1742054399
            [cETime] => 1742054406
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09011119944
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054406
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054382
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2359
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.72000000000185
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29907.03999999886
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2359
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.72000000000185
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95590.16000000975
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054408
{"compaign_id":"36075","contact_id":"5967","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5967","uid":"u595","unique_id":"36075_5967_138-u595","ivrId":"3158","channelOTime":1742054377,"channelDTime":1742054406,"channelDuration":29,"cSTime":1742054381,"cETime":1742054406,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"06364011378","server_ip":"118.185.137.196","insertTime":1742054406,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054378,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054381,"endTime":1742054401,"duration":20}],"#3":[{"startTime":1742054401,"endTime":1742054406,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5967
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5967
            [uid] => u595
            [unique_id] => 36075_5967_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054377
            [channelDTime] => 1742054406
            [channelDuration] => 29
            [cSTime] => 1742054381
            [cETime] => 1742054406
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 06364011378
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054406
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054378
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054381
                                    [endTime] => 1742054401
                                    [duration] => 20
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054401
                                    [endTime] => 1742054406
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2360
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.80000000000186
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29906.959999998857
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2360
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.80000000000186
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95590.08000000975
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054408
{"compaign_id":"36075","contact_id":"5997","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5997","uid":"u595","unique_id":"36075_5997_138-u595","ivrId":"3158","channelOTime":1742054383,"channelDTime":1742054406,"channelDuration":23,"cSTime":1742054404,"cETime":1742054406,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09964568806","server_ip":"118.185.137.196","insertTime":1742054406,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054385,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5997
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5997
            [uid] => u595
            [unique_id] => 36075_5997_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054383
            [channelDTime] => 1742054406
            [channelDuration] => 23
            [cSTime] => 1742054404
            [cETime] => 1742054406
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09964568806
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054406
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054385
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2362
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.96000000000186
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29906.799999998857
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2362
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 188.96000000000186
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95589.92000000975
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054408
{"compaign_id":"36075","contact_id":"6035","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6035","uid":"u595","unique_id":"36075_6035_138-u595","ivrId":"3158","channelOTime":1742054398,"channelDTime":1742054408,"channelDuration":10,"cSTime":1742054405,"cETime":1742054408,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07974209301","server_ip":"118.185.137.196","insertTime":1742054408,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054400,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6035
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6035
            [uid] => u595
            [unique_id] => 36075_6035_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054398
            [channelDTime] => 1742054408
            [channelDuration] => 10
            [cSTime] => 1742054405
            [cETime] => 1742054408
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07974209301
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054408
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054400
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2363
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.04000000000187
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29906.719999998855
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2363
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.04000000000187
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95589.84000000975
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054410
{"compaign_id":"36075","contact_id":"5994","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5994","uid":"u595","unique_id":"36075_5994_138-u595","ivrId":"3158","channelOTime":1742054382,"channelDTime":1742054408,"channelDuration":26,"cSTime":1742054402,"cETime":1742054408,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07002714033","server_ip":"118.185.137.196","insertTime":1742054408,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054386,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5994
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5994
            [uid] => u595
            [unique_id] => 36075_5994_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054382
            [channelDTime] => 1742054408
            [channelDuration] => 26
            [cSTime] => 1742054402
            [cETime] => 1742054408
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07002714033
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054408
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054386
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2364
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.12000000000188
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29906.639999998853
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2364
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.12000000000188
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95589.76000000974
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054410
{"compaign_id":"36075","contact_id":"6025","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6025","uid":"u595","unique_id":"36075_6025_138-u595","ivrId":"3158","channelOTime":1742054396,"channelDTime":1742054409,"channelDuration":13,"cSTime":1742054404,"cETime":1742054409,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09074123992","server_ip":"118.185.137.196","insertTime":1742054409,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054398,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6025
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6025
            [uid] => u595
            [unique_id] => 36075_6025_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054396
            [channelDTime] => 1742054409
            [channelDuration] => 13
            [cSTime] => 1742054404
            [cETime] => 1742054409
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09074123992
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054409
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054398
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2365
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.2000000000019
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29906.55999999885
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2365
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.2000000000019
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95589.68000000974
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054411
{"compaign_id":"36075","contact_id":"6024","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6024","uid":"u595","unique_id":"36075_6024_138-u595","ivrId":"3158","channelOTime":1742054396,"channelDTime":1742054412,"channelDuration":16,"cSTime":1742054406,"cETime":1742054412,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08209174873","server_ip":"118.185.137.196","insertTime":1742054412,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054398,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6024
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6024
            [uid] => u595
            [unique_id] => 36075_6024_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054396
            [channelDTime] => 1742054412
            [channelDuration] => 16
            [cSTime] => 1742054406
            [cETime] => 1742054412
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08209174873
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054412
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054398
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2366
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.2800000000019
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29906.47999999885
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2366
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.2800000000019
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95589.60000000974
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054413
{"compaign_id":"36075","contact_id":"5961","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5961","uid":"u595","unique_id":"36075_5961_138-u595","ivrId":"3158","channelOTime":1742054376,"channelDTime":1742054412,"channelDuration":36,"cSTime":1742054387,"cETime":1742054412,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09580996480","server_ip":"118.185.137.196","insertTime":1742054412,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054378,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054387,"endTime":1742054406,"duration":19}],"#3":[{"startTime":1742054406,"endTime":1742054412,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5961
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5961
            [uid] => u595
            [unique_id] => 36075_5961_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054376
            [channelDTime] => 1742054412
            [channelDuration] => 36
            [cSTime] => 1742054387
            [cETime] => 1742054412
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09580996480
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054412
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054378
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054387
                                    [endTime] => 1742054406
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054406
                                    [endTime] => 1742054412
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2367
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.36000000000192
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29906.39999999885
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2367
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.36000000000192
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95589.52000000974
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054414
{"compaign_id":"36075","contact_id":"6037","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6037","uid":"u595","unique_id":"36075_6037_138-u595","ivrId":"3158","channelOTime":1742054399,"channelDTime":1742054414,"channelDuration":15,"cSTime":1742054411,"cETime":1742054414,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09334247685","server_ip":"118.185.137.196","insertTime":1742054414,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054401,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6037
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6037
            [uid] => u595
            [unique_id] => 36075_6037_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054399
            [channelDTime] => 1742054414
            [channelDuration] => 15
            [cSTime] => 1742054411
            [cETime] => 1742054414
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09334247685
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054414
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054401
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2369
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.52000000000191
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29906.23999999885
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2369
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.52000000000191
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95589.36000000974
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054416
{"compaign_id":"36075","contact_id":"6006","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6006","uid":"u595","unique_id":"36075_6006_138-u595","ivrId":"3158","channelOTime":1742054392,"channelDTime":1742054415,"channelDuration":23,"cSTime":1742054406,"cETime":1742054415,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09702566899","server_ip":"118.185.137.196","insertTime":1742054415,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054394,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6006
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6006
            [uid] => u595
            [unique_id] => 36075_6006_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054392
            [channelDTime] => 1742054415
            [channelDuration] => 23
            [cSTime] => 1742054406
            [cETime] => 1742054415
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09702566899
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054415
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054394
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2370
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.60000000000193
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29906.159999998847
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2370
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.60000000000193
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95589.28000000973
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054417
{"compaign_id":"36075","contact_id":"6013","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6013","uid":"u595","unique_id":"36075_6013_138-u595","ivrId":"3158","channelOTime":1742054394,"channelDTime":1742054415,"channelDuration":21,"cSTime":1742054403,"cETime":1742054415,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07309082896","server_ip":"118.185.137.196","insertTime":1742054415,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054396,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6013
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6013
            [uid] => u595
            [unique_id] => 36075_6013_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054394
            [channelDTime] => 1742054415
            [channelDuration] => 21
            [cSTime] => 1742054403
            [cETime] => 1742054415
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07309082896
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054415
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054396
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2371
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.68000000000194
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29906.079999998845
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2371
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.68000000000194
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95589.20000000973
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054417
{"compaign_id":"36075","contact_id":"6012","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6012","uid":"u595","unique_id":"36075_6012_138-u595","ivrId":"3158","channelOTime":1742054394,"channelDTime":1742054416,"channelDuration":22,"cSTime":1742054411,"cETime":1742054416,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09824102310","server_ip":"118.185.137.196","insertTime":1742054416,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054396,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6012
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6012
            [uid] => u595
            [unique_id] => 36075_6012_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054394
            [channelDTime] => 1742054416
            [channelDuration] => 22
            [cSTime] => 1742054411
            [cETime] => 1742054416
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09824102310
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054416
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054396
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2372
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.76000000000195
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29905.999999998843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2372
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.76000000000195
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95589.12000000973
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054418
{"compaign_id":"36075","contact_id":"6018","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6018","uid":"u595","unique_id":"36075_6018_138-u595","ivrId":"3158","channelOTime":1742054395,"channelDTime":1742054421,"channelDuration":26,"cSTime":1742054412,"cETime":1742054421,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07980904980","server_ip":"118.185.137.196","insertTime":1742054421,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054399,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6018
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6018
            [uid] => u595
            [unique_id] => 36075_6018_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054395
            [channelDTime] => 1742054421
            [channelDuration] => 26
            [cSTime] => 1742054412
            [cETime] => 1742054421
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07980904980
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054421
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054399
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2373
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.84000000000196
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29905.91999999884
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2373
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.84000000000196
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95589.04000000973
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054423
{"compaign_id":"36075","contact_id":"6005","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6005","uid":"u595","unique_id":"36075_6005_138-u595","ivrId":"3158","channelOTime":1742054392,"channelDTime":1742054424,"channelDuration":32,"cSTime":1742054405,"cETime":1742054424,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09726967005","server_ip":"118.185.137.196","insertTime":1742054424,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054393,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6005
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6005
            [uid] => u595
            [unique_id] => 36075_6005_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054392
            [channelDTime] => 1742054424
            [channelDuration] => 32
            [cSTime] => 1742054405
            [cETime] => 1742054424
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09726967005
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054424
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054393
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2374
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.92000000000198
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29905.83999999884
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2374
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 189.92000000000198
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95588.96000000973
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054426
{"compaign_id":"36075","contact_id":"6017","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6017","uid":"u595","unique_id":"36075_6017_138-u595","ivrId":"3158","channelOTime":1742054395,"channelDTime":1742054425,"channelDuration":30,"cSTime":1742054415,"cETime":1742054425,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06304061609","server_ip":"118.185.137.196","insertTime":1742054425,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054397,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6017
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6017
            [uid] => u595
            [unique_id] => 36075_6017_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054395
            [channelDTime] => 1742054425
            [channelDuration] => 30
            [cSTime] => 1742054415
            [cETime] => 1742054425
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06304061609
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054425
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054397
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2376
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.08000000000197
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29905.67999999884
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2376
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.08000000000197
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95588.80000000972
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054426
{"compaign_id":"36075","contact_id":"6048","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6048","uid":"u595","unique_id":"36075_6048_138-u595","ivrId":"3158","channelOTime":1742054401,"channelDTime":1742054425,"channelDuration":24,"cSTime":1742054423,"cETime":1742054425,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08431760451","server_ip":"118.185.137.196","insertTime":1742054425,"ivrData":{"#2":["5"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054404,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054423,"endTime":1742054425,"duration":2}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6048
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6048
            [uid] => u595
            [unique_id] => 36075_6048_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054401
            [channelDTime] => 1742054425
            [channelDuration] => 24
            [cSTime] => 1742054423
            [cETime] => 1742054425
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08431760451
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054425
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 5
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054404
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054423
                                    [endTime] => 1742054425
                                    [duration] => 2
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2377
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.160000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29905.599999998838
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2377
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.160000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95588.72000000972
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054427
{"compaign_id":"36075","contact_id":"6010","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6010","uid":"u595","unique_id":"36075_6010_138-u595","ivrId":"3158","channelOTime":1742054393,"channelDTime":1742054426,"channelDuration":33,"cSTime":1742054418,"cETime":1742054426,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06394689608","server_ip":"118.185.137.196","insertTime":1742054426,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054396,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6010
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6010
            [uid] => u595
            [unique_id] => 36075_6010_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054393
            [channelDTime] => 1742054426
            [channelDuration] => 33
            [cSTime] => 1742054418
            [cETime] => 1742054426
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06394689608
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054426
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054396
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2378
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.240000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29905.519999998836
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2378
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.240000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95588.64000000972
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054427
{"compaign_id":"36075","contact_id":"6020","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6020","uid":"u595","unique_id":"36075_6020_138-u595","ivrId":"3158","channelOTime":1742054395,"channelDTime":1742054426,"channelDuration":31,"cSTime":1742054402,"cETime":1742054426,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08073558294","server_ip":"118.185.137.196","insertTime":1742054426,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054399,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054402,"endTime":1742054426,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6020
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6020
            [uid] => u595
            [unique_id] => 36075_6020_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054395
            [channelDTime] => 1742054426
            [channelDuration] => 31
            [cSTime] => 1742054402
            [cETime] => 1742054426
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08073558294
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054426
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054399
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054402
                                    [endTime] => 1742054426
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2379
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.320000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29905.439999998835
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2379
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.320000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95588.56000000972
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054428
{"compaign_id":"36075","contact_id":"6031","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6031","uid":"u595","unique_id":"36075_6031_138-u595","ivrId":"3158","channelOTime":1742054397,"channelDTime":1742054426,"channelDuration":29,"cSTime":1742054409,"cETime":1742054426,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08777657983","server_ip":"118.185.137.196","insertTime":1742054426,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054400,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6031
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6031
            [uid] => u595
            [unique_id] => 36075_6031_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054397
            [channelDTime] => 1742054426
            [channelDuration] => 29
            [cSTime] => 1742054409
            [cETime] => 1742054426
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08777657983
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054426
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054400
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2381
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.480000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29905.279999998835
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2381
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.480000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95588.40000000971
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054428
{"compaign_id":"36075","contact_id":"5983","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_5983","uid":"u595","unique_id":"36075_5983_138-u595","ivrId":"3158","channelOTime":1742054380,"channelDTime":1742054427,"channelDuration":47,"cSTime":1742054404,"cETime":1742054427,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09874529313","server_ip":"118.185.137.196","insertTime":1742054427,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054387,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054404,"endTime":1742054427,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 5983
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_5983
            [uid] => u595
            [unique_id] => 36075_5983_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054380
            [channelDTime] => 1742054427
            [channelDuration] => 47
            [cSTime] => 1742054404
            [cETime] => 1742054427
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09874529313
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054427
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054387
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054404
                                    [endTime] => 1742054427
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2383
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.640000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29905.119999998835
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2383
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.640000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95588.24000000971
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054429
{"compaign_id":"36075","contact_id":"6098","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6098","uid":"u595","unique_id":"36075_6098_138-u595","ivrId":"3158","channelOTime":1742054423,"channelDTime":1742054430,"channelDuration":7,"cSTime":1742054427,"cETime":1742054430,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08459447846","server_ip":"118.185.137.196","insertTime":1742054430,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054425,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6098
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6098
            [uid] => u595
            [unique_id] => 36075_6098_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054423
            [channelDTime] => 1742054430
            [channelDuration] => 7
            [cSTime] => 1742054427
            [cETime] => 1742054430
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08459447846
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054430
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054425
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2385
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.800000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29904.959999998835
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2385
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.800000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95588.08000000971
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054432
{"compaign_id":"36075","contact_id":"6073","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6073","uid":"u595","unique_id":"36075_6073_138-u595","ivrId":"3158","channelOTime":1742054418,"channelDTime":1742054432,"channelDuration":14,"cSTime":1742054429,"cETime":1742054432,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08981269121","server_ip":"118.185.137.196","insertTime":1742054432,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054421,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6073
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6073
            [uid] => u595
            [unique_id] => 36075_6073_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054418
            [channelDTime] => 1742054432
            [channelDuration] => 14
            [cSTime] => 1742054429
            [cETime] => 1742054432
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08981269121
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054432
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054421
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2386
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.880000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29904.879999998833
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2386
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.880000000002
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95588.0000000097
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054434
{"compaign_id":"36075","contact_id":"6007","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6007","uid":"u595","unique_id":"36075_6007_138-u595","ivrId":"3158","channelOTime":1742054393,"channelDTime":1742054433,"channelDuration":40,"cSTime":1742054415,"cETime":1742054433,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06386251142","server_ip":"118.185.137.196","insertTime":1742054433,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054397,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6007
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6007
            [uid] => u595
            [unique_id] => 36075_6007_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054393
            [channelDTime] => 1742054433
            [channelDuration] => 40
            [cSTime] => 1742054415
            [cETime] => 1742054433
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06386251142
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054433
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054397
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2387
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.96000000000203
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29904.79999999883
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2387
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 190.96000000000203
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95587.9200000097
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054434
{"compaign_id":"36075","contact_id":"6092","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6092","uid":"u595","unique_id":"36075_6092_138-u595","ivrId":"3158","channelOTime":1742054422,"channelDTime":1742054434,"channelDuration":12,"cSTime":1742054429,"cETime":1742054434,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08349969639","server_ip":"118.185.137.196","insertTime":1742054434,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054424,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6092
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6092
            [uid] => u595
            [unique_id] => 36075_6092_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054422
            [channelDTime] => 1742054434
            [channelDuration] => 12
            [cSTime] => 1742054429
            [cETime] => 1742054434
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08349969639
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054434
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054424
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2389
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.12000000000202
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29904.63999999883
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2389
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.12000000000202
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95587.7600000097
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054436
{"compaign_id":"36075","contact_id":"6002","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6002","uid":"u595","unique_id":"36075_6002_138-u595","ivrId":"3158","channelOTime":1742054392,"channelDTime":1742054435,"channelDuration":43,"cSTime":1742054411,"cETime":1742054435,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07056909639","server_ip":"118.185.137.196","insertTime":1742054435,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054394,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054411,"endTime":1742054435,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6002
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6002
            [uid] => u595
            [unique_id] => 36075_6002_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054392
            [channelDTime] => 1742054435
            [channelDuration] => 43
            [cSTime] => 1742054411
            [cETime] => 1742054435
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07056909639
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054435
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054394
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054411
                                    [endTime] => 1742054435
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2390
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.20000000000203
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29904.55999999883
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2390
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.20000000000203
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95587.6800000097
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054436
{"compaign_id":"36075","contact_id":"6067","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6067","uid":"u595","unique_id":"36075_6067_138-u595","ivrId":"3158","channelOTime":1742054417,"channelDTime":1742054436,"channelDuration":19,"cSTime":1742054430,"cETime":1742054436,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08437660892","server_ip":"118.185.137.196","insertTime":1742054436,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054419,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6067
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6067
            [uid] => u595
            [unique_id] => 36075_6067_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054417
            [channelDTime] => 1742054436
            [channelDuration] => 19
            [cSTime] => 1742054430
            [cETime] => 1742054436
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08437660892
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054436
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054419
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2392
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.36000000000203
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29904.39999999883
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2392
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.36000000000203
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95587.5200000097
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054438
{"compaign_id":"36075","contact_id":"6085","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6085","uid":"u595","unique_id":"36075_6085_138-u595","ivrId":"3158","channelOTime":1742054421,"channelDTime":1742054437,"channelDuration":16,"cSTime":1742054430,"cETime":1742054437,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07430882690","server_ip":"118.185.137.196","insertTime":1742054437,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054424,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6085
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6085
            [uid] => u595
            [unique_id] => 36075_6085_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054421
            [channelDTime] => 1742054437
            [channelDuration] => 16
            [cSTime] => 1742054430
            [cETime] => 1742054437
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07430882690
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054437
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054424
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2393
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.44000000000204
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29904.31999999883
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2393
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.44000000000204
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95587.4400000097
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054439
{"compaign_id":"36075","contact_id":"6079","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6079","uid":"u595","unique_id":"36075_6079_138-u595","ivrId":"3158","channelOTime":1742054420,"channelDTime":1742054438,"channelDuration":18,"cSTime":1742054428,"cETime":1742054438,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08185021552","server_ip":"118.185.137.196","insertTime":1742054438,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054422,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6079
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6079
            [uid] => u595
            [unique_id] => 36075_6079_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054420
            [channelDTime] => 1742054438
            [channelDuration] => 18
            [cSTime] => 1742054428
            [cETime] => 1742054438
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08185021552
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054438
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054422
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2394
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.52000000000206
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29904.239999998827
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2394
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.52000000000206
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95587.36000000969
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054440
{"compaign_id":"36075","contact_id":"6034","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6034","uid":"u595","unique_id":"36075_6034_138-u595","ivrId":"3158","channelOTime":1742054398,"channelDTime":1742054438,"channelDuration":40,"cSTime":1742054423,"cETime":1742054438,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08817341187","server_ip":"118.185.137.196","insertTime":1742054438,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054400,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6034
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6034
            [uid] => u595
            [unique_id] => 36075_6034_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054398
            [channelDTime] => 1742054438
            [channelDuration] => 40
            [cSTime] => 1742054423
            [cETime] => 1742054438
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08817341187
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054438
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054400
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2395
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.60000000000207
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29904.159999998825
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2395
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.60000000000207
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95587.28000000969
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054440
{"compaign_id":"36075","contact_id":"6062","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6062","uid":"u595","unique_id":"36075_6062_138-u595","ivrId":"3158","channelOTime":1742054416,"channelDTime":1742054438,"channelDuration":22,"cSTime":1742054434,"cETime":1742054438,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07807279455","server_ip":"118.185.137.196","insertTime":1742054438,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054421,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6062
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6062
            [uid] => u595
            [unique_id] => 36075_6062_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054416
            [channelDTime] => 1742054438
            [channelDuration] => 22
            [cSTime] => 1742054434
            [cETime] => 1742054438
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07807279455
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054438
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054421
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2396
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.68000000000208
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29904.079999998823
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2396
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.68000000000208
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95587.20000000969
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054440
{"compaign_id":"36075","contact_id":"6060","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6060","uid":"u595","unique_id":"36075_6060_138-u595","ivrId":"3158","channelOTime":1742054416,"channelDTime":1742054439,"channelDuration":23,"cSTime":1742054433,"cETime":1742054439,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08002187879","server_ip":"118.185.137.196","insertTime":1742054439,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054422,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6060
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6060
            [uid] => u595
            [unique_id] => 36075_6060_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054416
            [channelDTime] => 1742054439
            [channelDuration] => 23
            [cSTime] => 1742054433
            [cETime] => 1742054439
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08002187879
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054439
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054422
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2397
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.7600000000021
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29903.99999999882
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2397
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.7600000000021
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95587.12000000969
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054441
{"compaign_id":"36075","contact_id":"6057","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6057","uid":"u595","unique_id":"36075_6057_138-u595","ivrId":"3158","channelOTime":1742054415,"channelDTime":1742054445,"channelDuration":30,"cSTime":1742054439,"cETime":1742054445,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06302499589","server_ip":"118.185.137.196","insertTime":1742054445,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054418,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6057
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6057
            [uid] => u595
            [unique_id] => 36075_6057_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054415
            [channelDTime] => 1742054445
            [channelDuration] => 30
            [cSTime] => 1742054439
            [cETime] => 1742054445
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06302499589
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054445
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054418
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2398
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.8400000000021
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29903.91999999882
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2398
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.8400000000021
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95587.04000000969
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054446
{"compaign_id":"36075","contact_id":"6090","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6090","uid":"u595","unique_id":"36075_6090_138-u595","ivrId":"3158","channelOTime":1742054422,"channelDTime":1742054445,"channelDuration":23,"cSTime":1742054430,"cETime":1742054445,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06206818466","server_ip":"118.185.137.196","insertTime":1742054445,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054423,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6090
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6090
            [uid] => u595
            [unique_id] => 36075_6090_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054422
            [channelDTime] => 1742054445
            [channelDuration] => 23
            [cSTime] => 1742054430
            [cETime] => 1742054445
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06206818466
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054445
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054423
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2399
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.92000000000212
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29903.839999998818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2399
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 191.92000000000212
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95586.96000000968
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054447
{"compaign_id":"36075","contact_id":"6088","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6088","uid":"u595","unique_id":"36075_6088_138-u595","ivrId":"3158","channelOTime":1742054421,"channelDTime":1742054447,"channelDuration":26,"cSTime":1742054424,"cETime":1742054447,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08882404681","server_ip":"118.185.137.196","insertTime":1742054447,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054424,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054424,"endTime":1742054447,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6088
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6088
            [uid] => u595
            [unique_id] => 36075_6088_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054421
            [channelDTime] => 1742054447
            [channelDuration] => 26
            [cSTime] => 1742054424
            [cETime] => 1742054447
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08882404681
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054447
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054424
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054424
                                    [endTime] => 1742054447
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2400
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.00000000000213
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29903.759999998816
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2400
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.00000000000213
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95586.88000000968
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054449
{"compaign_id":"36075","contact_id":"6071","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6071","uid":"u595","unique_id":"36075_6071_138-u595","ivrId":"3158","channelOTime":1742054418,"channelDTime":1742054448,"channelDuration":30,"cSTime":1742054431,"cETime":1742054448,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07338653198","server_ip":"118.185.137.196","insertTime":1742054448,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054420,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6071
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6071
            [uid] => u595
            [unique_id] => 36075_6071_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054418
            [channelDTime] => 1742054448
            [channelDuration] => 30
            [cSTime] => 1742054431
            [cETime] => 1742054448
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07338653198
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054448
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054420
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2402
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.16000000000213
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29903.599999998816
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2402
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.16000000000213
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95586.72000000968
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054449
{"compaign_id":"36075","contact_id":"6123","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6123","uid":"u595","unique_id":"36075_6123_138-u595","ivrId":"3158","channelOTime":1742054436,"channelDTime":1742054451,"channelDuration":15,"cSTime":1742054446,"cETime":1742054451,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09515840576","server_ip":"118.185.137.196","insertTime":1742054451,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054438,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6123
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6123
            [uid] => u595
            [unique_id] => 36075_6123_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054436
            [channelDTime] => 1742054451
            [channelDuration] => 15
            [cSTime] => 1742054446
            [cETime] => 1742054451
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09515840576
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054451
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054438
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2404
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.32000000000212
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29903.439999998816
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2404
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.32000000000212
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95586.56000000967
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054453
{"compaign_id":"36075","contact_id":"6095","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6095","uid":"u595","unique_id":"36075_6095_138-u595","ivrId":"3158","channelOTime":1742054423,"channelDTime":1742054452,"channelDuration":29,"cSTime":1742054434,"cETime":1742054452,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09193766622","server_ip":"118.185.137.196","insertTime":1742054452,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054426,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6095
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6095
            [uid] => u595
            [unique_id] => 36075_6095_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054423
            [channelDTime] => 1742054452
            [channelDuration] => 29
            [cSTime] => 1742054434
            [cETime] => 1742054452
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09193766622
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054452
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054426
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2405
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.40000000000214
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29903.359999998815
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2405
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.40000000000214
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95586.48000000967
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054454
{"compaign_id":"36075","contact_id":"6131","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6131","uid":"u595","unique_id":"36075_6131_138-u595","ivrId":"3158","channelOTime":1742054437,"channelDTime":1742054452,"channelDuration":15,"cSTime":1742054446,"cETime":1742054452,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09053356725","server_ip":"118.185.137.196","insertTime":1742054452,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054439,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6131
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6131
            [uid] => u595
            [unique_id] => 36075_6131_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054437
            [channelDTime] => 1742054452
            [channelDuration] => 15
            [cSTime] => 1742054446
            [cETime] => 1742054452
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09053356725
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054452
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054439
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2407
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.56000000000213
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29903.199999998815
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2407
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.56000000000213
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95586.32000000967
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054454
{"compaign_id":"36075","contact_id":"6105","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6105","uid":"u595","unique_id":"36075_6105_138-u595","ivrId":"3158","channelOTime":1742054432,"channelDTime":1742054454,"channelDuration":22,"cSTime":1742054445,"cETime":1742054454,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09763816672","server_ip":"118.185.137.196","insertTime":1742054454,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054433,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6105
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6105
            [uid] => u595
            [unique_id] => 36075_6105_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054432
            [channelDTime] => 1742054454
            [channelDuration] => 22
            [cSTime] => 1742054445
            [cETime] => 1742054454
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09763816672
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054454
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054433
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2408
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.64000000000215
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29903.119999998813
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2408
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.64000000000215
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95586.24000000967
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054456
{"compaign_id":"36075","contact_id":"6112","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6112","uid":"u595","unique_id":"36075_6112_138-u595","ivrId":"3158","channelOTime":1742054433,"channelDTime":1742054454,"channelDuration":21,"cSTime":1742054447,"cETime":1742054454,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09142272209","server_ip":"118.185.137.196","insertTime":1742054454,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054436,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6112
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6112
            [uid] => u595
            [unique_id] => 36075_6112_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054433
            [channelDTime] => 1742054454
            [channelDuration] => 21
            [cSTime] => 1742054447
            [cETime] => 1742054454
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09142272209
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054454
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054436
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2409
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.72000000000216
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29903.03999999881
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2409
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.72000000000216
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95586.16000000967
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054456
{"compaign_id":"36075","contact_id":"6141","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6141","uid":"u595","unique_id":"36075_6141_138-u595","ivrId":"3158","channelOTime":1742054439,"channelDTime":1742054454,"channelDuration":15,"cSTime":1742054446,"cETime":1742054454,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09664053405","server_ip":"118.185.137.196","insertTime":1742054454,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054441,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6141
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6141
            [uid] => u595
            [unique_id] => 36075_6141_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054439
            [channelDTime] => 1742054454
            [channelDuration] => 15
            [cSTime] => 1742054446
            [cETime] => 1742054454
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09664053405
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054454
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054441
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2410
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.80000000000217
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29902.95999999881
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2410
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.80000000000217
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95586.08000000966
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054456
{"compaign_id":"36075","contact_id":"6127","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6127","uid":"u595","unique_id":"36075_6127_138-u595","ivrId":"3158","channelOTime":1742054436,"channelDTime":1742054455,"channelDuration":19,"cSTime":1742054447,"cETime":1742054455,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09591692369","server_ip":"118.185.137.196","insertTime":1742054455,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054439,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6127
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6127
            [uid] => u595
            [unique_id] => 36075_6127_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054436
            [channelDTime] => 1742054455
            [channelDuration] => 19
            [cSTime] => 1742054447
            [cETime] => 1742054455
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09591692369
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054455
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054439
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2411
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.88000000000218
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29902.879999998808
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2411
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.88000000000218
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95586.00000000966
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054456
{"compaign_id":"36075","contact_id":"6077","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6077","uid":"u595","unique_id":"36075_6077_138-u595","ivrId":"3158","channelOTime":1742054419,"channelDTime":1742054455,"channelDuration":36,"cSTime":1742054433,"cETime":1742054455,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09571045538","server_ip":"118.185.137.196","insertTime":1742054455,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054423,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054433,"endTime":1742054456,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6077
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6077
            [uid] => u595
            [unique_id] => 36075_6077_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054419
            [channelDTime] => 1742054455
            [channelDuration] => 36
            [cSTime] => 1742054433
            [cETime] => 1742054455
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09571045538
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054455
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054423
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054433
                                    [endTime] => 1742054456
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2412
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.9600000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29902.799999998806
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2412
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 192.9600000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95585.92000000966
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054456
{"compaign_id":"36075","contact_id":"6058","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6058","uid":"u595","unique_id":"36075_6058_138-u595","ivrId":"3158","channelOTime":1742054415,"channelDTime":1742054456,"channelDuration":41,"cSTime":1742054433,"cETime":1742054456,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07838104937","server_ip":"118.185.137.196","insertTime":1742054456,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054418,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054433,"endTime":1742054456,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6058
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6058
            [uid] => u595
            [unique_id] => 36075_6058_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054415
            [channelDTime] => 1742054456
            [channelDuration] => 41
            [cSTime] => 1742054433
            [cETime] => 1742054456
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07838104937
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054456
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054418
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054433
                                    [endTime] => 1742054456
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2414
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.1200000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29902.639999998806
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2414
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.1200000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95585.76000000966
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054458
{"compaign_id":"36075","contact_id":"6103","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6103","uid":"u595","unique_id":"36075_6103_138-u595","ivrId":"3158","channelOTime":1742054432,"channelDTime":1742054458,"channelDuration":26,"cSTime":1742054449,"cETime":1742054458,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08810544716","server_ip":"118.185.137.196","insertTime":1742054458,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054435,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6103
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6103
            [uid] => u595
            [unique_id] => 36075_6103_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054432
            [channelDTime] => 1742054458
            [channelDuration] => 26
            [cSTime] => 1742054449
            [cETime] => 1742054458
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08810544716
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054458
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054435
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2416
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.2800000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29902.479999998806
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2416
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.2800000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95585.60000000965
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054459
{"compaign_id":"36075","contact_id":"6148","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6148","uid":"u595","unique_id":"36075_6148_138-u595","ivrId":"3158","channelOTime":1742054441,"channelDTime":1742054458,"channelDuration":17,"cSTime":1742054448,"cETime":1742054458,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09315696256","server_ip":"118.185.137.196","insertTime":1742054458,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054442,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6148
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6148
            [uid] => u595
            [unique_id] => 36075_6148_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054441
            [channelDTime] => 1742054458
            [channelDuration] => 17
            [cSTime] => 1742054448
            [cETime] => 1742054458
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09315696256
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054458
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054442
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2417
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.3600000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29902.399999998805
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2417
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.3600000000022
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95585.52000000965
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054460
2025-03-15 21:31:02[LOG]Starting Cron
2025-03-15 21:31:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"6144","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6144","uid":"u595","unique_id":"36075_6144_138-u595","ivrId":"3158","channelOTime":1742054440,"channelDTime":1742054462,"channelDuration":22,"cSTime":1742054453,"cETime":1742054462,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09207445906","server_ip":"118.185.137.196","insertTime":1742054462,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054444,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6144
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6144
            [uid] => u595
            [unique_id] => 36075_6144_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054440
            [channelDTime] => 1742054462
            [channelDuration] => 22
            [cSTime] => 1742054453
            [cETime] => 1742054462
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09207445906
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054462
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054444
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2418
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.44000000000221
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29902.319999998803
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2418
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.44000000000221
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95585.44000000965
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054464
{"compaign_id":"36075","contact_id":"6134","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6134","uid":"u595","unique_id":"36075_6134_138-u595","ivrId":"3158","channelOTime":1742054438,"channelDTime":1742054463,"channelDuration":25,"cSTime":1742054455,"cETime":1742054463,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09789968840","server_ip":"118.185.137.196","insertTime":1742054463,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054441,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6134
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6134
            [uid] => u595
            [unique_id] => 36075_6134_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054438
            [channelDTime] => 1742054463
            [channelDuration] => 25
            [cSTime] => 1742054455
            [cETime] => 1742054463
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09789968840
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054463
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054441
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2419
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.52000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29902.2399999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2419
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.52000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95585.36000000965
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054465
{"compaign_id":"36075","contact_id":"6076","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6076","uid":"u595","unique_id":"36075_6076_138-u595","ivrId":"3158","channelOTime":1742054419,"channelDTime":1742054465,"channelDuration":46,"cSTime":1742054442,"cETime":1742054465,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09651384525","server_ip":"118.185.137.196","insertTime":1742054465,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054422,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054442,"endTime":1742054465,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6076
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6076
            [uid] => u595
            [unique_id] => 36075_6076_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054419
            [channelDTime] => 1742054465
            [channelDuration] => 46
            [cSTime] => 1742054442
            [cETime] => 1742054465
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09651384525
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054465
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054422
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054442
                                    [endTime] => 1742054465
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2420
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.60000000000224
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29902.1599999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2420
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.60000000000224
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95585.28000000965
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054467
{"compaign_id":"36075","contact_id":"6081","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6081","uid":"u595","unique_id":"36075_6081_138-u595","ivrId":"3158","channelOTime":1742054420,"channelDTime":1742054466,"channelDuration":46,"cSTime":1742054442,"cETime":1742054466,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06304423465","server_ip":"118.185.137.196","insertTime":1742054466,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054421,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054442,"endTime":1742054466,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6081
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6081
            [uid] => u595
            [unique_id] => 36075_6081_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054420
            [channelDTime] => 1742054466
            [channelDuration] => 46
            [cSTime] => 1742054442
            [cETime] => 1742054466
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06304423465
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054466
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054421
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054442
                                    [endTime] => 1742054466
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2422
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.76000000000224
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29901.9999999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2422
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.76000000000224
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95585.12000000964
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054467
{"compaign_id":"36075","contact_id":"6100","total_duration":"27","answer_duration":27,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6100","uid":"u595","unique_id":"36075_6100_138-u595","ivrId":"3158","channelOTime":1742054431,"channelDTime":1742054466,"channelDuration":35,"cSTime":1742054439,"cETime":1742054466,"cDuration":27,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07478445104","server_ip":"118.185.137.196","insertTime":1742054466,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054433,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054439,"endTime":1742054460,"duration":21}],"#3":[{"startTime":1742054460,"endTime":1742054466,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6100
    [total_duration] => 27
    [answer_duration] => 27
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6100
            [uid] => u595
            [unique_id] => 36075_6100_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054431
            [channelDTime] => 1742054466
            [channelDuration] => 35
            [cSTime] => 1742054439
            [cETime] => 1742054466
            [cDuration] => 27
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07478445104
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054466
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054433
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054439
                                    [endTime] => 1742054460
                                    [duration] => 21
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054460
                                    [endTime] => 1742054466
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2424
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.92000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29901.8399999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2424
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 193.92000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95584.96000000964
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054468
{"compaign_id":"36075","contact_id":"6116","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6116","uid":"u595","unique_id":"36075_6116_138-u595","ivrId":"3158","channelOTime":1742054434,"channelDTime":1742054467,"channelDuration":33,"cSTime":1742054444,"cETime":1742054467,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09326587847","server_ip":"118.185.137.196","insertTime":1742054467,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054438,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054444,"endTime":1742054467,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6116
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6116
            [uid] => u595
            [unique_id] => 36075_6116_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054434
            [channelDTime] => 1742054467
            [channelDuration] => 33
            [cSTime] => 1742054444
            [cETime] => 1742054467
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09326587847
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054467
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054438
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054444
                                    [endTime] => 1742054467
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2426
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.08000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29901.6799999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2426
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.08000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95584.80000000964
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054469
{"compaign_id":"36075","contact_id":"6118","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6118","uid":"u595","unique_id":"36075_6118_138-u595","ivrId":"3158","channelOTime":1742054435,"channelDTime":1742054467,"channelDuration":32,"cSTime":1742054444,"cETime":1742054467,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09506953076","server_ip":"118.185.137.196","insertTime":1742054467,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054438,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054444,"endTime":1742054467,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6118
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6118
            [uid] => u595
            [unique_id] => 36075_6118_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054435
            [channelDTime] => 1742054467
            [channelDuration] => 32
            [cSTime] => 1742054444
            [cETime] => 1742054467
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09506953076
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054467
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054438
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054444
                                    [endTime] => 1742054467
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2428
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.24000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29901.5199999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2428
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.24000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95584.64000000963
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054469
{"compaign_id":"36075","contact_id":"6096","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6096","uid":"u595","unique_id":"36075_6096_138-u595","ivrId":"3158","channelOTime":1742054423,"channelDTime":1742054467,"channelDuration":44,"cSTime":1742054444,"cETime":1742054467,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07085107634","server_ip":"118.185.137.196","insertTime":1742054467,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054425,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054444,"endTime":1742054467,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6096
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6096
            [uid] => u595
            [unique_id] => 36075_6096_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054423
            [channelDTime] => 1742054467
            [channelDuration] => 44
            [cSTime] => 1742054444
            [cETime] => 1742054467
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07085107634
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054467
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054425
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054444
                                    [endTime] => 1742054467
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2430
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.40000000000222
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29901.3599999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2430
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.40000000000222
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95584.48000000963
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054469
{"compaign_id":"36075","contact_id":"6117","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6117","uid":"u595","unique_id":"36075_6117_138-u595","ivrId":"3158","channelOTime":1742054434,"channelDTime":1742054469,"channelDuration":35,"cSTime":1742054450,"cETime":1742054469,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07608980393","server_ip":"118.185.137.196","insertTime":1742054469,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054438,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6117
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6117
            [uid] => u595
            [unique_id] => 36075_6117_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054434
            [channelDTime] => 1742054469
            [channelDuration] => 35
            [cSTime] => 1742054450
            [cETime] => 1742054469
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07608980393
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054469
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054438
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2432
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.56000000000222
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29901.1999999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2432
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.56000000000222
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95584.32000000963
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054471
{"compaign_id":"36075","contact_id":"6145","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6145","uid":"u595","unique_id":"36075_6145_138-u595","ivrId":"3158","channelOTime":1742054440,"channelDTime":1742054470,"channelDuration":30,"cSTime":1742054457,"cETime":1742054470,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08650509693","server_ip":"118.185.137.196","insertTime":1742054470,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054444,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6145
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6145
            [uid] => u595
            [unique_id] => 36075_6145_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054440
            [channelDTime] => 1742054470
            [channelDuration] => 30
            [cSTime] => 1742054457
            [cETime] => 1742054470
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08650509693
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054470
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054444
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2434
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.72000000000222
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29901.0399999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2434
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.72000000000222
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95584.16000000962
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054471
{"compaign_id":"36075","contact_id":"6151","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6151","uid":"u595","unique_id":"36075_6151_138-u595","ivrId":"3158","channelOTime":1742054454,"channelDTime":1742054470,"channelDuration":16,"cSTime":1742054463,"cETime":1742054470,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08825054158","server_ip":"118.185.137.196","insertTime":1742054470,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054457,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6151
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6151
            [uid] => u595
            [unique_id] => 36075_6151_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054454
            [channelDTime] => 1742054470
            [channelDuration] => 16
            [cSTime] => 1742054463
            [cETime] => 1742054470
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08825054158
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054470
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054457
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2435
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.80000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29900.9599999988
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2435
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.80000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95584.08000000962
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054472
{"compaign_id":"36075","contact_id":"6137","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6137","uid":"u595","unique_id":"36075_6137_138-u595","ivrId":"3158","channelOTime":1742054438,"channelDTime":1742054470,"channelDuration":32,"cSTime":1742054450,"cETime":1742054470,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09916031179","server_ip":"118.185.137.196","insertTime":1742054470,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054441,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6137
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6137
            [uid] => u595
            [unique_id] => 36075_6137_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054438
            [channelDTime] => 1742054470
            [channelDuration] => 32
            [cSTime] => 1742054450
            [cETime] => 1742054470
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09916031179
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054470
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054441
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2436
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.88000000000224
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29900.879999998797
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2436
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 194.88000000000224
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95584.00000000962
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054472
{"compaign_id":"36075","contact_id":"6120","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6120","uid":"u595","unique_id":"36075_6120_138-u595","ivrId":"3158","channelOTime":1742054435,"channelDTime":1742054475,"channelDuration":40,"cSTime":1742054451,"cETime":1742054475,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09001333348","server_ip":"118.185.137.196","insertTime":1742054475,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054437,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054451,"endTime":1742054475,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6120
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6120
            [uid] => u595
            [unique_id] => 36075_6120_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054435
            [channelDTime] => 1742054475
            [channelDuration] => 40
            [cSTime] => 1742054451
            [cETime] => 1742054475
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09001333348
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054475
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054437
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054451
                                    [endTime] => 1742054475
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2438
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.04000000000224
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29900.719999998797
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2438
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.04000000000224
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95583.84000000962
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054477
{"compaign_id":"36075","contact_id":"6115","total_duration":"27","answer_duration":27,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6115","uid":"u595","unique_id":"36075_6115_138-u595","ivrId":"3158","channelOTime":1742054434,"channelDTime":1742054477,"channelDuration":43,"cSTime":1742054450,"cETime":1742054477,"cDuration":27,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09718772469","server_ip":"118.185.137.196","insertTime":1742054477,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054436,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054450,"endTime":1742054471,"duration":21}],"#3":[{"startTime":1742054471,"endTime":1742054477,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6115
    [total_duration] => 27
    [answer_duration] => 27
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6115
            [uid] => u595
            [unique_id] => 36075_6115_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054434
            [channelDTime] => 1742054477
            [channelDuration] => 43
            [cSTime] => 1742054450
            [cETime] => 1742054477
            [cDuration] => 27
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09718772469
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054477
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054436
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054450
                                    [endTime] => 1742054471
                                    [duration] => 21
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054471
                                    [endTime] => 1742054477
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2440
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.20000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29900.559999998797
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2440
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.20000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95583.68000000961
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054478
{"compaign_id":"36075","contact_id":"6198","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6198","uid":"u595","unique_id":"36075_6198_138-u595","ivrId":"3158","channelOTime":1742054463,"channelDTime":1742054478,"channelDuration":15,"cSTime":1742054469,"cETime":1742054478,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07249043457","server_ip":"118.185.137.196","insertTime":1742054478,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054465,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6198
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6198
            [uid] => u595
            [unique_id] => 36075_6198_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054463
            [channelDTime] => 1742054478
            [channelDuration] => 15
            [cSTime] => 1742054469
            [cETime] => 1742054478
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07249043457
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054478
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054465
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2442
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.36000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29900.399999998797
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2442
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.36000000000223
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95583.52000000961
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054480
{"compaign_id":"36075","contact_id":"6178","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6178","uid":"u595","unique_id":"36075_6178_138-u595","ivrId":"3158","channelOTime":1742054459,"channelDTime":1742054479,"channelDuration":20,"cSTime":1742054469,"cETime":1742054479,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07019034353","server_ip":"118.185.137.196","insertTime":1742054479,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054462,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6178
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6178
            [uid] => u595
            [unique_id] => 36075_6178_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054459
            [channelDTime] => 1742054479
            [channelDuration] => 20
            [cSTime] => 1742054469
            [cETime] => 1742054479
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07019034353
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054479
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054462
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2443
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.44000000000224
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29900.319999998796
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2443
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.44000000000224
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95583.4400000096
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054480
{"compaign_id":"36075","contact_id":"6181","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6181","uid":"u595","unique_id":"36075_6181_138-u595","ivrId":"3158","channelOTime":1742054460,"channelDTime":1742054481,"channelDuration":21,"cSTime":1742054476,"cETime":1742054481,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09108845745","server_ip":"118.185.137.196","insertTime":1742054481,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054462,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6181
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6181
            [uid] => u595
            [unique_id] => 36075_6181_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054460
            [channelDTime] => 1742054481
            [channelDuration] => 21
            [cSTime] => 1742054476
            [cETime] => 1742054481
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09108845745
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054481
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054462
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2444
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.52000000000226
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29900.239999998794
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2444
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.52000000000226
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95583.3600000096
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054482
{"compaign_id":"36075","contact_id":"6140","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6140","uid":"u595","unique_id":"36075_6140_138-u595","ivrId":"3158","channelOTime":1742054439,"channelDTime":1742054485,"channelDuration":46,"cSTime":1742054461,"cETime":1742054485,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07309388005","server_ip":"118.185.137.196","insertTime":1742054485,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054442,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054461,"endTime":1742054485,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6140
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6140
            [uid] => u595
            [unique_id] => 36075_6140_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054439
            [channelDTime] => 1742054485
            [channelDuration] => 46
            [cSTime] => 1742054461
            [cETime] => 1742054485
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07309388005
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054485
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054442
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054461
                                    [endTime] => 1742054485
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2445
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.60000000000227
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29900.159999998792
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2445
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.60000000000227
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95583.2800000096
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054487
{"compaign_id":"36075","contact_id":"6218","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6218","uid":"u595","unique_id":"36075_6218_138-u595","ivrId":"3158","channelOTime":1742054475,"channelDTime":1742054485,"channelDuration":10,"cSTime":1742054482,"cETime":1742054485,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08010216226","server_ip":"118.185.137.196","insertTime":1742054485,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054476,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6218
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6218
            [uid] => u595
            [unique_id] => 36075_6218_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054475
            [channelDTime] => 1742054485
            [channelDuration] => 10
            [cSTime] => 1742054482
            [cETime] => 1742054485
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08010216226
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054485
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054476
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2447
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.76000000000226
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29899.999999998792
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2447
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.76000000000226
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95583.1200000096
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054487
{"compaign_id":"36075","contact_id":"6225","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6225","uid":"u595","unique_id":"36075_6225_138-u595","ivrId":"3158","channelOTime":1742054476,"channelDTime":1742054489,"channelDuration":13,"cSTime":1742054486,"cETime":1742054489,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09924734800","server_ip":"118.185.137.196","insertTime":1742054489,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054477,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6225
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6225
            [uid] => u595
            [unique_id] => 36075_6225_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054476
            [channelDTime] => 1742054489
            [channelDuration] => 13
            [cSTime] => 1742054486
            [cETime] => 1742054489
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09924734800
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054489
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054477
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2448
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.84000000000228
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29899.91999999879
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2448
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.84000000000228
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95583.0400000096
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054490
{"compaign_id":"36075","contact_id":"6177","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6177","uid":"u595","unique_id":"36075_6177_138-u595","ivrId":"3158","channelOTime":1742054459,"channelDTime":1742054490,"channelDuration":31,"cSTime":1742054468,"cETime":1742054490,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09380296146","server_ip":"118.185.137.196","insertTime":1742054490,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054466,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054468,"endTime":1742054486,"duration":18}],"#3":[{"startTime":1742054486,"endTime":1742054490,"duration":4}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6177
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6177
            [uid] => u595
            [unique_id] => 36075_6177_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054459
            [channelDTime] => 1742054490
            [channelDuration] => 31
            [cSTime] => 1742054468
            [cETime] => 1742054490
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09380296146
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054490
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054466
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054468
                                    [endTime] => 1742054486
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054486
                                    [endTime] => 1742054490
                                    [duration] => 4
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2449
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.9200000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29899.83999999879
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2449
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 195.9200000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95582.9600000096
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054492
{"compaign_id":"36075","contact_id":"6237","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6237","uid":"u595","unique_id":"36075_6237_138-u595","ivrId":"3158","channelOTime":1742054478,"channelDTime":1742054490,"channelDuration":12,"cSTime":1742054487,"cETime":1742054490,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09718993148","server_ip":"118.185.137.196","insertTime":1742054490,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054480,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6237
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6237
            [uid] => u595
            [unique_id] => 36075_6237_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054478
            [channelDTime] => 1742054490
            [channelDuration] => 12
            [cSTime] => 1742054487
            [cETime] => 1742054490
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09718993148
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054490
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054480
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2451
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.0800000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29899.67999999879
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2451
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.0800000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95582.80000000959
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054492
{"compaign_id":"36075","contact_id":"6234","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6234","uid":"u595","unique_id":"36075_6234_138-u595","ivrId":"3158","channelOTime":1742054478,"channelDTime":1742054491,"channelDuration":13,"cSTime":1742054486,"cETime":1742054491,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07860073117","server_ip":"118.185.137.196","insertTime":1742054491,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054479,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6234
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6234
            [uid] => u595
            [unique_id] => 36075_6234_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054478
            [channelDTime] => 1742054491
            [channelDuration] => 13
            [cSTime] => 1742054486
            [cETime] => 1742054491
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07860073117
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054491
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054479
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2452
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.1600000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29899.599999998787
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2452
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.1600000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95582.72000000959
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054493
{"compaign_id":"36075","contact_id":"6201","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6201","uid":"u595","unique_id":"36075_6201_138-u595","ivrId":"3158","channelOTime":1742054471,"channelDTime":1742054491,"channelDuration":20,"cSTime":1742054485,"cETime":1742054491,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06001304172","server_ip":"118.185.137.196","insertTime":1742054491,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054473,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6201
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6201
            [uid] => u595
            [unique_id] => 36075_6201_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054471
            [channelDTime] => 1742054491
            [channelDuration] => 20
            [cSTime] => 1742054485
            [cETime] => 1742054491
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06001304172
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054491
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054473
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2453
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.2400000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29899.519999998785
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2453
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.2400000000023
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95582.64000000959
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054493
{"compaign_id":"36075","contact_id":"6220","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6220","uid":"u595","unique_id":"36075_6220_138-u595","ivrId":"3158","channelOTime":1742054475,"channelDTime":1742054492,"channelDuration":17,"cSTime":1742054486,"cETime":1742054492,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07006307955","server_ip":"118.185.137.196","insertTime":1742054492,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054478,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6220
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6220
            [uid] => u595
            [unique_id] => 36075_6220_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054475
            [channelDTime] => 1742054492
            [channelDuration] => 17
            [cSTime] => 1742054486
            [cETime] => 1742054492
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07006307955
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054492
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054478
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2454
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.32000000000232
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29899.439999998784
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2454
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.32000000000232
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95582.56000000959
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054494
{"compaign_id":"36075","contact_id":"6217","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6217","uid":"u595","unique_id":"36075_6217_138-u595","ivrId":"3158","channelOTime":1742054474,"channelDTime":1742054494,"channelDuration":20,"cSTime":1742054484,"cETime":1742054494,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07092424767","server_ip":"118.185.137.196","insertTime":1742054494,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054475,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6217
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6217
            [uid] => u595
            [unique_id] => 36075_6217_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054474
            [channelDTime] => 1742054494
            [channelDuration] => 20
            [cSTime] => 1742054484
            [cETime] => 1742054494
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07092424767
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054494
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054475
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2455
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.40000000000234
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29899.359999998782
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2455
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.40000000000234
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95582.48000000959
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054495
{"compaign_id":"36075","contact_id":"6210","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6210","uid":"u595","unique_id":"36075_6210_138-u595","ivrId":"3158","channelOTime":1742054473,"channelDTime":1742054494,"channelDuration":21,"cSTime":1742054486,"cETime":1742054494,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09032722358","server_ip":"118.185.137.196","insertTime":1742054494,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054475,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6210
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6210
            [uid] => u595
            [unique_id] => 36075_6210_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054473
            [channelDTime] => 1742054494
            [channelDuration] => 21
            [cSTime] => 1742054486
            [cETime] => 1742054494
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09032722358
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054494
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054475
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2456
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.48000000000235
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29899.27999999878
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2456
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.48000000000235
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95582.40000000958
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054496
{"compaign_id":"36075","contact_id":"6235","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6235","uid":"u595","unique_id":"36075_6235_138-u595","ivrId":"3158","channelOTime":1742054478,"channelDTime":1742054496,"channelDuration":18,"cSTime":1742054490,"cETime":1742054496,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09632558181","server_ip":"118.185.137.196","insertTime":1742054496,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054482,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6235
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6235
            [uid] => u595
            [unique_id] => 36075_6235_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054478
            [channelDTime] => 1742054496
            [channelDuration] => 18
            [cSTime] => 1742054490
            [cETime] => 1742054496
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09632558181
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054496
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054482
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2457
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.56000000000236
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29899.19999999878
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2457
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.56000000000236
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95582.32000000958
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054497
{"compaign_id":"36075","contact_id":"6183","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6183","uid":"u595","unique_id":"36075_6183_138-u595","ivrId":"3158","channelOTime":1742054460,"channelDTime":1742054498,"channelDuration":38,"cSTime":1742054476,"cETime":1742054498,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09932926371","server_ip":"118.185.137.196","insertTime":1742054498,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054465,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054476,"endTime":1742054499,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6183
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6183
            [uid] => u595
            [unique_id] => 36075_6183_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054460
            [channelDTime] => 1742054498
            [channelDuration] => 38
            [cSTime] => 1742054476
            [cETime] => 1742054498
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09932926371
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054498
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054465
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054476
                                    [endTime] => 1742054499
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2458
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.64000000000237
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29899.119999998777
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2458
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.64000000000237
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95582.24000000958
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054500
{"compaign_id":"36075","contact_id":"6152","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6152","uid":"u595","unique_id":"36075_6152_138-u595","ivrId":"3158","channelOTime":1742054454,"channelDTime":1742054499,"channelDuration":45,"cSTime":1742054476,"cETime":1742054499,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09392446513","server_ip":"118.185.137.196","insertTime":1742054499,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054456,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054476,"endTime":1742054499,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6152
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6152
            [uid] => u595
            [unique_id] => 36075_6152_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054454
            [channelDTime] => 1742054499
            [channelDuration] => 45
            [cSTime] => 1742054476
            [cETime] => 1742054499
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09392446513
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054499
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054456
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054476
                                    [endTime] => 1742054499
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2460
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.80000000000237
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29898.959999998777
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2460
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.80000000000237
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95582.08000000958
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054501
{"compaign_id":"36075","contact_id":"6161","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6161","uid":"u595","unique_id":"36075_6161_138-u595","ivrId":"3158","channelOTime":1742054456,"channelDTime":1742054500,"channelDuration":44,"cSTime":1742054479,"cETime":1742054500,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08948196550","server_ip":"118.185.137.196","insertTime":1742054500,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054460,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6161
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6161
            [uid] => u595
            [unique_id] => 36075_6161_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054456
            [channelDTime] => 1742054500
            [channelDuration] => 44
            [cSTime] => 1742054479
            [cETime] => 1742054500
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08948196550
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054500
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054460
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2462
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.96000000000237
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29898.799999998777
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2462
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 196.96000000000237
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95581.92000000957
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054502
{"compaign_id":"36075","contact_id":"6187","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6187","uid":"u595","unique_id":"36075_6187_138-u595","ivrId":"3158","channelOTime":1742054461,"channelDTime":1742054500,"channelDuration":39,"cSTime":1742054477,"cETime":1742054500,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07972650644","server_ip":"118.185.137.196","insertTime":1742054500,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054462,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054477,"endTime":1742054500,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6187
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6187
            [uid] => u595
            [unique_id] => 36075_6187_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054461
            [channelDTime] => 1742054500
            [channelDuration] => 39
            [cSTime] => 1742054477
            [cETime] => 1742054500
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07972650644
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054500
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054462
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054477
                                    [endTime] => 1742054500
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2464
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.12000000000236
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29898.639999998777
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2464
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.12000000000236
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95581.76000000957
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054502
{"compaign_id":"36075","contact_id":"6227","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6227","uid":"u595","unique_id":"36075_6227_138-u595","ivrId":"3158","channelOTime":1742054476,"channelDTime":1742054502,"channelDuration":26,"cSTime":1742054491,"cETime":1742054502,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08002991968","server_ip":"118.185.137.196","insertTime":1742054502,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054478,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6227
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6227
            [uid] => u595
            [unique_id] => 36075_6227_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054476
            [channelDTime] => 1742054502
            [channelDuration] => 26
            [cSTime] => 1742054491
            [cETime] => 1742054502
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08002991968
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054502
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054478
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2466
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.28000000000236
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29898.479999998777
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2466
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.28000000000236
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95581.60000000957
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054504
{"compaign_id":"36075","contact_id":"6241","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6241","uid":"u595","unique_id":"36075_6241_138-u595","ivrId":"3158","channelOTime":1742054479,"channelDTime":1742054503,"channelDuration":24,"cSTime":1742054497,"cETime":1742054503,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08319565812","server_ip":"118.185.137.196","insertTime":1742054503,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054481,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6241
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6241
            [uid] => u595
            [unique_id] => 36075_6241_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054479
            [channelDTime] => 1742054503
            [channelDuration] => 24
            [cSTime] => 1742054497
            [cETime] => 1742054503
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08319565812
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054503
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054481
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2467
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.36000000000237
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29898.399999998775
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2467
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.36000000000237
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95581.52000000956
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054504
{"compaign_id":"36075","contact_id":"6249","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6249","uid":"u595","unique_id":"36075_6249_138-u595","ivrId":"3158","channelOTime":1742054481,"channelDTime":1742054503,"channelDuration":22,"cSTime":1742054492,"cETime":1742054503,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07411321522","server_ip":"118.185.137.196","insertTime":1742054503,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054484,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6249
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6249
            [uid] => u595
            [unique_id] => 36075_6249_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054481
            [channelDTime] => 1742054503
            [channelDuration] => 22
            [cSTime] => 1742054492
            [cETime] => 1742054503
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07411321522
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054503
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054484
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2468
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.44000000000239
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29898.319999998774
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2468
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.44000000000239
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95581.44000000956
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054504
{"compaign_id":"36075","contact_id":"6207","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6207","uid":"u595","unique_id":"36075_6207_138-u595","ivrId":"3158","channelOTime":1742054472,"channelDTime":1742054503,"channelDuration":31,"cSTime":1742054498,"cETime":1742054503,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09164848677","server_ip":"118.185.137.196","insertTime":1742054503,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054475,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6207
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6207
            [uid] => u595
            [unique_id] => 36075_6207_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054472
            [channelDTime] => 1742054503
            [channelDuration] => 31
            [cSTime] => 1742054498
            [cETime] => 1742054503
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09164848677
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054503
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054475
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2469
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.5200000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29898.239999998772
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2469
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.5200000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95581.36000000956
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054505
{"compaign_id":"36075","contact_id":"6204","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6204","uid":"u595","unique_id":"36075_6204_138-u595","ivrId":"3158","channelOTime":1742054472,"channelDTime":1742054506,"channelDuration":34,"cSTime":1742054483,"cETime":1742054506,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07899078351","server_ip":"118.185.137.196","insertTime":1742054506,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054474,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054483,"endTime":1742054500,"duration":17}],"#3":[{"startTime":1742054500,"endTime":1742054506,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6204
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6204
            [uid] => u595
            [unique_id] => 36075_6204_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054472
            [channelDTime] => 1742054506
            [channelDuration] => 34
            [cSTime] => 1742054483
            [cETime] => 1742054506
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07899078351
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054506
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054474
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054483
                                    [endTime] => 1742054500
                                    [duration] => 17
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054500
                                    [endTime] => 1742054506
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2470
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.6000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29898.15999999877
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2470
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.6000000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95581.28000000956
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054508
{"compaign_id":"36075","contact_id":"6228","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6228","uid":"u595","unique_id":"36075_6228_138-u595","ivrId":"3158","channelOTime":1742054477,"channelDTime":1742054506,"channelDuration":29,"cSTime":1742054483,"cETime":1742054506,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07007214169","server_ip":"118.185.137.196","insertTime":1742054506,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054479,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054483,"endTime":1742054506,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6228
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6228
            [uid] => u595
            [unique_id] => 36075_6228_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054477
            [channelDTime] => 1742054506
            [channelDuration] => 29
            [cSTime] => 1742054483
            [cETime] => 1742054506
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07007214169
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054506
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054479
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054483
                                    [endTime] => 1742054506
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2472
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.7600000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29897.99999999877
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2472
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.7600000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95581.12000000956
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054508
{"compaign_id":"36075","contact_id":"6259","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6259","uid":"u595","unique_id":"36075_6259_138-u595","ivrId":"3158","channelOTime":1742054495,"channelDTime":1742054509,"channelDuration":14,"cSTime":1742054503,"cETime":1742054509,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08931931279","server_ip":"118.185.137.196","insertTime":1742054509,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054499,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6259
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6259
            [uid] => u595
            [unique_id] => 36075_6259_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054495
            [channelDTime] => 1742054509
            [channelDuration] => 14
            [cSTime] => 1742054503
            [cETime] => 1742054509
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08931931279
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054509
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054499
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2474
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.9200000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29897.83999999877
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2474
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 197.9200000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95580.96000000955
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054511
{"compaign_id":"36075","contact_id":"6196","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6196","uid":"u595","unique_id":"36075_6196_138-u595","ivrId":"3158","channelOTime":1742054463,"channelDTime":1742054509,"channelDuration":46,"cSTime":1742054486,"cETime":1742054509,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09602999573","server_ip":"118.185.137.196","insertTime":1742054509,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054467,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054486,"endTime":1742054509,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6196
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6196
            [uid] => u595
            [unique_id] => 36075_6196_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054463
            [channelDTime] => 1742054509
            [channelDuration] => 46
            [cSTime] => 1742054486
            [cETime] => 1742054509
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09602999573
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054509
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054467
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054486
                                    [endTime] => 1742054509
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2475
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.00000000000242
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29897.75999999877
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2475
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.00000000000242
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95580.88000000955
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054511
{"compaign_id":"36075","contact_id":"6232","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6232","uid":"u595","unique_id":"36075_6232_138-u595","ivrId":"3158","channelOTime":1742054477,"channelDTime":1742054514,"channelDuration":37,"cSTime":1742054491,"cETime":1742054514,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09451086801","server_ip":"118.185.137.196","insertTime":1742054514,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054479,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054491,"endTime":1742054514,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6232
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6232
            [uid] => u595
            [unique_id] => 36075_6232_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054477
            [channelDTime] => 1742054514
            [channelDuration] => 37
            [cSTime] => 1742054491
            [cETime] => 1742054514
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09451086801
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054514
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054479
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054491
                                    [endTime] => 1742054514
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2477
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.1600000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29897.59999999877
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2477
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.1600000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95580.72000000955
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054515
{"compaign_id":"36075","contact_id":"6257","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6257","uid":"u595","unique_id":"36075_6257_138-u595","ivrId":"3158","channelOTime":1742054495,"channelDTime":1742054515,"channelDuration":20,"cSTime":1742054502,"cETime":1742054515,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08317690343","server_ip":"118.185.137.196","insertTime":1742054515,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054496,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6257
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6257
            [uid] => u595
            [unique_id] => 36075_6257_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054495
            [channelDTime] => 1742054515
            [channelDuration] => 20
            [cSTime] => 1742054502
            [cETime] => 1742054515
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08317690343
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054515
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054496
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2479
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.3200000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29897.43999999877
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2479
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.3200000000024
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95580.56000000954
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054517
{"compaign_id":"36075","contact_id":"6281","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6281","uid":"u595","unique_id":"36075_6281_138-u595","ivrId":"3158","channelOTime":1742054500,"channelDTime":1742054516,"channelDuration":16,"cSTime":1742054514,"cETime":1742054516,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08521074463","server_ip":"118.185.137.196","insertTime":1742054516,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054503,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6281
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6281
            [uid] => u595
            [unique_id] => 36075_6281_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054500
            [channelDTime] => 1742054516
            [channelDuration] => 16
            [cSTime] => 1742054514
            [cETime] => 1742054516
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08521074463
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054516
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054503
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2480
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.40000000000242
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29897.359999998767
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2480
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.40000000000242
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95580.48000000954
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054518
{"compaign_id":"36075","contact_id":"6294","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6294","uid":"u595","unique_id":"36075_6294_138-u595","ivrId":"3158","channelOTime":1742054502,"channelDTime":1742054517,"channelDuration":15,"cSTime":1742054512,"cETime":1742054517,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09322197688","server_ip":"118.185.137.196","insertTime":1742054517,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054504,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6294
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6294
            [uid] => u595
            [unique_id] => 36075_6294_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054502
            [channelDTime] => 1742054517
            [channelDuration] => 15
            [cSTime] => 1742054512
            [cETime] => 1742054517
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09322197688
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054517
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054504
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2481
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.48000000000243
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29897.279999998766
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2481
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.48000000000243
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95580.40000000954
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054519
{"compaign_id":"36075","contact_id":"6203","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6203","uid":"u595","unique_id":"36075_6203_138-u595","ivrId":"3158","channelOTime":1742054472,"channelDTime":1742054517,"channelDuration":45,"cSTime":1742054495,"cETime":1742054517,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07061615151","server_ip":"118.185.137.196","insertTime":1742054517,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054474,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054495,"endTime":1742054512,"duration":17}],"#3":[{"startTime":1742054512,"endTime":1742054517,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6203
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6203
            [uid] => u595
            [unique_id] => 36075_6203_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054472
            [channelDTime] => 1742054517
            [channelDuration] => 45
            [cSTime] => 1742054495
            [cETime] => 1742054517
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07061615151
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054517
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054474
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054495
                                    [endTime] => 1742054512
                                    [duration] => 17
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054512
                                    [endTime] => 1742054517
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2482
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.56000000000245
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29897.199999998764
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2482
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.56000000000245
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95580.32000000954
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054519
{"compaign_id":"36075","contact_id":"6297","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6297","uid":"u595","unique_id":"36075_6297_138-u595","ivrId":"3158","channelOTime":1742054503,"channelDTime":1742054518,"channelDuration":15,"cSTime":1742054507,"cETime":1742054518,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08086455960","server_ip":"118.185.137.196","insertTime":1742054518,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054504,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6297
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6297
            [uid] => u595
            [unique_id] => 36075_6297_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054503
            [channelDTime] => 1742054518
            [channelDuration] => 15
            [cSTime] => 1742054507
            [cETime] => 1742054518
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08086455960
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054518
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054504
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2484
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.72000000000244
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29897.039999998764
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2484
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.72000000000244
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95580.16000000953
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054519
{"compaign_id":"36075","contact_id":"6276","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6276","uid":"u595","unique_id":"36075_6276_138-u595","ivrId":"3158","channelOTime":1742054499,"channelDTime":1742054519,"channelDuration":20,"cSTime":1742054509,"cETime":1742054519,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07249245305","server_ip":"118.185.137.196","insertTime":1742054519,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054500,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6276
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6276
            [uid] => u595
            [unique_id] => 36075_6276_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054499
            [channelDTime] => 1742054519
            [channelDuration] => 20
            [cSTime] => 1742054509
            [cETime] => 1742054519
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07249245305
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054519
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054500
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2485
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.80000000000246
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29896.959999998762
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2485
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.80000000000246
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95580.08000000953
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054521
{"compaign_id":"36075","contact_id":"6211","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6211","uid":"u595","unique_id":"36075_6211_138-u595","ivrId":"3158","channelOTime":1742054473,"channelDTime":1742054520,"channelDuration":47,"cSTime":1742054497,"cETime":1742054520,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09835477041","server_ip":"118.185.137.196","insertTime":1742054520,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054475,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054497,"endTime":1742054520,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6211
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6211
            [uid] => u595
            [unique_id] => 36075_6211_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054473
            [channelDTime] => 1742054520
            [channelDuration] => 47
            [cSTime] => 1742054497
            [cETime] => 1742054520
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09835477041
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054520
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054475
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054497
                                    [endTime] => 1742054520
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2486
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.88000000000247
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29896.87999999876
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2486
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 198.88000000000247
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95580.00000000953
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054522
2025-03-15 21:32:02[LOG]Starting Cron
2025-03-15 21:32:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"6288","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6288","uid":"u595","unique_id":"36075_6288_138-u595","ivrId":"3158","channelOTime":1742054501,"channelDTime":1742054521,"channelDuration":20,"cSTime":1742054512,"cETime":1742054521,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07091688014","server_ip":"118.185.137.196","insertTime":1742054521,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054503,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6288
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6288
            [uid] => u595
            [unique_id] => 36075_6288_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054501
            [channelDTime] => 1742054521
            [channelDuration] => 20
            [cSTime] => 1742054512
            [cETime] => 1742054521
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07091688014
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054521
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054503
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2488
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.04000000000246
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29896.71999999876
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2488
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.04000000000246
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95579.84000000953
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054522
{"compaign_id":"36075","contact_id":"6231","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6231","uid":"u595","unique_id":"36075_6231_138-u595","ivrId":"3158","channelOTime":1742054477,"channelDTime":1742054522,"channelDuration":45,"cSTime":1742054499,"cETime":1742054522,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09394713455","server_ip":"118.185.137.196","insertTime":1742054522,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054479,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054499,"endTime":1742054522,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6231
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6231
            [uid] => u595
            [unique_id] => 36075_6231_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054477
            [channelDTime] => 1742054522
            [channelDuration] => 45
            [cSTime] => 1742054499
            [cETime] => 1742054522
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09394713455
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054522
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054479
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054499
                                    [endTime] => 1742054522
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2489
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.12000000000248
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29896.63999999876
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2489
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.12000000000248
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95579.76000000953
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054524
{"compaign_id":"36075","contact_id":"6289","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6289","uid":"u595","unique_id":"36075_6289_138-u595","ivrId":"3158","channelOTime":1742054501,"channelDTime":1742054524,"channelDuration":23,"cSTime":1742054513,"cETime":1742054524,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09010699160","server_ip":"118.185.137.196","insertTime":1742054524,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054503,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6289
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6289
            [uid] => u595
            [unique_id] => 36075_6289_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054501
            [channelDTime] => 1742054524
            [channelDuration] => 23
            [cSTime] => 1742054513
            [cETime] => 1742054524
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09010699160
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054524
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054503
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2491
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.28000000000247
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29896.47999999876
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2491
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.28000000000247
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95579.60000000952
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054526
{"compaign_id":"36075","contact_id":"6291","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6291","uid":"u595","unique_id":"36075_6291_138-u595","ivrId":"3158","channelOTime":1742054502,"channelDTime":1742054524,"channelDuration":22,"cSTime":1742054510,"cETime":1742054524,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09782442060","server_ip":"118.185.137.196","insertTime":1742054524,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054503,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6291
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6291
            [uid] => u595
            [unique_id] => 36075_6291_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054502
            [channelDTime] => 1742054524
            [channelDuration] => 22
            [cSTime] => 1742054510
            [cETime] => 1742054524
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09782442060
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054524
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054503
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2492
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.3600000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29896.399999998757
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2492
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.3600000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95579.52000000952
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054526
{"compaign_id":"36075","contact_id":"6322","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6322","uid":"u595","unique_id":"36075_6322_138-u595","ivrId":"3158","channelOTime":1742054515,"channelDTime":1742054526,"channelDuration":11,"cSTime":1742054524,"cETime":1742054526,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07004335355","server_ip":"118.185.137.196","insertTime":1742054526,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054517,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6322
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6322
            [uid] => u595
            [unique_id] => 36075_6322_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054515
            [channelDTime] => 1742054526
            [channelDuration] => 11
            [cSTime] => 1742054524
            [cETime] => 1742054526
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07004335355
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054526
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054517
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2493
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.4400000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29896.319999998756
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2493
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.4400000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95579.44000000952
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054528
{"compaign_id":"36075","contact_id":"6323","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6323","uid":"u595","unique_id":"36075_6323_138-u595","ivrId":"3158","channelOTime":1742054515,"channelDTime":1742054527,"channelDuration":12,"cSTime":1742054521,"cETime":1742054527,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09321406340","server_ip":"118.185.137.196","insertTime":1742054527,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054516,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6323
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6323
            [uid] => u595
            [unique_id] => 36075_6323_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054515
            [channelDTime] => 1742054527
            [channelDuration] => 12
            [cSTime] => 1742054521
            [cETime] => 1742054527
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09321406340
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054527
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054516
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2494
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.5200000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29896.239999998754
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2494
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.5200000000025
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95579.36000000952
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054528
{"compaign_id":"36075","contact_id":"6292","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6292","uid":"u595","unique_id":"36075_6292_138-u595","ivrId":"3158","channelOTime":1742054502,"channelDTime":1742054529,"channelDuration":27,"cSTime":1742054512,"cETime":1742054529,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08302131552","server_ip":"118.185.137.196","insertTime":1742054529,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054504,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6292
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6292
            [uid] => u595
            [unique_id] => 36075_6292_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054502
            [channelDTime] => 1742054529
            [channelDuration] => 27
            [cSTime] => 1742054512
            [cETime] => 1742054529
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08302131552
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054529
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054504
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2495
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.60000000000252
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29896.159999998752
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2495
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.60000000000252
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95579.28000000952
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054530
{"compaign_id":"36075","contact_id":"6306","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6306","uid":"u595","unique_id":"36075_6306_138-u595","ivrId":"3158","channelOTime":1742054512,"channelDTime":1742054530,"channelDuration":18,"cSTime":1742054521,"cETime":1742054530,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09358949886","server_ip":"118.185.137.196","insertTime":1742054530,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054513,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6306
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6306
            [uid] => u595
            [unique_id] => 36075_6306_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054512
            [channelDTime] => 1742054530
            [channelDuration] => 18
            [cSTime] => 1742054521
            [cETime] => 1742054530
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09358949886
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054530
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054513
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2497
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.76000000000252
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.999999998752
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2497
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.76000000000252
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95579.12000000951
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054532
{"compaign_id":"36075","contact_id":"6345","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6345","uid":"u595","unique_id":"36075_6345_138-u595","ivrId":"3158","channelOTime":1742054520,"channelDTime":1742054533,"channelDuration":13,"cSTime":1742054524,"cETime":1742054533,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09557337737","server_ip":"118.185.137.196","insertTime":1742054533,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054522,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6345
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6345
            [uid] => u595
            [unique_id] => 36075_6345_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054520
            [channelDTime] => 1742054533
            [channelDuration] => 13
            [cSTime] => 1742054524
            [cETime] => 1742054533
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09557337737
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054533
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054522
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2498
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.84000000000253
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.91999999875
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2498
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.84000000000253
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95579.04000000951
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054535
{"compaign_id":"36075","contact_id":"6339","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6339","uid":"u595","unique_id":"36075_6339_138-u595","ivrId":"3158","channelOTime":1742054519,"channelDTime":1742054533,"channelDuration":14,"cSTime":1742054527,"cETime":1742054533,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09729116525","server_ip":"118.185.137.196","insertTime":1742054533,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054521,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6339
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6339
            [uid] => u595
            [unique_id] => 36075_6339_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054519
            [channelDTime] => 1742054533
            [channelDuration] => 14
            [cSTime] => 1742054527
            [cETime] => 1742054533
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09729116525
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054533
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054521
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2499
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.92000000000255
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.83999999875
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2499
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 199.92000000000255
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95578.96000000951
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054535
{"compaign_id":"36075","contact_id":"6286","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6286","uid":"u595","unique_id":"36075_6286_138-u595","ivrId":"3158","channelOTime":1742054501,"channelDTime":1742054535,"channelDuration":34,"cSTime":1742054512,"cETime":1742054535,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08318507618","server_ip":"118.185.137.196","insertTime":1742054535,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054503,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054512,"endTime":1742054535,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6286
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6286
            [uid] => u595
            [unique_id] => 36075_6286_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054501
            [channelDTime] => 1742054535
            [channelDuration] => 34
            [cSTime] => 1742054512
            [cETime] => 1742054535
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08318507618
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054535
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054503
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054512
                                    [endTime] => 1742054535
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2500
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.00000000000256
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.759999998747
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2500
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.00000000000256
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95578.8800000095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054537
{"compaign_id":"36075","contact_id":"6333","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6333","uid":"u595","unique_id":"36075_6333_138-u595","ivrId":"3158","channelOTime":1742054517,"channelDTime":1742054536,"channelDuration":19,"cSTime":1742054525,"cETime":1742054536,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07070309199","server_ip":"118.185.137.196","insertTime":1742054536,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054520,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6333
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6333
            [uid] => u595
            [unique_id] => 36075_6333_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054517
            [channelDTime] => 1742054536
            [channelDuration] => 19
            [cSTime] => 1742054525
            [cETime] => 1742054536
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07070309199
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054536
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054520
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2502
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.16000000000255
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.599999998747
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2502
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.16000000000255
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95578.7200000095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054537
{"compaign_id":"36075","contact_id":"6279","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6279","uid":"u595","unique_id":"36075_6279_138-u595","ivrId":"3158","channelOTime":1742054499,"channelDTime":1742054536,"channelDuration":37,"cSTime":1742054526,"cETime":1742054536,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07980824074","server_ip":"118.185.137.196","insertTime":1742054536,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054500,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6279
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6279
            [uid] => u595
            [unique_id] => 36075_6279_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054499
            [channelDTime] => 1742054536
            [channelDuration] => 37
            [cSTime] => 1742054526
            [cETime] => 1742054536
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07980824074
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054536
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054500
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2503
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.24000000000257
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.519999998745
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2503
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.24000000000257
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95578.6400000095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054538
{"compaign_id":"36075","contact_id":"6324","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6324","uid":"u595","unique_id":"36075_6324_138-u595","ivrId":"3158","channelOTime":1742054516,"channelDTime":1742054536,"channelDuration":20,"cSTime":1742054533,"cETime":1742054536,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08489746634","server_ip":"118.185.137.196","insertTime":1742054536,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054518,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6324
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6324
            [uid] => u595
            [unique_id] => 36075_6324_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054516
            [channelDTime] => 1742054536
            [channelDuration] => 20
            [cSTime] => 1742054533
            [cETime] => 1742054536
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08489746634
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054536
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054518
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2504
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.32000000000258
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.439999998744
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2504
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.32000000000258
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95578.5600000095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054538
{"compaign_id":"36075","contact_id":"6321","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6321","uid":"u595","unique_id":"36075_6321_138-u595","ivrId":"3158","channelOTime":1742054515,"channelDTime":1742054537,"channelDuration":22,"cSTime":1742054535,"cETime":1742054537,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07299727350","server_ip":"118.185.137.196","insertTime":1742054537,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054517,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6321
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6321
            [uid] => u595
            [unique_id] => 36075_6321_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054515
            [channelDTime] => 1742054537
            [channelDuration] => 22
            [cSTime] => 1742054535
            [cETime] => 1742054537
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07299727350
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054537
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054517
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2505
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.4000000000026
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.359999998742
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2505
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.4000000000026
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95578.4800000095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054539
{"compaign_id":"36075","contact_id":"6337","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6337","uid":"u595","unique_id":"36075_6337_138-u595","ivrId":"3158","channelOTime":1742054518,"channelDTime":1742054539,"channelDuration":21,"cSTime":1742054531,"cETime":1742054539,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06301531126","server_ip":"118.185.137.196","insertTime":1742054539,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054520,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6337
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6337
            [uid] => u595
            [unique_id] => 36075_6337_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054518
            [channelDTime] => 1742054539
            [channelDuration] => 21
            [cSTime] => 1742054531
            [cETime] => 1742054539
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06301531126
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054539
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054520
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2506
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.4800000000026
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.27999999874
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2506
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.4800000000026
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95578.4000000095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054541
{"compaign_id":"36075","contact_id":"6346","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6346","uid":"u595","unique_id":"36075_6346_138-u595","ivrId":"3158","channelOTime":1742054520,"channelDTime":1742054539,"channelDuration":19,"cSTime":1742054533,"cETime":1742054539,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09307834327","server_ip":"118.185.137.196","insertTime":1742054539,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054522,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6346
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6346
            [uid] => u595
            [unique_id] => 36075_6346_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054520
            [channelDTime] => 1742054539
            [channelDuration] => 19
            [cSTime] => 1742054533
            [cETime] => 1742054539
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09307834327
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054539
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054522
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2507
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.56000000000262
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.19999999874
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2507
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.56000000000262
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95578.3200000095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054541
{"compaign_id":"36075","contact_id":"6319","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6319","uid":"u595","unique_id":"36075_6319_138-u595","ivrId":"3158","channelOTime":1742054515,"channelDTime":1742054541,"channelDuration":26,"cSTime":1742054534,"cETime":1742054541,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09307965425","server_ip":"118.185.137.196","insertTime":1742054541,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054517,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6319
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6319
            [uid] => u595
            [unique_id] => 36075_6319_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054515
            [channelDTime] => 1742054541
            [channelDuration] => 26
            [cSTime] => 1742054534
            [cETime] => 1742054541
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09307965425
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054541
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054517
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2508
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.64000000000263
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.119999998737
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2508
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.64000000000263
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95578.2400000095
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054542
{"compaign_id":"36075","contact_id":"6267","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6267","uid":"u595","unique_id":"36075_6267_138-u595","ivrId":"3158","channelOTime":1742054497,"channelDTime":1742054542,"channelDuration":45,"cSTime":1742054519,"cETime":1742054542,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09354154231","server_ip":"118.185.137.196","insertTime":1742054542,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054498,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054519,"endTime":1742054542,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6267
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6267
            [uid] => u595
            [unique_id] => 36075_6267_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054497
            [channelDTime] => 1742054542
            [channelDuration] => 45
            [cSTime] => 1742054519
            [cETime] => 1742054542
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09354154231
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054542
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054498
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054519
                                    [endTime] => 1742054542
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2509
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.72000000000264
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29895.039999998735
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2509
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.72000000000264
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95578.16000000949
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054544
{"compaign_id":"36075","contact_id":"6349","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6349","uid":"u595","unique_id":"36075_6349_138-u595","ivrId":"3158","channelOTime":1742054521,"channelDTime":1742054545,"channelDuration":24,"cSTime":1742054522,"cETime":1742054545,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08810437157","server_ip":"118.185.137.196","insertTime":1742054545,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054522,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054522,"endTime":1742054545,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6349
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6349
            [uid] => u595
            [unique_id] => 36075_6349_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054521
            [channelDTime] => 1742054545
            [channelDuration] => 24
            [cSTime] => 1742054522
            [cETime] => 1742054545
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08810437157
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054545
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054522
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054522
                                    [endTime] => 1742054545
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2511
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.88000000000264
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29894.879999998735
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2511
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 200.88000000000264
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95578.00000000949
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054547
{"compaign_id":"36075","contact_id":"6360","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6360","uid":"u595","unique_id":"36075_6360_138-u595","ivrId":"3158","channelOTime":1742054535,"channelDTime":1742054549,"channelDuration":14,"cSTime":1742054545,"cETime":1742054549,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07870069908","server_ip":"118.185.137.196","insertTime":1742054549,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054538,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6360
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6360
            [uid] => u595
            [unique_id] => 36075_6360_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054535
            [channelDTime] => 1742054549
            [channelDuration] => 14
            [cSTime] => 1742054545
            [cETime] => 1742054549
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07870069908
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054549
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054538
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2513
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.04000000000264
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29894.719999998735
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2513
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.04000000000264
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95577.84000000948
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054551
{"compaign_id":"36075","contact_id":"6364","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6364","uid":"u595","unique_id":"36075_6364_138-u595","ivrId":"3158","channelOTime":1742054536,"channelDTime":1742054549,"channelDuration":13,"cSTime":1742054545,"cETime":1742054549,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07995835755","server_ip":"118.185.137.196","insertTime":1742054549,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054539,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6364
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6364
            [uid] => u595
            [unique_id] => 36075_6364_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054536
            [channelDTime] => 1742054549
            [channelDuration] => 13
            [cSTime] => 1742054545
            [cETime] => 1742054549
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07995835755
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054549
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054539
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2514
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.12000000000265
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29894.639999998733
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2514
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.12000000000265
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95577.76000000948
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054551
{"compaign_id":"36075","contact_id":"6350","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6350","uid":"u595","unique_id":"36075_6350_138-u595","ivrId":"3158","channelOTime":1742054533,"channelDTime":1742054550,"channelDuration":17,"cSTime":1742054539,"cETime":1742054550,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08329623292","server_ip":"118.185.137.196","insertTime":1742054550,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054534,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6350
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6350
            [uid] => u595
            [unique_id] => 36075_6350_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054533
            [channelDTime] => 1742054550
            [channelDuration] => 17
            [cSTime] => 1742054539
            [cETime] => 1742054550
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08329623292
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054550
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054534
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2515
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.20000000000266
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29894.55999999873
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2515
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.20000000000266
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95577.68000000948
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054552
{"compaign_id":"36075","contact_id":"6338","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6338","uid":"u595","unique_id":"36075_6338_138-u595","ivrId":"3158","channelOTime":1742054518,"channelDTime":1742054550,"channelDuration":32,"cSTime":1742054538,"cETime":1742054550,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09989366509","server_ip":"118.185.137.196","insertTime":1742054550,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054521,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6338
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6338
            [uid] => u595
            [unique_id] => 36075_6338_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054518
            [channelDTime] => 1742054550
            [channelDuration] => 32
            [cSTime] => 1742054538
            [cETime] => 1742054550
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09989366509
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054550
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054521
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2516
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.28000000000267
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29894.47999999873
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2516
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.28000000000267
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95577.60000000948
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054552
{"compaign_id":"36075","contact_id":"6326","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6326","uid":"u595","unique_id":"36075_6326_138-u595","ivrId":"3158","channelOTime":1742054516,"channelDTime":1742054553,"channelDuration":37,"cSTime":1742054542,"cETime":1742054553,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07087200675","server_ip":"118.185.137.196","insertTime":1742054553,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054524,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6326
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6326
            [uid] => u595
            [unique_id] => 36075_6326_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054516
            [channelDTime] => 1742054553
            [channelDuration] => 37
            [cSTime] => 1742054542
            [cETime] => 1742054553
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07087200675
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054553
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054524
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2517
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.36000000000269
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29894.399999998728
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2517
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.36000000000269
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95577.52000000948
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054555
{"compaign_id":"36075","contact_id":"6381","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6381","uid":"u595","unique_id":"36075_6381_138-u595","ivrId":"3158","channelOTime":1742054539,"channelDTime":1742054554,"channelDuration":15,"cSTime":1742054545,"cETime":1742054554,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09501866251","server_ip":"118.185.137.196","insertTime":1742054554,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054542,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6381
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6381
            [uid] => u595
            [unique_id] => 36075_6381_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054539
            [channelDTime] => 1742054554
            [channelDuration] => 15
            [cSTime] => 1742054545
            [cETime] => 1742054554
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09501866251
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054554
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054542
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2518
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.4400000000027
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29894.319999998726
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2518
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.4400000000027
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95577.44000000948
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054556
{"compaign_id":"36075","contact_id":"6304","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6304","uid":"u595","unique_id":"36075_6304_138-u595","ivrId":"3158","channelOTime":1742054512,"channelDTime":1742054554,"channelDuration":42,"cSTime":1742054530,"cETime":1742054554,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09551218032","server_ip":"118.185.137.196","insertTime":1742054554,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054514,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054530,"endTime":1742054554,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6304
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6304
            [uid] => u595
            [unique_id] => 36075_6304_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054512
            [channelDTime] => 1742054554
            [channelDuration] => 42
            [cSTime] => 1742054530
            [cETime] => 1742054554
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09551218032
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054554
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054514
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054530
                                    [endTime] => 1742054554
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2519
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.5200000000027
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29894.239999998725
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2519
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.5200000000027
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95577.36000000947
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054556
{"compaign_id":"36075","contact_id":"6386","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6386","uid":"u595","unique_id":"36075_6386_138-u595","ivrId":"3158","channelOTime":1742054540,"channelDTime":1742054555,"channelDuration":15,"cSTime":1742054548,"cETime":1742054555,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09696069631","server_ip":"118.185.137.196","insertTime":1742054555,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054544,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6386
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6386
            [uid] => u595
            [unique_id] => 36075_6386_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054540
            [channelDTime] => 1742054555
            [channelDuration] => 15
            [cSTime] => 1742054548
            [cETime] => 1742054555
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09696069631
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054555
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054544
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2521
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.6800000000027
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29894.079999998725
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2521
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.6800000000027
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95577.20000000947
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054557
{"compaign_id":"36075","contact_id":"6340","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6340","uid":"u595","unique_id":"36075_6340_138-u595","ivrId":"3158","channelOTime":1742054519,"channelDTime":1742054556,"channelDuration":37,"cSTime":1742054538,"cETime":1742054556,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09749680450","server_ip":"118.185.137.196","insertTime":1742054556,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054522,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6340
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6340
            [uid] => u595
            [unique_id] => 36075_6340_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054519
            [channelDTime] => 1742054556
            [channelDuration] => 37
            [cSTime] => 1742054538
            [cETime] => 1742054556
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09749680450
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054556
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054522
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2522
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.76000000000272
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29893.999999998723
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2522
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.76000000000272
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95577.12000000947
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054557
{"compaign_id":"36075","contact_id":"6361","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6361","uid":"u595","unique_id":"36075_6361_138-u595","ivrId":"3158","channelOTime":1742054535,"channelDTime":1742054557,"channelDuration":22,"cSTime":1742054551,"cETime":1742054557,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07848924693","server_ip":"118.185.137.196","insertTime":1742054557,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054537,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6361
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6361
            [uid] => u595
            [unique_id] => 36075_6361_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054535
            [channelDTime] => 1742054557
            [channelDuration] => 22
            [cSTime] => 1742054551
            [cETime] => 1742054557
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07848924693
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054557
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054537
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2524
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.92000000000272
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29893.839999998723
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2524
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 201.92000000000272
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95576.96000000947
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054559
{"compaign_id":"36075","contact_id":"6367","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6367","uid":"u595","unique_id":"36075_6367_138-u595","ivrId":"3158","channelOTime":1742054537,"channelDTime":1742054563,"channelDuration":26,"cSTime":1742054546,"cETime":1742054563,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07907663801","server_ip":"118.185.137.196","insertTime":1742054563,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054538,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6367
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6367
            [uid] => u595
            [unique_id] => 36075_6367_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054537
            [channelDTime] => 1742054563
            [channelDuration] => 26
            [cSTime] => 1742054546
            [cETime] => 1742054563
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07907663801
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054563
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054538
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2525
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.00000000000273
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29893.75999999872
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2525
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.00000000000273
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95576.88000000946
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054564
{"compaign_id":"36075","contact_id":"6374","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6374","uid":"u595","unique_id":"36075_6374_138-u595","ivrId":"3158","channelOTime":1742054538,"channelDTime":1742054563,"channelDuration":25,"cSTime":1742054546,"cETime":1742054563,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09677239005","server_ip":"118.185.137.196","insertTime":1742054563,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054540,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6374
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6374
            [uid] => u595
            [unique_id] => 36075_6374_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054538
            [channelDTime] => 1742054563
            [channelDuration] => 25
            [cSTime] => 1742054546
            [cETime] => 1742054563
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09677239005
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054563
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054540
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2527
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.16000000000273
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29893.59999999872
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2527
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.16000000000273
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95576.72000000946
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054565
{"compaign_id":"36075","contact_id":"6409","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6409","uid":"u595","unique_id":"36075_6409_138-u595","ivrId":"3158","channelOTime":1742054558,"channelDTime":1742054567,"channelDuration":9,"cSTime":1742054565,"cETime":1742054567,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09848883243","server_ip":"118.185.137.196","insertTime":1742054567,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054560,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6409
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6409
            [uid] => u595
            [unique_id] => 36075_6409_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054558
            [channelDTime] => 1742054567
            [channelDuration] => 9
            [cSTime] => 1742054565
            [cETime] => 1742054567
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09848883243
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054567
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054560
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2529
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.32000000000272
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29893.43999999872
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2529
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.32000000000272
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95576.56000000946
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054568
{"compaign_id":"36075","contact_id":"6397","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6397","uid":"u595","unique_id":"36075_6397_138-u595","ivrId":"3158","channelOTime":1742054543,"channelDTime":1742054567,"channelDuration":24,"cSTime":1742054557,"cETime":1742054567,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08879310096","server_ip":"118.185.137.196","insertTime":1742054567,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054545,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6397
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6397
            [uid] => u595
            [unique_id] => 36075_6397_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054543
            [channelDTime] => 1742054567
            [channelDuration] => 24
            [cSTime] => 1742054557
            [cETime] => 1742054567
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08879310096
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054567
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054545
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2530
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.40000000000273
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29893.35999999872
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2530
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.40000000000273
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95576.48000000945
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054569
{"compaign_id":"36075","contact_id":"6353","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6353","uid":"u595","unique_id":"36075_6353_138-u595","ivrId":"3158","channelOTime":1742054534,"channelDTime":1742054567,"channelDuration":33,"cSTime":1742054551,"cETime":1742054567,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07903451349","server_ip":"118.185.137.196","insertTime":1742054567,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054536,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6353
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6353
            [uid] => u595
            [unique_id] => 36075_6353_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054534
            [channelDTime] => 1742054567
            [channelDuration] => 33
            [cSTime] => 1742054551
            [cETime] => 1742054567
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07903451349
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054567
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054536
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2531
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.48000000000275
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29893.27999999872
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2531
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.48000000000275
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95576.40000000945
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054569
{"compaign_id":"36075","contact_id":"6372","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6372","uid":"u595","unique_id":"36075_6372_138-u595","ivrId":"3158","channelOTime":1742054538,"channelDTime":1742054568,"channelDuration":30,"cSTime":1742054556,"cETime":1742054568,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08384073497","server_ip":"118.185.137.196","insertTime":1742054568,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054540,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6372
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6372
            [uid] => u595
            [unique_id] => 36075_6372_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054538
            [channelDTime] => 1742054568
            [channelDuration] => 30
            [cSTime] => 1742054556
            [cETime] => 1742054568
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08384073497
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054568
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054540
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2533
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.64000000000274
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29893.11999999872
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2533
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.64000000000274
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95576.24000000945
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054569
{"compaign_id":"36075","contact_id":"6358","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6358","uid":"u595","unique_id":"36075_6358_138-u595","ivrId":"3158","channelOTime":1742054535,"channelDTime":1742054568,"channelDuration":33,"cSTime":1742054558,"cETime":1742054568,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07645991721","server_ip":"118.185.137.196","insertTime":1742054568,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054537,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6358
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6358
            [uid] => u595
            [unique_id] => 36075_6358_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054535
            [channelDTime] => 1742054568
            [channelDuration] => 33
            [cSTime] => 1742054558
            [cETime] => 1742054568
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07645991721
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054568
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054537
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2534
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.72000000000276
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29893.039999998717
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2534
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.72000000000276
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95576.16000000945
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054570
{"compaign_id":"36075","contact_id":"6418","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6418","uid":"u595","unique_id":"36075_6418_138-u595","ivrId":"3158","channelOTime":1742054560,"channelDTime":1742054570,"channelDuration":10,"cSTime":1742054568,"cETime":1742054570,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08097655684","server_ip":"118.185.137.196","insertTime":1742054570,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054561,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6418
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6418
            [uid] => u595
            [unique_id] => 36075_6418_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054560
            [channelDTime] => 1742054570
            [channelDuration] => 10
            [cSTime] => 1742054568
            [cETime] => 1742054570
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08097655684
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054570
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054561
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2535
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.80000000000277
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29892.959999998715
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2535
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.80000000000277
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95576.08000000945
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054572
{"compaign_id":"36075","contact_id":"6363","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6363","uid":"u595","unique_id":"36075_6363_138-u595","ivrId":"3158","channelOTime":1742054536,"channelDTime":1742054571,"channelDuration":35,"cSTime":1742054564,"cETime":1742054571,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07003787278","server_ip":"118.185.137.196","insertTime":1742054571,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054537,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6363
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6363
            [uid] => u595
            [unique_id] => 36075_6363_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054536
            [channelDTime] => 1742054571
            [channelDuration] => 35
            [cSTime] => 1742054564
            [cETime] => 1742054571
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07003787278
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054571
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054537
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2536
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.88000000000278
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29892.879999998713
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2536
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.88000000000278
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95576.00000000944
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054573
{"compaign_id":"36075","contact_id":"6412","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6412","uid":"u595","unique_id":"36075_6412_138-u595","ivrId":"3158","channelOTime":1742054559,"channelDTime":1742054575,"channelDuration":16,"cSTime":1742054570,"cETime":1742054575,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08777369889","server_ip":"118.185.137.196","insertTime":1742054575,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054560,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6412
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6412
            [uid] => u595
            [unique_id] => 36075_6412_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054559
            [channelDTime] => 1742054575
            [channelDuration] => 16
            [cSTime] => 1742054570
            [cETime] => 1742054575
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08777369889
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054575
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054560
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2537
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.9600000000028
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29892.79999999871
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2537
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 202.9600000000028
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95575.92000000944
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054576
{"compaign_id":"36075","contact_id":"6401","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6401","uid":"u595","unique_id":"36075_6401_138-u595","ivrId":"3158","channelOTime":1742054556,"channelDTime":1742054576,"channelDuration":20,"cSTime":1742054569,"cETime":1742054576,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08452056997","server_ip":"118.185.137.196","insertTime":1742054576,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054559,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6401
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6401
            [uid] => u595
            [unique_id] => 36075_6401_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054556
            [channelDTime] => 1742054576
            [channelDuration] => 20
            [cSTime] => 1742054569
            [cETime] => 1742054576
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08452056997
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054576
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054559
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2538
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.0400000000028
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29892.71999999871
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2538
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.0400000000028
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95575.84000000944
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054577
{"compaign_id":"36075","contact_id":"6376","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6376","uid":"u595","unique_id":"36075_6376_138-u595","ivrId":"3158","channelOTime":1742054538,"channelDTime":1742054579,"channelDuration":41,"cSTime":1742054555,"cETime":1742054579,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07875898374","server_ip":"118.185.137.196","insertTime":1742054579,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054542,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054555,"endTime":1742054579,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6376
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6376
            [uid] => u595
            [unique_id] => 36075_6376_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054538
            [channelDTime] => 1742054579
            [channelDuration] => 41
            [cSTime] => 1742054555
            [cETime] => 1742054579
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07875898374
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054579
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054542
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054555
                                    [endTime] => 1742054579
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2539
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.12000000000282
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29892.639999998708
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2539
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.12000000000282
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95575.76000000944
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054581
{"compaign_id":"36075","contact_id":"6420","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6420","uid":"u595","unique_id":"36075_6420_138-u595","ivrId":"3158","channelOTime":1742054560,"channelDTime":1742054580,"channelDuration":20,"cSTime":1742054569,"cETime":1742054580,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09583153777","server_ip":"118.185.137.196","insertTime":1742054580,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054562,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6420
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6420
            [uid] => u595
            [unique_id] => 36075_6420_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054560
            [channelDTime] => 1742054580
            [channelDuration] => 20
            [cSTime] => 1742054569
            [cETime] => 1742054580
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09583153777
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054580
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054562
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2541
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.28000000000281
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29892.479999998708
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2541
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.28000000000281
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95575.60000000944
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054582
2025-03-15 21:33:02[LOG]Starting Cron
2025-03-15 21:33:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"6410","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6410","uid":"u595","unique_id":"36075_6410_138-u595","ivrId":"3158","channelOTime":1742054558,"channelDTime":1742054582,"channelDuration":24,"cSTime":1742054569,"cETime":1742054582,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07726852538","server_ip":"118.185.137.196","insertTime":1742054582,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054561,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6410
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6410
            [uid] => u595
            [unique_id] => 36075_6410_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054558
            [channelDTime] => 1742054582
            [channelDuration] => 24
            [cSTime] => 1742054569
            [cETime] => 1742054582
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07726852538
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054582
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054561
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2542
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.36000000000283
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29892.399999998706
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2542
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.36000000000283
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95575.52000000943
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054584
{"compaign_id":"36075","contact_id":"6429","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6429","uid":"u595","unique_id":"36075_6429_138-u595","ivrId":"3158","channelOTime":1742054562,"channelDTime":1742054583,"channelDuration":21,"cSTime":1742054574,"cETime":1742054583,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09844383380","server_ip":"118.185.137.196","insertTime":1742054583,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054565,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6429
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6429
            [uid] => u595
            [unique_id] => 36075_6429_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054562
            [channelDTime] => 1742054583
            [channelDuration] => 21
            [cSTime] => 1742054574
            [cETime] => 1742054583
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09844383380
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054583
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054565
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2543
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.44000000000284
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29892.319999998705
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2543
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.44000000000284
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95575.44000000943
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054584
{"compaign_id":"36075","contact_id":"6404","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6404","uid":"u595","unique_id":"36075_6404_138-u595","ivrId":"3158","channelOTime":1742054557,"channelDTime":1742054583,"channelDuration":26,"cSTime":1742054567,"cETime":1742054583,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09695786174","server_ip":"118.185.137.196","insertTime":1742054583,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054559,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6404
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6404
            [uid] => u595
            [unique_id] => 36075_6404_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054557
            [channelDTime] => 1742054583
            [channelDuration] => 26
            [cSTime] => 1742054567
            [cETime] => 1742054583
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09695786174
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054583
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054559
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2544
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.52000000000285
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29892.239999998703
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2544
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.52000000000285
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95575.36000000943
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054585
{"compaign_id":"36075","contact_id":"6366","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6366","uid":"u595","unique_id":"36075_6366_138-u595","ivrId":"3158","channelOTime":1742054536,"channelDTime":1742054584,"channelDuration":48,"cSTime":1742054560,"cETime":1742054584,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09771686285","server_ip":"118.185.137.196","insertTime":1742054584,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054539,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054560,"endTime":1742054584,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6366
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6366
            [uid] => u595
            [unique_id] => 36075_6366_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054536
            [channelDTime] => 1742054584
            [channelDuration] => 48
            [cSTime] => 1742054560
            [cETime] => 1742054584
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09771686285
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054584
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054539
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054560
                                    [endTime] => 1742054584
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2546
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.68000000000285
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29892.079999998703
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2546
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.68000000000285
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95575.20000000943
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054585
{"compaign_id":"36075","contact_id":"6441","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6441","uid":"u595","unique_id":"36075_6441_138-u595","ivrId":"3158","channelOTime":1742054565,"channelDTime":1742054584,"channelDuration":19,"cSTime":1742054579,"cETime":1742054584,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07048982517","server_ip":"118.185.137.196","insertTime":1742054584,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054567,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6441
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6441
            [uid] => u595
            [unique_id] => 36075_6441_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054565
            [channelDTime] => 1742054584
            [channelDuration] => 19
            [cSTime] => 1742054579
            [cETime] => 1742054584
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07048982517
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054584
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054567
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2548
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.84000000000285
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29891.919999998703
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2548
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.84000000000285
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95575.04000000942
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054585
{"compaign_id":"36075","contact_id":"6398","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6398","uid":"u595","unique_id":"36075_6398_138-u595","ivrId":"3158","channelOTime":1742054543,"channelDTime":1742054585,"channelDuration":42,"cSTime":1742054562,"cETime":1742054585,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08808870305","server_ip":"118.185.137.196","insertTime":1742054585,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054548,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054562,"endTime":1742054585,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6398
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6398
            [uid] => u595
            [unique_id] => 36075_6398_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054543
            [channelDTime] => 1742054585
            [channelDuration] => 42
            [cSTime] => 1742054562
            [cETime] => 1742054585
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08808870305
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054585
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054548
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054562
                                    [endTime] => 1742054585
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2549
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.92000000000286
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29891.8399999987
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2549
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 203.92000000000286
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95574.96000000942
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054587
{"compaign_id":"36075","contact_id":"6433","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6433","uid":"u595","unique_id":"36075_6433_138-u595","ivrId":"3158","channelOTime":1742054563,"channelDTime":1742054589,"channelDuration":26,"cSTime":1742054583,"cETime":1742054589,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09365813151","server_ip":"118.185.137.196","insertTime":1742054589,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054565,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6433
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6433
            [uid] => u595
            [unique_id] => 36075_6433_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054563
            [channelDTime] => 1742054589
            [channelDuration] => 26
            [cSTime] => 1742054583
            [cETime] => 1742054589
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09365813151
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054589
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054565
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2551
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.08000000000285
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29891.6799999987
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2551
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.08000000000285
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95574.80000000942
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054590
{"compaign_id":"36075","contact_id":"6483","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6483","uid":"u595","unique_id":"36075_6483_138-u595","ivrId":"3158","channelOTime":1742054580,"channelDTime":1742054590,"channelDuration":10,"cSTime":1742054588,"cETime":1742054590,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07825090794","server_ip":"118.185.137.196","insertTime":1742054590,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054582,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6483
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6483
            [uid] => u595
            [unique_id] => 36075_6483_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054580
            [channelDTime] => 1742054590
            [channelDuration] => 10
            [cSTime] => 1742054588
            [cETime] => 1742054590
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07825090794
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054590
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054582
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2552
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.16000000000287
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29891.5999999987
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2552
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.16000000000287
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95574.72000000942
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054592
{"compaign_id":"36075","contact_id":"6428","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6428","uid":"u595","unique_id":"36075_6428_138-u595","ivrId":"3158","channelOTime":1742054562,"channelDTime":1742054591,"channelDuration":29,"cSTime":1742054574,"cETime":1742054591,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07384565548","server_ip":"118.185.137.196","insertTime":1742054591,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054564,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6428
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6428
            [uid] => u595
            [unique_id] => 36075_6428_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054562
            [channelDTime] => 1742054591
            [channelDuration] => 29
            [cSTime] => 1742054574
            [cETime] => 1742054591
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07384565548
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054591
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054564
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2553
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.24000000000288
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29891.519999998698
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2553
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.24000000000288
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95574.64000000941
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054592
{"compaign_id":"36075","contact_id":"6465","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6465","uid":"u595","unique_id":"36075_6465_138-u595","ivrId":"3158","channelOTime":1742054576,"channelDTime":1742054593,"channelDuration":17,"cSTime":1742054589,"cETime":1742054593,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07093500674","server_ip":"118.185.137.196","insertTime":1742054593,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054579,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6465
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6465
            [uid] => u595
            [unique_id] => 36075_6465_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054576
            [channelDTime] => 1742054593
            [channelDuration] => 17
            [cSTime] => 1742054589
            [cETime] => 1742054593
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07093500674
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054593
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054579
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2555
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.40000000000288
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29891.3599999987
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2555
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.40000000000288
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95574.48000000941
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054595
{"compaign_id":"36075","contact_id":"6490","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6490","uid":"u595","unique_id":"36075_6490_138-u595","ivrId":"3158","channelOTime":1742054581,"channelDTime":1742054596,"channelDuration":15,"cSTime":1742054590,"cETime":1742054596,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09835395269","server_ip":"118.185.137.196","insertTime":1742054596,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054583,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6490
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6490
            [uid] => u595
            [unique_id] => 36075_6490_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054581
            [channelDTime] => 1742054596
            [channelDuration] => 15
            [cSTime] => 1742054590
            [cETime] => 1742054596
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09835395269
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054596
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054583
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2556
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.4800000000029
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29891.279999998696
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2556
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.4800000000029
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95574.40000000941
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054597
{"compaign_id":"36075","contact_id":"6470","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6470","uid":"u595","unique_id":"36075_6470_138-u595","ivrId":"3158","channelOTime":1742054577,"channelDTime":1742054596,"channelDuration":19,"cSTime":1742054588,"cETime":1742054596,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07878588858","server_ip":"118.185.137.196","insertTime":1742054596,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054578,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6470
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6470
            [uid] => u595
            [unique_id] => 36075_6470_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054577
            [channelDTime] => 1742054596
            [channelDuration] => 19
            [cSTime] => 1742054588
            [cETime] => 1742054596
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07878588858
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054596
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054578
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2557
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.5600000000029
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29891.199999998695
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2557
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.5600000000029
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95574.32000000941
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054597
{"compaign_id":"36075","contact_id":"6448","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6448","uid":"u595","unique_id":"36075_6448_138-u595","ivrId":"3158","channelOTime":1742054566,"channelDTime":1742054596,"channelDuration":30,"cSTime":1742054577,"cETime":1742054596,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08637232816","server_ip":"118.185.137.196","insertTime":1742054596,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054567,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6448
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6448
            [uid] => u595
            [unique_id] => 36075_6448_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054566
            [channelDTime] => 1742054596
            [channelDuration] => 30
            [cSTime] => 1742054577
            [cETime] => 1742054596
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08637232816
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054596
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054567
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2558
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.6400000000029
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29891.119999998693
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2558
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.6400000000029
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95574.2400000094
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054598
{"compaign_id":"36075","contact_id":"6446","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6446","uid":"u595","unique_id":"36075_6446_138-u595","ivrId":"3158","channelOTime":1742054566,"channelDTime":1742054596,"channelDuration":30,"cSTime":1742054590,"cETime":1742054596,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09609862268","server_ip":"118.185.137.196","insertTime":1742054596,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054567,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6446
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6446
            [uid] => u595
            [unique_id] => 36075_6446_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054566
            [channelDTime] => 1742054596
            [channelDuration] => 30
            [cSTime] => 1742054590
            [cETime] => 1742054596
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09609862268
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054596
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054567
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2560
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.8000000000029
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29890.959999998693
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2560
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.8000000000029
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95574.0800000094
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054598
{"compaign_id":"36075","contact_id":"6499","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6499","uid":"u595","unique_id":"36075_6499_138-u595","ivrId":"3158","channelOTime":1742054583,"channelDTime":1742054596,"channelDuration":13,"cSTime":1742054589,"cETime":1742054596,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08377922019","server_ip":"118.185.137.196","insertTime":1742054596,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054585,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6499
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6499
            [uid] => u595
            [unique_id] => 36075_6499_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054583
            [channelDTime] => 1742054596
            [channelDuration] => 13
            [cSTime] => 1742054589
            [cETime] => 1742054596
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08377922019
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054596
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054585
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2561
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.88000000000292
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29890.87999999869
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2561
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.88000000000292
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95574.0000000094
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054598
{"compaign_id":"36075","contact_id":"6426","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6426","uid":"u595","unique_id":"36075_6426_138-u595","ivrId":"3158","channelOTime":1742054562,"channelDTime":1742054597,"channelDuration":35,"cSTime":1742054582,"cETime":1742054597,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08307317180","server_ip":"118.185.137.196","insertTime":1742054597,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054563,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6426
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6426
            [uid] => u595
            [unique_id] => 36075_6426_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054562
            [channelDTime] => 1742054597
            [channelDuration] => 35
            [cSTime] => 1742054582
            [cETime] => 1742054597
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08307317180
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054597
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054563
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2562
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.96000000000294
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29890.79999999869
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2562
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 204.96000000000294
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95573.9200000094
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054599
{"compaign_id":"36075","contact_id":"6474","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6474","uid":"u595","unique_id":"36075_6474_138-u595","ivrId":"3158","channelOTime":1742054578,"channelDTime":1742054597,"channelDuration":19,"cSTime":1742054587,"cETime":1742054597,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09719976628","server_ip":"118.185.137.196","insertTime":1742054597,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054580,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6474
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6474
            [uid] => u595
            [unique_id] => 36075_6474_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054578
            [channelDTime] => 1742054597
            [channelDuration] => 19
            [cSTime] => 1742054587
            [cETime] => 1742054597
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09719976628
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054597
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054580
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2563
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.04000000000295
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29890.719999998688
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2563
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.04000000000295
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95573.8400000094
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054599
{"compaign_id":"36075","contact_id":"6455","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6455","uid":"u595","unique_id":"36075_6455_138-u595","ivrId":"3158","channelOTime":1742054574,"channelDTime":1742054597,"channelDuration":23,"cSTime":1742054592,"cETime":1742054597,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07041136131","server_ip":"118.185.137.196","insertTime":1742054597,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054575,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6455
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6455
            [uid] => u595
            [unique_id] => 36075_6455_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054574
            [channelDTime] => 1742054597
            [channelDuration] => 23
            [cSTime] => 1742054592
            [cETime] => 1742054597
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07041136131
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054597
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054575
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2564
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.12000000000296
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29890.639999998686
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2564
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.12000000000296
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95573.7600000094
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054599
{"compaign_id":"36075","contact_id":"6496","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6496","uid":"u595","unique_id":"36075_6496_138-u595","ivrId":"3158","channelOTime":1742054582,"channelDTime":1742054599,"channelDuration":17,"cSTime":1742054594,"cETime":1742054599,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09717353853","server_ip":"118.185.137.196","insertTime":1742054599,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054584,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6496
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6496
            [uid] => u595
            [unique_id] => 36075_6496_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054582
            [channelDTime] => 1742054599
            [channelDuration] => 17
            [cSTime] => 1742054594
            [cETime] => 1742054599
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09717353853
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054599
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054584
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2565
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.20000000000297
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29890.559999998684
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2565
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.20000000000297
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95573.6800000094
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054601
{"compaign_id":"36075","contact_id":"6494","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6494","uid":"u595","unique_id":"36075_6494_138-u595","ivrId":"3158","channelOTime":1742054582,"channelDTime":1742054600,"channelDuration":18,"cSTime":1742054597,"cETime":1742054600,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09871568744","server_ip":"118.185.137.196","insertTime":1742054600,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054583,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6494
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6494
            [uid] => u595
            [unique_id] => 36075_6494_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054582
            [channelDTime] => 1742054600
            [channelDuration] => 18
            [cSTime] => 1742054597
            [cETime] => 1742054600
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09871568744
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054600
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054583
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2566
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.28000000000299
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29890.479999998683
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2566
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.28000000000299
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95573.60000000939
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054602
{"compaign_id":"36075","contact_id":"6472","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6472","uid":"u595","unique_id":"36075_6472_138-u595","ivrId":"3158","channelOTime":1742054577,"channelDTime":1742054601,"channelDuration":24,"cSTime":1742054583,"cETime":1742054601,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07285970990","server_ip":"118.185.137.196","insertTime":1742054601,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054579,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6472
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6472
            [uid] => u595
            [unique_id] => 36075_6472_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054577
            [channelDTime] => 1742054601
            [channelDuration] => 24
            [cSTime] => 1742054583
            [cETime] => 1742054601
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07285970990
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054601
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054579
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2567
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.360000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29890.39999999868
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2567
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.360000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95573.52000000939
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054602
{"compaign_id":"36075","contact_id":"6485","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6485","uid":"u595","unique_id":"36075_6485_138-u595","ivrId":"3158","channelOTime":1742054580,"channelDTime":1742054601,"channelDuration":21,"cSTime":1742054595,"cETime":1742054601,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09700410927","server_ip":"118.185.137.196","insertTime":1742054601,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054583,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6485
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6485
            [uid] => u595
            [unique_id] => 36075_6485_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054580
            [channelDTime] => 1742054601
            [channelDuration] => 21
            [cSTime] => 1742054595
            [cETime] => 1742054601
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09700410927
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054601
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054583
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2569
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.520000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29890.23999999868
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2569
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.520000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95573.36000000939
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054602
{"compaign_id":"36075","contact_id":"6463","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6463","uid":"u595","unique_id":"36075_6463_138-u595","ivrId":"3158","channelOTime":1742054576,"channelDTime":1742054603,"channelDuration":27,"cSTime":1742054589,"cETime":1742054603,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09381144311","server_ip":"118.185.137.196","insertTime":1742054603,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054577,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6463
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6463
            [uid] => u595
            [unique_id] => 36075_6463_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054576
            [channelDTime] => 1742054603
            [channelDuration] => 27
            [cSTime] => 1742054589
            [cETime] => 1742054603
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09381144311
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054603
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054577
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2570
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.600000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29890.15999999868
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2570
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.600000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95573.28000000938
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054605
{"compaign_id":"36075","contact_id":"6454","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6454","uid":"u595","unique_id":"36075_6454_138-u595","ivrId":"3158","channelOTime":1742054574,"channelDTime":1742054604,"channelDuration":30,"cSTime":1742054586,"cETime":1742054604,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08882312185","server_ip":"118.185.137.196","insertTime":1742054604,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054575,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6454
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6454
            [uid] => u595
            [unique_id] => 36075_6454_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054574
            [channelDTime] => 1742054604
            [channelDuration] => 30
            [cSTime] => 1742054586
            [cETime] => 1742054604
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08882312185
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054604
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054575
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2571
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.68000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29890.079999998678
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2571
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.68000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95573.20000000938
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054605
{"compaign_id":"36075","contact_id":"6476","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6476","uid":"u595","unique_id":"36075_6476_138-u595","ivrId":"3158","channelOTime":1742054578,"channelDTime":1742054604,"channelDuration":26,"cSTime":1742054588,"cETime":1742054604,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09389249647","server_ip":"118.185.137.196","insertTime":1742054604,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054581,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6476
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6476
            [uid] => u595
            [unique_id] => 36075_6476_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054578
            [channelDTime] => 1742054604
            [channelDuration] => 26
            [cSTime] => 1742054588
            [cETime] => 1742054604
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09389249647
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054604
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054581
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2573
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.84000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29889.919999998678
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2573
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 205.84000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95573.04000000938
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054606
{"compaign_id":"36075","contact_id":"6450","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6450","uid":"u595","unique_id":"36075_6450_138-u595","ivrId":"3158","channelOTime":1742054573,"channelDTime":1742054605,"channelDuration":32,"cSTime":1742054582,"cETime":1742054605,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08585847003","server_ip":"118.185.137.196","insertTime":1742054605,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054575,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054582,"endTime":1742054605,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6450
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6450
            [uid] => u595
            [unique_id] => 36075_6450_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054573
            [channelDTime] => 1742054605
            [channelDuration] => 32
            [cSTime] => 1742054582
            [cETime] => 1742054605
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08585847003
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054605
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054575
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054582
                                    [endTime] => 1742054605
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2575
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29889.759999998678
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2575
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.000000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95572.88000000938
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054607
{"compaign_id":"36075","contact_id":"6438","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6438","uid":"u595","unique_id":"36075_6438_138-u595","ivrId":"3158","channelOTime":1742054564,"channelDTime":1742054605,"channelDuration":41,"cSTime":1742054585,"cETime":1742054605,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08750920958","server_ip":"118.185.137.196","insertTime":1742054605,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054568,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6438
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6438
            [uid] => u595
            [unique_id] => 36075_6438_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054564
            [channelDTime] => 1742054605
            [channelDuration] => 41
            [cSTime] => 1742054585
            [cETime] => 1742054605
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08750920958
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054605
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054568
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2577
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.160000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29889.599999998678
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2577
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.160000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95572.72000000937
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054607
{"compaign_id":"36075","contact_id":"6482","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6482","uid":"u595","unique_id":"36075_6482_138-u595","ivrId":"3158","channelOTime":1742054579,"channelDTime":1742054608,"channelDuration":29,"cSTime":1742054594,"cETime":1742054608,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07505404362","server_ip":"118.185.137.196","insertTime":1742054608,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054582,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6482
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6482
            [uid] => u595
            [unique_id] => 36075_6482_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054579
            [channelDTime] => 1742054608
            [channelDuration] => 29
            [cSTime] => 1742054594
            [cETime] => 1742054608
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07505404362
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054608
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054582
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2579
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.320000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29889.439999998678
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2579
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.320000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95572.56000000937
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054609
{"compaign_id":"36075","contact_id":"6431","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6431","uid":"u595","unique_id":"36075_6431_138-u595","ivrId":"3158","channelOTime":1742054563,"channelDTime":1742054608,"channelDuration":45,"cSTime":1742054585,"cETime":1742054608,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09898351790","server_ip":"118.185.137.196","insertTime":1742054608,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054565,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054585,"endTime":1742054608,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6431
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6431
            [uid] => u595
            [unique_id] => 36075_6431_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054563
            [channelDTime] => 1742054608
            [channelDuration] => 45
            [cSTime] => 1742054585
            [cETime] => 1742054608
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09898351790
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054608
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054565
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054585
                                    [endTime] => 1742054608
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2580
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.40000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29889.359999998676
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2580
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.40000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95572.48000000937
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054610
{"compaign_id":"36075","contact_id":"6469","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6469","uid":"u595","unique_id":"36075_6469_138-u595","ivrId":"3158","channelOTime":1742054577,"channelDTime":1742054608,"channelDuration":31,"cSTime":1742054585,"cETime":1742054608,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09711000525","server_ip":"118.185.137.196","insertTime":1742054608,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054579,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054585,"endTime":1742054608,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6469
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6469
            [uid] => u595
            [unique_id] => 36075_6469_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054577
            [channelDTime] => 1742054608
            [channelDuration] => 31
            [cSTime] => 1742054585
            [cETime] => 1742054608
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09711000525
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054608
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054579
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054585
                                    [endTime] => 1742054608
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2582
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.56000000000301
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29889.199999998677
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2582
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.56000000000301
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95572.32000000936
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054610
{"compaign_id":"36075","contact_id":"6498","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6498","uid":"u595","unique_id":"36075_6498_138-u595","ivrId":"3158","channelOTime":1742054583,"channelDTime":1742054608,"channelDuration":25,"cSTime":1742054603,"cETime":1742054608,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09570282365","server_ip":"118.185.137.196","insertTime":1742054608,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054585,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6498
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6498
            [uid] => u595
            [unique_id] => 36075_6498_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054583
            [channelDTime] => 1742054608
            [channelDuration] => 25
            [cSTime] => 1742054603
            [cETime] => 1742054608
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09570282365
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054608
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054585
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2584
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.720000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29889.039999998677
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2584
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.720000000003
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95572.16000000936
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054610
{"compaign_id":"36075","contact_id":"6458","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6458","uid":"u595","unique_id":"36075_6458_138-u595","ivrId":"3158","channelOTime":1742054575,"channelDTime":1742054611,"channelDuration":36,"cSTime":1742054589,"cETime":1742054611,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09690204018","server_ip":"118.185.137.196","insertTime":1742054611,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054582,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054589,"endTime":1742054613,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6458
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6458
            [uid] => u595
            [unique_id] => 36075_6458_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054575
            [channelDTime] => 1742054611
            [channelDuration] => 36
            [cSTime] => 1742054589
            [cETime] => 1742054611
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09690204018
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054611
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054582
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054589
                                    [endTime] => 1742054613
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2585
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.80000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29888.959999998675
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2585
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.80000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95572.08000000936
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054613
{"compaign_id":"36075","contact_id":"6422","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6422","uid":"u595","unique_id":"36075_6422_138-u595","ivrId":"3158","channelOTime":1742054561,"channelDTime":1742054612,"channelDuration":51,"cSTime":1742054589,"cETime":1742054612,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06202874259","server_ip":"118.185.137.196","insertTime":1742054612,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054562,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054589,"endTime":1742054612,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6422
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6422
            [uid] => u595
            [unique_id] => 36075_6422_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054561
            [channelDTime] => 1742054612
            [channelDuration] => 51
            [cSTime] => 1742054589
            [cETime] => 1742054612
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06202874259
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054612
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054562
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054589
                                    [endTime] => 1742054612
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2587
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.96000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29888.799999998675
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2587
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 206.96000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95571.92000000936
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054614
{"compaign_id":"36075","contact_id":"6502","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6502","uid":"u595","unique_id":"36075_6502_138-u595","ivrId":"3158","channelOTime":1742054596,"channelDTime":1742054613,"channelDuration":17,"cSTime":1742054605,"cETime":1742054613,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09600524265","server_ip":"118.185.137.196","insertTime":1742054613,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054599,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6502
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6502
            [uid] => u595
            [unique_id] => 36075_6502_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054596
            [channelDTime] => 1742054613
            [channelDuration] => 17
            [cSTime] => 1742054605
            [cETime] => 1742054613
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09600524265
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054613
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054599
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2589
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.12000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29888.639999998675
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2589
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.12000000000302
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95571.76000000935
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054614
{"compaign_id":"36075","contact_id":"6526","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6526","uid":"u595","unique_id":"36075_6526_138-u595","ivrId":"3158","channelOTime":1742054601,"channelDTime":1742054613,"channelDuration":12,"cSTime":1742054606,"cETime":1742054613,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09800662479","server_ip":"118.185.137.196","insertTime":1742054613,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054604,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6526
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6526
            [uid] => u595
            [unique_id] => 36075_6526_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054601
            [channelDTime] => 1742054613
            [channelDuration] => 12
            [cSTime] => 1742054606
            [cETime] => 1742054613
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09800662479
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054613
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054604
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2590
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.20000000000303
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29888.559999998673
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2590
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.20000000000303
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95571.68000000935
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054615
{"compaign_id":"36075","contact_id":"6530","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6530","uid":"u595","unique_id":"36075_6530_138-u595","ivrId":"3158","channelOTime":1742054602,"channelDTime":1742054614,"channelDuration":12,"cSTime":1742054608,"cETime":1742054614,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09973934764","server_ip":"118.185.137.196","insertTime":1742054614,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054603,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6530
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6530
            [uid] => u595
            [unique_id] => 36075_6530_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054602
            [channelDTime] => 1742054614
            [channelDuration] => 12
            [cSTime] => 1742054608
            [cETime] => 1742054614
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09973934764
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054614
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054603
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2591
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.28000000000304
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29888.47999999867
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2591
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.28000000000304
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95571.60000000935
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054616
{"compaign_id":"36075","contact_id":"6532","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6532","uid":"u595","unique_id":"36075_6532_138-u595","ivrId":"3158","channelOTime":1742054602,"channelDTime":1742054618,"channelDuration":16,"cSTime":1742054614,"cETime":1742054618,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09632800658","server_ip":"118.185.137.196","insertTime":1742054618,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054606,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6532
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6532
            [uid] => u595
            [unique_id] => 36075_6532_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054602
            [channelDTime] => 1742054618
            [channelDuration] => 16
            [cSTime] => 1742054614
            [cETime] => 1742054618
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09632800658
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054618
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054606
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2592
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.36000000000305
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29888.39999999867
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2592
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.36000000000305
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95571.52000000935
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054619
{"compaign_id":"36075","contact_id":"6477","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6477","uid":"u595","unique_id":"36075_6477_138-u595","ivrId":"3158","channelOTime":1742054578,"channelDTime":1742054619,"channelDuration":41,"cSTime":1742054608,"cETime":1742054619,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09939900596","server_ip":"118.185.137.196","insertTime":1742054619,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054581,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6477
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6477
            [uid] => u595
            [unique_id] => 36075_6477_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054578
            [channelDTime] => 1742054619
            [channelDuration] => 41
            [cSTime] => 1742054608
            [cETime] => 1742054619
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09939900596
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054619
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054581
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2593
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.44000000000307
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29888.31999999867
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2593
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.44000000000307
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95571.44000000934
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054620
{"compaign_id":"36075","contact_id":"6487","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6487","uid":"u595","unique_id":"36075_6487_138-u595","ivrId":"3158","channelOTime":1742054580,"channelDTime":1742054619,"channelDuration":39,"cSTime":1742054594,"cETime":1742054619,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07025040834","server_ip":"118.185.137.196","insertTime":1742054619,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054582,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054594,"endTime":1742054614,"duration":20}],"#3":[{"startTime":1742054614,"endTime":1742054619,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6487
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6487
            [uid] => u595
            [unique_id] => 36075_6487_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054580
            [channelDTime] => 1742054619
            [channelDuration] => 39
            [cSTime] => 1742054594
            [cETime] => 1742054619
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07025040834
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054619
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054582
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054594
                                    [endTime] => 1742054614
                                    [duration] => 20
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054614
                                    [endTime] => 1742054619
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2594
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.52000000000308
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29888.239999998666
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2594
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.52000000000308
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95571.36000000934
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054621
{"compaign_id":"36075","contact_id":"6527","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6527","uid":"u595","unique_id":"36075_6527_138-u595","ivrId":"3158","channelOTime":1742054601,"channelDTime":1742054622,"channelDuration":21,"cSTime":1742054611,"cETime":1742054622,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09305229637","server_ip":"118.185.137.196","insertTime":1742054622,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054604,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6527
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6527
            [uid] => u595
            [unique_id] => 36075_6527_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054601
            [channelDTime] => 1742054622
            [channelDuration] => 21
            [cSTime] => 1742054611
            [cETime] => 1742054622
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09305229637
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054622
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054604
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2596
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.68000000000308
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29888.079999998667
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2596
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.68000000000308
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95571.20000000934
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054624
{"compaign_id":"36075","contact_id":"6509","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6509","uid":"u595","unique_id":"36075_6509_138-u595","ivrId":"3158","channelOTime":1742054598,"channelDTime":1742054622,"channelDuration":24,"cSTime":1742054618,"cETime":1742054622,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08881788821","server_ip":"118.185.137.196","insertTime":1742054622,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054600,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6509
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6509
            [uid] => u595
            [unique_id] => 36075_6509_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054598
            [channelDTime] => 1742054622
            [channelDuration] => 24
            [cSTime] => 1742054618
            [cETime] => 1742054622
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08881788821
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054622
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054600
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2597
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.7600000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29887.999999998665
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2597
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.7600000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95571.12000000934
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054624
{"compaign_id":"36075","contact_id":"6486","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6486","uid":"u595","unique_id":"36075_6486_138-u595","ivrId":"3158","channelOTime":1742054580,"channelDTime":1742054623,"channelDuration":43,"cSTime":1742054599,"cETime":1742054623,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09704180313","server_ip":"118.185.137.196","insertTime":1742054623,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054583,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054599,"endTime":1742054623,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6486
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6486
            [uid] => u595
            [unique_id] => 36075_6486_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054580
            [channelDTime] => 1742054623
            [channelDuration] => 43
            [cSTime] => 1742054599
            [cETime] => 1742054623
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09704180313
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054623
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054583
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054599
                                    [endTime] => 1742054623
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2598
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.8400000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29887.919999998663
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2598
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 207.8400000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95571.04000000934
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054624
{"compaign_id":"36075","contact_id":"6517","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6517","uid":"u595","unique_id":"36075_6517_138-u595","ivrId":"3158","channelOTime":1742054599,"channelDTime":1742054626,"channelDuration":27,"cSTime":1742054613,"cETime":1742054626,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09356438650","server_ip":"118.185.137.196","insertTime":1742054626,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054601,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6517
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6517
            [uid] => u595
            [unique_id] => 36075_6517_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054599
            [channelDTime] => 1742054626
            [channelDuration] => 27
            [cSTime] => 1742054613
            [cETime] => 1742054626
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09356438650
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054626
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054601
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2600
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.0000000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29887.759999998663
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2600
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.0000000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95570.88000000933
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054628
{"compaign_id":"36075","contact_id":"6551","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6551","uid":"u595","unique_id":"36075_6551_138-u595","ivrId":"3158","channelOTime":1742054613,"channelDTime":1742054631,"channelDuration":18,"cSTime":1742054622,"cETime":1742054631,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09595905908","server_ip":"118.185.137.196","insertTime":1742054631,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054615,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6551
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6551
            [uid] => u595
            [unique_id] => 36075_6551_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054613
            [channelDTime] => 1742054631
            [channelDuration] => 18
            [cSTime] => 1742054622
            [cETime] => 1742054631
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09595905908
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054631
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054615
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2601
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.0800000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29887.67999999866
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2601
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.0800000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95570.80000000933
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054633
{"compaign_id":"36075","contact_id":"6525","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6525","uid":"u595","unique_id":"36075_6525_138-u595","ivrId":"3158","channelOTime":1742054601,"channelDTime":1742054631,"channelDuration":30,"cSTime":1742054607,"cETime":1742054631,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09971717559","server_ip":"118.185.137.196","insertTime":1742054631,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054603,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054607,"endTime":1742054625,"duration":18}],"#3":[{"startTime":1742054625,"endTime":1742054631,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6525
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6525
            [uid] => u595
            [unique_id] => 36075_6525_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054601
            [channelDTime] => 1742054631
            [channelDuration] => 30
            [cSTime] => 1742054607
            [cETime] => 1742054631
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09971717559
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054631
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054603
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054607
                                    [endTime] => 1742054625
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054625
                                    [endTime] => 1742054631
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2602
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.16000000000312
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29887.59999999866
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2602
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.16000000000312
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95570.72000000933
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054633
{"compaign_id":"36075","contact_id":"6514","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6514","uid":"u595","unique_id":"36075_6514_138-u595","ivrId":"3158","channelOTime":1742054599,"channelDTime":1742054632,"channelDuration":33,"cSTime":1742054614,"cETime":1742054632,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07808756610","server_ip":"118.185.137.196","insertTime":1742054632,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054602,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6514
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6514
            [uid] => u595
            [unique_id] => 36075_6514_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054599
            [channelDTime] => 1742054632
            [channelDuration] => 33
            [cSTime] => 1742054614
            [cETime] => 1742054632
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07808756610
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054632
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054602
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2604
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.32000000000312
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29887.43999999866
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2604
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.32000000000312
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95570.56000000933
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054633
{"compaign_id":"36075","contact_id":"6519","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6519","uid":"u595","unique_id":"36075_6519_138-u595","ivrId":"3158","channelOTime":1742054600,"channelDTime":1742054633,"channelDuration":33,"cSTime":1742054613,"cETime":1742054633,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07856066785","server_ip":"118.185.137.196","insertTime":1742054633,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054602,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6519
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6519
            [uid] => u595
            [unique_id] => 36075_6519_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054600
            [channelDTime] => 1742054633
            [channelDuration] => 33
            [cSTime] => 1742054613
            [cETime] => 1742054633
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07856066785
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054633
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054602
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2606
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.48000000000312
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29887.27999999866
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2606
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.48000000000312
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95570.40000000932
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054634
{"compaign_id":"36075","contact_id":"6504","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6504","uid":"u595","unique_id":"36075_6504_138-u595","ivrId":"3158","channelOTime":1742054597,"channelDTime":1742054633,"channelDuration":36,"cSTime":1742054610,"cETime":1742054633,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06360577274","server_ip":"118.185.137.196","insertTime":1742054633,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054598,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054610,"endTime":1742054633,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6504
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6504
            [uid] => u595
            [unique_id] => 36075_6504_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054597
            [channelDTime] => 1742054633
            [channelDuration] => 36
            [cSTime] => 1742054610
            [cETime] => 1742054633
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06360577274
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054633
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054598
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054610
                                    [endTime] => 1742054633
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2608
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.6400000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29887.11999999866
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2608
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.6400000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95570.24000000932
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054635
{"compaign_id":"36075","contact_id":"6533","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6533","uid":"u595","unique_id":"36075_6533_138-u595","ivrId":"3158","channelOTime":1742054602,"channelDTime":1742054634,"channelDuration":32,"cSTime":1742054631,"cETime":1742054634,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09617807167","server_ip":"118.185.137.196","insertTime":1742054634,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054606,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6533
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6533
            [uid] => u595
            [unique_id] => 36075_6533_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054602
            [channelDTime] => 1742054634
            [channelDuration] => 32
            [cSTime] => 1742054631
            [cETime] => 1742054634
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09617807167
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054634
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054606
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2610
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.8000000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29886.95999999866
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2610
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.8000000000031
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95570.08000000931
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054635
{"compaign_id":"36075","contact_id":"6576","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6576","uid":"u595","unique_id":"36075_6576_138-u595","ivrId":"3158","channelOTime":1742054618,"channelDTime":1742054634,"channelDuration":16,"cSTime":1742054630,"cETime":1742054634,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06283013866","server_ip":"118.185.137.196","insertTime":1742054634,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054623,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6576
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6576
            [uid] => u595
            [unique_id] => 36075_6576_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054618
            [channelDTime] => 1742054634
            [channelDuration] => 16
            [cSTime] => 1742054630
            [cETime] => 1742054634
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06283013866
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054634
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054623
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2611
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.88000000000312
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29886.87999999866
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2611
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.88000000000312
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95570.00000000931
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054636
{"compaign_id":"36075","contact_id":"6559","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6559","uid":"u595","unique_id":"36075_6559_138-u595","ivrId":"3158","channelOTime":1742054615,"channelDTime":1742054634,"channelDuration":19,"cSTime":1742054629,"cETime":1742054634,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08073000915","server_ip":"118.185.137.196","insertTime":1742054634,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054616,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6559
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6559
            [uid] => u595
            [unique_id] => 36075_6559_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054615
            [channelDTime] => 1742054634
            [channelDuration] => 19
            [cSTime] => 1742054629
            [cETime] => 1742054634
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08073000915
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054634
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054616
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2612
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.96000000000313
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29886.799999998657
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2612
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 208.96000000000313
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95569.92000000931
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054636
{"compaign_id":"36075","contact_id":"6539","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6539","uid":"u595","unique_id":"36075_6539_138-u595","ivrId":"3158","channelOTime":1742054604,"channelDTime":1742054634,"channelDuration":30,"cSTime":1742054611,"cETime":1742054634,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09654963896","server_ip":"118.185.137.196","insertTime":1742054634,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054607,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054611,"endTime":1742054634,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6539
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6539
            [uid] => u595
            [unique_id] => 36075_6539_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054604
            [channelDTime] => 1742054634
            [channelDuration] => 30
            [cSTime] => 1742054611
            [cETime] => 1742054634
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09654963896
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054634
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054607
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054611
                                    [endTime] => 1742054634
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2613
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.04000000000315
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29886.719999998655
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2613
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.04000000000315
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95569.84000000931
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054636
{"compaign_id":"36075","contact_id":"6590","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6590","uid":"u595","unique_id":"36075_6590_138-u595","ivrId":"3158","channelOTime":1742054621,"channelDTime":1742054636,"channelDuration":15,"cSTime":1742054630,"cETime":1742054636,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08638596299","server_ip":"118.185.137.196","insertTime":1742054636,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054625,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6590
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6590
            [uid] => u595
            [unique_id] => 36075_6590_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054621
            [channelDTime] => 1742054636
            [channelDuration] => 15
            [cSTime] => 1742054630
            [cETime] => 1742054636
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08638596299
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054636
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054625
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2615
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.20000000000314
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29886.559999998655
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2615
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.20000000000314
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95569.6800000093
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054638
{"compaign_id":"36075","contact_id":"6528","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6528","uid":"u595","unique_id":"36075_6528_138-u595","ivrId":"3158","channelOTime":1742054601,"channelDTime":1742054638,"channelDuration":37,"cSTime":1742054615,"cETime":1742054638,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09346686836","server_ip":"118.185.137.196","insertTime":1742054638,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054603,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054615,"endTime":1742054638,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6528
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6528
            [uid] => u595
            [unique_id] => 36075_6528_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054601
            [channelDTime] => 1742054638
            [channelDuration] => 37
            [cSTime] => 1742054615
            [cETime] => 1742054638
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09346686836
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054638
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054603
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054615
                                    [endTime] => 1742054638
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2616
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.28000000000316
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29886.479999998654
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2616
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.28000000000316
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95569.6000000093
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054640
{"compaign_id":"36075","contact_id":"6574","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6574","uid":"u595","unique_id":"36075_6574_138-u595","ivrId":"3158","channelOTime":1742054618,"channelDTime":1742054639,"channelDuration":21,"cSTime":1742054633,"cETime":1742054639,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07557258815","server_ip":"118.185.137.196","insertTime":1742054639,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054620,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6574
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6574
            [uid] => u595
            [unique_id] => 36075_6574_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054618
            [channelDTime] => 1742054639
            [channelDuration] => 21
            [cSTime] => 1742054633
            [cETime] => 1742054639
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07557258815
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054639
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054620
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2618
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.44000000000315
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29886.319999998654
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2618
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.44000000000315
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95569.4400000093
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054641
{"compaign_id":"36075","contact_id":"6578","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6578","uid":"u595","unique_id":"36075_6578_138-u595","ivrId":"3158","channelOTime":1742054618,"channelDTime":1742054639,"channelDuration":21,"cSTime":1742054632,"cETime":1742054639,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09558499353","server_ip":"118.185.137.196","insertTime":1742054639,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054621,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6578
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6578
            [uid] => u595
            [unique_id] => 36075_6578_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054618
            [channelDTime] => 1742054639
            [channelDuration] => 21
            [cSTime] => 1742054632
            [cETime] => 1742054639
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09558499353
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054639
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054621
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found 2025-03-15 21:34:01[LOG]Starting Cron
2025-03-15 21:34:01[LOG]Process is already running
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2619
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.52000000000317
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29886.239999998652
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2619
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.52000000000317
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95569.3600000093
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054641
{"compaign_id":"36075","contact_id":"6561","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6561","uid":"u595","unique_id":"36075_6561_138-u595","ivrId":"3158","channelOTime":1742054615,"channelDTime":1742054641,"channelDuration":26,"cSTime":1742054625,"cETime":1742054641,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07305302944","server_ip":"118.185.137.196","insertTime":1742054641,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054618,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6561
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6561
            [uid] => u595
            [unique_id] => 36075_6561_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054615
            [channelDTime] => 1742054641
            [channelDuration] => 26
            [cSTime] => 1742054625
            [cETime] => 1742054641
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07305302944
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054641
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054618
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2620
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.60000000000318
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29886.15999999865
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2620
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.60000000000318
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95569.2800000093
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054643
{"compaign_id":"36075","contact_id":"6582","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6582","uid":"u595","unique_id":"36075_6582_138-u595","ivrId":"3158","channelOTime":1742054619,"channelDTime":1742054643,"channelDuration":24,"cSTime":1742054637,"cETime":1742054643,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06356077902","server_ip":"118.185.137.196","insertTime":1742054643,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054621,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6582
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6582
            [uid] => u595
            [unique_id] => 36075_6582_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054619
            [channelDTime] => 1742054643
            [channelDuration] => 24
            [cSTime] => 1742054637
            [cETime] => 1742054643
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06356077902
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054643
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054621
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2622
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.76000000000317
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29885.99999999865
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2622
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.76000000000317
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95569.1200000093
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054644
{"compaign_id":"36075","contact_id":"6581","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6581","uid":"u595","unique_id":"36075_6581_138-u595","ivrId":"3158","channelOTime":1742054619,"channelDTime":1742054644,"channelDuration":25,"cSTime":1742054629,"cETime":1742054644,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09502725158","server_ip":"118.185.137.196","insertTime":1742054644,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054621,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6581
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6581
            [uid] => u595
            [unique_id] => 36075_6581_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054619
            [channelDTime] => 1742054644
            [channelDuration] => 25
            [cSTime] => 1742054629
            [cETime] => 1742054644
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09502725158
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054644
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054621
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2623
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.8400000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29885.91999999865
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2623
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.8400000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95569.04000000929
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054645
{"compaign_id":"36075","contact_id":"6594","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6594","uid":"u595","unique_id":"36075_6594_138-u595","ivrId":"3158","channelOTime":1742054622,"channelDTime":1742054644,"channelDuration":22,"cSTime":1742054631,"cETime":1742054644,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09325000741","server_ip":"118.185.137.196","insertTime":1742054644,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054624,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6594
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6594
            [uid] => u595
            [unique_id] => 36075_6594_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054622
            [channelDTime] => 1742054644
            [channelDuration] => 22
            [cSTime] => 1742054631
            [cETime] => 1742054644
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09325000741
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054644
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054624
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2624
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.9200000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29885.839999998647
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2624
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 209.9200000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95568.96000000929
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054646
{"compaign_id":"36075","contact_id":"6593","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6593","uid":"u595","unique_id":"36075_6593_138-u595","ivrId":"3158","channelOTime":1742054621,"channelDTime":1742054647,"channelDuration":26,"cSTime":1742054629,"cETime":1742054647,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07226866610","server_ip":"118.185.137.196","insertTime":1742054647,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054622,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6593
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6593
            [uid] => u595
            [unique_id] => 36075_6593_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054621
            [channelDTime] => 1742054647
            [channelDuration] => 26
            [cSTime] => 1742054629
            [cETime] => 1742054647
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07226866610
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054647
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054622
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2625
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.0000000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29885.759999998645
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2625
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.0000000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95568.88000000929
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054648
{"compaign_id":"36075","contact_id":"6552","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6552","uid":"u595","unique_id":"36075_6552_138-u595","ivrId":"3158","channelOTime":1742054613,"channelDTime":1742054647,"channelDuration":34,"cSTime":1742054623,"cETime":1742054647,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09301553559","server_ip":"118.185.137.196","insertTime":1742054647,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054616,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054623,"endTime":1742054647,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6552
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6552
            [uid] => u595
            [unique_id] => 36075_6552_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054613
            [channelDTime] => 1742054647
            [channelDuration] => 34
            [cSTime] => 1742054623
            [cETime] => 1742054647
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09301553559
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054647
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054616
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054623
                                    [endTime] => 1742054647
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2627
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.1600000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29885.599999998645
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2627
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.1600000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95568.72000000929
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054649
{"compaign_id":"36075","contact_id":"6558","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6558","uid":"u595","unique_id":"36075_6558_138-u595","ivrId":"3158","channelOTime":1742054614,"channelDTime":1742054647,"channelDuration":33,"cSTime":1742054624,"cETime":1742054647,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07620385937","server_ip":"118.185.137.196","insertTime":1742054647,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054619,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054624,"endTime":1742054647,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6558
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6558
            [uid] => u595
            [unique_id] => 36075_6558_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054614
            [channelDTime] => 1742054647
            [channelDuration] => 33
            [cSTime] => 1742054624
            [cETime] => 1742054647
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07620385937
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054647
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054619
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054624
                                    [endTime] => 1742054647
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2629
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.3200000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29885.439999998645
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2629
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.3200000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95568.56000000928
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054649
{"compaign_id":"36075","contact_id":"6570","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6570","uid":"u595","unique_id":"36075_6570_138-u595","ivrId":"3158","channelOTime":1742054617,"channelDTime":1742054648,"channelDuration":31,"cSTime":1742054624,"cETime":1742054648,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"06304384905","server_ip":"118.185.137.196","insertTime":1742054648,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054619,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054624,"endTime":1742054642,"duration":18}],"#3":[{"startTime":1742054642,"endTime":1742054648,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6570
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6570
            [uid] => u595
            [unique_id] => 36075_6570_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054617
            [channelDTime] => 1742054648
            [channelDuration] => 31
            [cSTime] => 1742054624
            [cETime] => 1742054648
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 06304384905
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054648
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054619
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054624
                                    [endTime] => 1742054642
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054642
                                    [endTime] => 1742054648
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2631
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.4800000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29885.279999998646
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2631
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.4800000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95568.40000000928
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054649
{"compaign_id":"36075","contact_id":"6544","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6544","uid":"u595","unique_id":"36075_6544_138-u595","ivrId":"3158","channelOTime":1742054605,"channelDTime":1742054648,"channelDuration":43,"cSTime":1742054625,"cETime":1742054648,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08708576420","server_ip":"118.185.137.196","insertTime":1742054648,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054606,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054625,"endTime":1742054648,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6544
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6544
            [uid] => u595
            [unique_id] => 36075_6544_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054605
            [channelDTime] => 1742054648
            [channelDuration] => 43
            [cSTime] => 1742054625
            [cETime] => 1742054648
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08708576420
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054648
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054606
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054625
                                    [endTime] => 1742054648
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2633
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.6400000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29885.119999998646
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2633
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.6400000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95568.24000000927
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054649
{"compaign_id":"36075","contact_id":"6541","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6541","uid":"u595","unique_id":"36075_6541_138-u595","ivrId":"3158","channelOTime":1742054604,"channelDTime":1742054648,"channelDuration":44,"cSTime":1742054630,"cETime":1742054648,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07397349338","server_ip":"118.185.137.196","insertTime":1742054648,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054609,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6541
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6541
            [uid] => u595
            [unique_id] => 36075_6541_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054604
            [channelDTime] => 1742054648
            [channelDuration] => 44
            [cSTime] => 1742054630
            [cETime] => 1742054648
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07397349338
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054648
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054609
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2635
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.8000000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29884.959999998646
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2635
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.8000000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95568.08000000927
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054650
{"compaign_id":"36075","contact_id":"6511","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6511","uid":"u595","unique_id":"36075_6511_138-u595","ivrId":"3158","channelOTime":1742054598,"channelDTime":1742054649,"channelDuration":51,"cSTime":1742054625,"cETime":1742054649,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08815685839","server_ip":"118.185.137.196","insertTime":1742054649,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054619,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054625,"endTime":1742054649,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6511
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6511
            [uid] => u595
            [unique_id] => 36075_6511_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054598
            [channelDTime] => 1742054649
            [channelDuration] => 51
            [cSTime] => 1742054625
            [cETime] => 1742054649
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08815685839
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054649
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054619
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054625
                                    [endTime] => 1742054649
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2637
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.9600000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29884.799999998646
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2637
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 210.9600000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95567.92000000927
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054650
{"compaign_id":"36075","contact_id":"6585","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6585","uid":"u595","unique_id":"36075_6585_138-u595","ivrId":"3158","channelOTime":1742054620,"channelDTime":1742054649,"channelDuration":29,"cSTime":1742054634,"cETime":1742054649,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08485038385","server_ip":"118.185.137.196","insertTime":1742054649,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054621,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6585
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6585
            [uid] => u595
            [unique_id] => 36075_6585_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054620
            [channelDTime] => 1742054649
            [channelDuration] => 29
            [cSTime] => 1742054634
            [cETime] => 1742054649
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08485038385
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054649
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054621
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2639
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.1200000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29884.639999998646
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2639
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.1200000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95567.76000000926
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054651
{"compaign_id":"36075","contact_id":"6564","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6564","uid":"u595","unique_id":"36075_6564_138-u595","ivrId":"3158","channelOTime":1742054616,"channelDTime":1742054649,"channelDuration":33,"cSTime":1742054626,"cETime":1742054649,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08860206858","server_ip":"118.185.137.196","insertTime":1742054649,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054621,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054626,"endTime":1742054649,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6564
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6564
            [uid] => u595
            [unique_id] => 36075_6564_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054616
            [channelDTime] => 1742054649
            [channelDuration] => 33
            [cSTime] => 1742054626
            [cETime] => 1742054649
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08860206858
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054649
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054621
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054626
                                    [endTime] => 1742054649
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2640
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.2000000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29884.559999998644
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2640
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.2000000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95567.68000000926
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054651
{"compaign_id":"36075","contact_id":"6543","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6543","uid":"u595","unique_id":"36075_6543_138-u595","ivrId":"3158","channelOTime":1742054604,"channelDTime":1742054653,"channelDuration":49,"cSTime":1742054629,"cETime":1742054653,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07981571482","server_ip":"118.185.137.196","insertTime":1742054653,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054607,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054629,"endTime":1742054647,"duration":18}],"#3":[{"startTime":1742054647,"endTime":1742054653,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6543
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6543
            [uid] => u595
            [unique_id] => 36075_6543_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054604
            [channelDTime] => 1742054653
            [channelDuration] => 49
            [cSTime] => 1742054629
            [cETime] => 1742054653
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07981571482
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054653
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054607
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054629
                                    [endTime] => 1742054647
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054647
                                    [endTime] => 1742054653
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2642
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.3600000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29884.399999998644
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2642
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.3600000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95567.52000000926
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054654
{"compaign_id":"36075","contact_id":"6611","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6611","uid":"u595","unique_id":"36075_6611_138-u595","ivrId":"3158","channelOTime":1742054638,"channelDTime":1742054654,"channelDuration":16,"cSTime":1742054649,"cETime":1742054654,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09431279702","server_ip":"118.185.137.196","insertTime":1742054654,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054639,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6611
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6611
            [uid] => u595
            [unique_id] => 36075_6611_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054638
            [channelDTime] => 1742054654
            [channelDuration] => 16
            [cSTime] => 1742054649
            [cETime] => 1742054654
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09431279702
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054654
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054639
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2644
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.5200000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29884.239999998645
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2644
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.5200000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95567.36000000926
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054655
{"compaign_id":"36075","contact_id":"6610","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6610","uid":"u595","unique_id":"36075_6610_138-u595","ivrId":"3158","channelOTime":1742054637,"channelDTime":1742054654,"channelDuration":17,"cSTime":1742054649,"cETime":1742054654,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08299040692","server_ip":"118.185.137.196","insertTime":1742054654,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054640,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6610
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6610
            [uid] => u595
            [unique_id] => 36075_6610_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054637
            [channelDTime] => 1742054654
            [channelDuration] => 17
            [cSTime] => 1742054649
            [cETime] => 1742054654
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08299040692
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054654
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054640
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2645
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.6000000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29884.159999998643
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2645
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.6000000000032
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95567.28000000925
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054655
{"compaign_id":"36075","contact_id":"6613","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6613","uid":"u595","unique_id":"36075_6613_138-u595","ivrId":"3158","channelOTime":1742054638,"channelDTime":1742054654,"channelDuration":16,"cSTime":1742054649,"cETime":1742054654,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08059867489","server_ip":"118.185.137.196","insertTime":1742054654,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054641,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6613
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6613
            [uid] => u595
            [unique_id] => 36075_6613_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054638
            [channelDTime] => 1742054654
            [channelDuration] => 16
            [cSTime] => 1742054649
            [cETime] => 1742054654
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08059867489
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054654
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054641
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2646
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.68000000000322
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29884.07999999864
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2646
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.68000000000322
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95567.20000000925
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054656
{"compaign_id":"36075","contact_id":"6589","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6589","uid":"u595","unique_id":"36075_6589_138-u595","ivrId":"3158","channelOTime":1742054621,"channelDTime":1742054657,"channelDuration":36,"cSTime":1742054634,"cETime":1742054657,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08235431468","server_ip":"118.185.137.196","insertTime":1742054657,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054623,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054634,"endTime":1742054657,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6589
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6589
            [uid] => u595
            [unique_id] => 36075_6589_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054621
            [channelDTime] => 1742054657
            [channelDuration] => 36
            [cSTime] => 1742054634
            [cETime] => 1742054657
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08235431468
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054657
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054623
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054634
                                    [endTime] => 1742054657
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2647
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.76000000000323
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29883.99999999864
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2647
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.76000000000323
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95567.12000000925
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054659
{"compaign_id":"36045","contact_id":"168","total_duration":"24","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36045_168","uid":"u491","unique_id":"36045_168_138-u491","ivrId":200,"channelOTime":1742054625,"channelDTime":1742054660,"channelDuration":35,"cSTime":1742054646,"cETime":1742054660,"cDuration":14,"status":"answered","ivrExecuteFlow":"#1","recordingName":0,"receiver":"08667589121","server_ip":"118.185.137.196","insertTime":1742054660,"ivrData":{"#1":["Attention SOS alert from S I S Vehicle TN01BL9766-MHA at 15.03.2025 21:33:42 near Vayalur Road, Tiruchirappalli Corp, Tiruchirappalli West, Tiruchirappalli, Tamil Nadu 620017, India."],"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054635,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":"1","busy":0,"congestion":"2","other":"1"},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#1":[{"startTime":1742054646,"endTime":1742054660,"duration":14}],"#2":[]},"callType":"obd","process":0,"duration":24}}
Array
(
    [compaign_id] => 36045
    [contact_id] => 168
    [total_duration] => 24
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36045_168
            [uid] => u491
            [unique_id] => 36045_168_138-u491
            [ivrId] => 200
            [channelOTime] => 1742054625
            [channelDTime] => 1742054660
            [channelDuration] => 35
            [cSTime] => 1742054646
            [cETime] => 1742054660
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #1
            [recordingName] => 0
            [receiver] => 08667589121
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054660
            [ivrData] => Array
                (
                    [#1] => Array
                        (
                            [0] => Attention SOS alert from S I S Vehicle TN01BL9766-MHA at 15.03.2025 21:33:42 near Vayalur Road, Tiruchirappalli Corp, Tiruchirappalli West, Tiruchirappalli, Tamil Nadu 620017, India.
                        )

                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054635
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 1
                    [busy] => 0
                    [congestion] => 2
                    [other] => 1
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#1] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054646
                                    [endTime] => 1742054660
                                    [duration] => 14
                                )

                        )

                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 24
        )

)
 

 --------------------------------------------- 

 

 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36045' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168348
    [user_id] => u491
    [user_type] => user
    [compaign_id] => 36045
    [plan_type] => answered
    [no_of_pulse] => 4
    [pulse] => 30
    [pulse_rate] => 0.35
    [amount] => 1.4
    [type] => D
    [create_date] => 1742001890
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u491
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 14332.549999999306
    [total_voice_amount] => 15000
    [voice_amount_validity] => 1747560916
    [create_date] => 1725272962
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 890
    [user_id] => u491
    [voice_plan_id] => 55
    [pulse] => 30
    [pulse_rate] => 0.35
    [real_pulsing] => 0
    [create_date] => 1725273775
    [create_by] => r54
    [update_date] => 1726650198
    [update_by] => r54
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.35, no_of_pulse=no_of_pulse+1, pulse=30, pulse_rate=0.35 WHERE id=168348 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.35 WHERE user_id='u491' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168349
    [user_id] => r54
    [user_type] => reseller
    [compaign_id] => 36045
    [plan_type] => answered
    [no_of_pulse] => 4
    [pulse] => 30
    [pulse_rate] => 0.18
    [amount] => 0.72
    [type] => D
    [create_date] => 1742001890
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => r54
    [user_type] => reseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => 0.6
    [seconds_rate] => -1
    [max_allowed_hits] => -1
    [voice_amount] => 6686.739999999445
    [total_voice_amount] => 7030
    [voice_amount_validity] => 1756808964
    [create_date] => 1725272236
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 888
    [user_id] => r54
    [voice_plan_id] => 55
    [pulse] => 30
    [pulse_rate] => 0.18
    [real_pulsing] => 0
    [create_date] => 1725273046
    [create_by] => admin11
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.18, no_of_pulse=no_of_pulse+1, pulse=30, pulse_rate=0.18 WHERE id=168349 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.18 WHERE user_id='r54' LIMIT 1  

 1742054662
{"compaign_id":"36075","contact_id":"6563","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6563","uid":"u595","unique_id":"36075_6563_138-u595","ivrId":"3158","channelOTime":1742054615,"channelDTime":1742054662,"channelDuration":47,"cSTime":1742054639,"cETime":1742054662,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09113801260","server_ip":"118.185.137.196","insertTime":1742054662,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054619,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054639,"endTime":1742054662,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6563
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6563
            [uid] => u595
            [unique_id] => 36075_6563_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054615
            [channelDTime] => 1742054662
            [channelDuration] => 47
            [cSTime] => 1742054639
            [cETime] => 1742054662
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09113801260
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054662
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054619
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054639
                                    [endTime] => 1742054662
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2649
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.92000000000323
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29883.83999999864
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2649
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 211.92000000000323
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95566.96000000925
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054664
{"compaign_id":"36075","contact_id":"6662","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6662","uid":"u595","unique_id":"36075_6662_138-u595","ivrId":"3158","channelOTime":1742054655,"channelDTime":1742054663,"channelDuration":8,"cSTime":1742054660,"cETime":1742054663,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08884510636","server_ip":"118.185.137.196","insertTime":1742054663,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054657,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6662
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6662
            [uid] => u595
            [unique_id] => 36075_6662_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054655
            [channelDTime] => 1742054663
            [channelDuration] => 8
            [cSTime] => 1742054660
            [cETime] => 1742054663
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08884510636
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054663
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054657
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2651
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.08000000000322
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29883.67999999864
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2651
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.08000000000322
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95566.80000000924
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054664
{"compaign_id":"36075","contact_id":"6620","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6620","uid":"u595","unique_id":"36075_6620_138-u595","ivrId":"3158","channelOTime":1742054639,"channelDTime":1742054665,"channelDuration":26,"cSTime":1742054645,"cETime":1742054665,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08101666905","server_ip":"118.185.137.196","insertTime":1742054665,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054641,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6620
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6620
            [uid] => u595
            [unique_id] => 36075_6620_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054639
            [channelDTime] => 1742054665
            [channelDuration] => 26
            [cSTime] => 1742054645
            [cETime] => 1742054665
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08101666905
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054665
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054641
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2652
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.16000000000324
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29883.599999998638
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2652
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.16000000000324
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95566.72000000924
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054667
{"compaign_id":"36075","contact_id":"6619","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6619","uid":"u595","unique_id":"36075_6619_138-u595","ivrId":"3158","channelOTime":1742054639,"channelDTime":1742054665,"channelDuration":26,"cSTime":1742054654,"cETime":1742054665,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09265015802","server_ip":"118.185.137.196","insertTime":1742054665,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054641,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6619
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6619
            [uid] => u595
            [unique_id] => 36075_6619_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054639
            [channelDTime] => 1742054665
            [channelDuration] => 26
            [cSTime] => 1742054654
            [cETime] => 1742054665
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09265015802
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054665
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054641
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2654
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.32000000000323
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29883.439999998638
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2654
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.32000000000323
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95566.56000000924
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054667
{"compaign_id":"36075","contact_id":"6601","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6601","uid":"u595","unique_id":"36075_6601_138-u595","ivrId":"3158","channelOTime":1742054636,"channelDTime":1742054665,"channelDuration":29,"cSTime":1742054642,"cETime":1742054665,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08167229816","server_ip":"118.185.137.196","insertTime":1742054665,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054637,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054642,"endTime":1742054665,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6601
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6601
            [uid] => u595
            [unique_id] => 36075_6601_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054636
            [channelDTime] => 1742054665
            [channelDuration] => 29
            [cSTime] => 1742054642
            [cETime] => 1742054665
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08167229816
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054665
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054637
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054642
                                    [endTime] => 1742054665
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2655
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.40000000000325
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29883.359999998636
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2655
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.40000000000325
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95566.48000000924
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054667
{"compaign_id":"36075","contact_id":"6617","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6617","uid":"u595","unique_id":"36075_6617_138-u595","ivrId":"3158","channelOTime":1742054639,"channelDTime":1742054666,"channelDuration":27,"cSTime":1742054653,"cETime":1742054666,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08140620404","server_ip":"118.185.137.196","insertTime":1742054666,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054640,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6617
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6617
            [uid] => u595
            [unique_id] => 36075_6617_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054639
            [channelDTime] => 1742054666
            [channelDuration] => 27
            [cSTime] => 1742054653
            [cETime] => 1742054666
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08140620404
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054666
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054640
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2657
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.56000000000324
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29883.199999998636
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2657
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.56000000000324
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95566.32000000923
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054667
{"compaign_id":"36075","contact_id":"6626","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6626","uid":"u595","unique_id":"36075_6626_138-u595","ivrId":"3158","channelOTime":1742054641,"channelDTime":1742054666,"channelDuration":25,"cSTime":1742054655,"cETime":1742054666,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07360847439","server_ip":"118.185.137.196","insertTime":1742054666,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054642,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6626
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6626
            [uid] => u595
            [unique_id] => 36075_6626_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054641
            [channelDTime] => 1742054666
            [channelDuration] => 25
            [cSTime] => 1742054655
            [cETime] => 1742054666
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07360847439
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054666
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054642
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2658
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.64000000000325
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29883.119999998635
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2658
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.64000000000325
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95566.24000000923
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054668
{"compaign_id":"36075","contact_id":"6676","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6676","uid":"u595","unique_id":"36075_6676_138-u595","ivrId":"3158","channelOTime":1742054658,"channelDTime":1742054669,"channelDuration":11,"cSTime":1742054664,"cETime":1742054669,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08103221283","server_ip":"118.185.137.196","insertTime":1742054669,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054660,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6676
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6676
            [uid] => u595
            [unique_id] => 36075_6676_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054658
            [channelDTime] => 1742054669
            [channelDuration] => 11
            [cSTime] => 1742054664
            [cETime] => 1742054669
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08103221283
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054669
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054660
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2659
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.72000000000327
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29883.039999998633
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2659
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.72000000000327
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95566.16000000923
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054671
{"compaign_id":"36075","contact_id":"6614","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6614","uid":"u595","unique_id":"36075_6614_138-u595","ivrId":"3158","channelOTime":1742054638,"channelDTime":1742054671,"channelDuration":33,"cSTime":1742054648,"cETime":1742054671,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07678240284","server_ip":"118.185.137.196","insertTime":1742054671,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054641,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054648,"endTime":1742054671,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6614
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6614
            [uid] => u595
            [unique_id] => 36075_6614_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054638
            [channelDTime] => 1742054671
            [channelDuration] => 33
            [cSTime] => 1742054648
            [cETime] => 1742054671
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07678240284
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054671
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054641
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054648
                                    [endTime] => 1742054671
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2660
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.80000000000328
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29882.95999999863
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2660
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.80000000000328
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95566.08000000923
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054673
{"compaign_id":"36075","contact_id":"6670","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6670","uid":"u595","unique_id":"36075_6670_138-u595","ivrId":"3158","channelOTime":1742054657,"channelDTime":1742054674,"channelDuration":17,"cSTime":1742054668,"cETime":1742054674,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07353750935","server_ip":"118.185.137.196","insertTime":1742054674,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054660,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6670
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6670
            [uid] => u595
            [unique_id] => 36075_6670_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054657
            [channelDTime] => 1742054674
            [channelDuration] => 17
            [cSTime] => 1742054668
            [cETime] => 1742054674
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07353750935
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054674
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054660
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2662
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.96000000000328
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29882.79999999863
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2662
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 212.96000000000328
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95565.92000000922
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054676
{"compaign_id":"36075","contact_id":"6661","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6661","uid":"u595","unique_id":"36075_6661_138-u595","ivrId":"3158","channelOTime":1742054655,"channelDTime":1742054675,"channelDuration":20,"cSTime":1742054668,"cETime":1742054675,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07093926834","server_ip":"118.185.137.196","insertTime":1742054675,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054657,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6661
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6661
            [uid] => u595
            [unique_id] => 36075_6661_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054655
            [channelDTime] => 1742054675
            [channelDuration] => 20
            [cSTime] => 1742054668
            [cETime] => 1742054675
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07093926834
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054675
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054657
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2663
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.0400000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29882.71999999863
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2663
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.0400000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95565.84000000922
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054677
{"compaign_id":"36075","contact_id":"6621","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6621","uid":"u595","unique_id":"36075_6621_138-u595","ivrId":"3158","channelOTime":1742054640,"channelDTime":1742054675,"channelDuration":35,"cSTime":1742054652,"cETime":1742054675,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06364543219","server_ip":"118.185.137.196","insertTime":1742054675,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054643,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054652,"endTime":1742054675,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6621
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6621
            [uid] => u595
            [unique_id] => 36075_6621_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054640
            [channelDTime] => 1742054675
            [channelDuration] => 35
            [cSTime] => 1742054652
            [cETime] => 1742054675
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06364543219
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054675
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054643
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054652
                                    [endTime] => 1742054675
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2664
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.1200000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29882.639999998628
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2664
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.1200000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95565.76000000922
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054677
{"compaign_id":"36075","contact_id":"6677","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6677","uid":"u595","unique_id":"36075_6677_138-u595","ivrId":"3158","channelOTime":1742054658,"channelDTime":1742054676,"channelDuration":18,"cSTime":1742054669,"cETime":1742054676,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09544400440","server_ip":"118.185.137.196","insertTime":1742054676,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054660,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6677
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6677
            [uid] => u595
            [unique_id] => 36075_6677_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054658
            [channelDTime] => 1742054676
            [channelDuration] => 18
            [cSTime] => 1742054669
            [cETime] => 1742054676
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09544400440
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054676
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054660
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2666
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.2800000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29882.479999998628
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2666
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.2800000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95565.60000000922
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054678
{"compaign_id":"36075","contact_id":"6639","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6639","uid":"u595","unique_id":"36075_6639_138-u595","ivrId":"3158","channelOTime":1742054643,"channelDTime":1742054677,"channelDuration":34,"cSTime":1742054653,"cETime":1742054677,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08830169213","server_ip":"118.185.137.196","insertTime":1742054677,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054645,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054653,"endTime":1742054677,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6639
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6639
            [uid] => u595
            [unique_id] => 36075_6639_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054643
            [channelDTime] => 1742054677
            [channelDuration] => 34
            [cSTime] => 1742054653
            [cETime] => 1742054677
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08830169213
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054677
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054645
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054653
                                    [endTime] => 1742054677
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2667
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.3600000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29882.399999998626
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2667
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.3600000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95565.52000000922
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054678
{"compaign_id":"36075","contact_id":"6658","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6658","uid":"u595","unique_id":"36075_6658_138-u595","ivrId":"3158","channelOTime":1742054654,"channelDTime":1742054677,"channelDuration":23,"cSTime":1742054663,"cETime":1742054677,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06350489326","server_ip":"118.185.137.196","insertTime":1742054677,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054655,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6658
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6658
            [uid] => u595
            [unique_id] => 36075_6658_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054654
            [channelDTime] => 1742054677
            [channelDuration] => 23
            [cSTime] => 1742054663
            [cETime] => 1742054677
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06350489326
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054677
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054655
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2669
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.5200000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29882.239999998626
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2669
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.5200000000033
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95565.36000000921
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054679
{"compaign_id":"36075","contact_id":"6689","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6689","uid":"u595","unique_id":"36075_6689_138-u595","ivrId":"3158","channelOTime":1742054660,"channelDTime":1742054677,"channelDuration":17,"cSTime":1742054670,"cETime":1742054677,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07002789343","server_ip":"118.185.137.196","insertTime":1742054677,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054663,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6689
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6689
            [uid] => u595
            [unique_id] => 36075_6689_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054660
            [channelDTime] => 1742054677
            [channelDuration] => 17
            [cSTime] => 1742054670
            [cETime] => 1742054677
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07002789343
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054677
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054663
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2670
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.60000000000332
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29882.159999998625
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2670
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.60000000000332
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95565.28000000921
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054679
{"compaign_id":"36075","contact_id":"6688","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6688","uid":"u595","unique_id":"36075_6688_138-u595","ivrId":"3158","channelOTime":1742054660,"channelDTime":1742054677,"channelDuration":17,"cSTime":1742054674,"cETime":1742054677,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07769001276","server_ip":"118.185.137.196","insertTime":1742054677,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054663,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6688
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6688
            [uid] => u595
            [unique_id] => 36075_6688_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054660
            [channelDTime] => 1742054677
            [channelDuration] => 17
            [cSTime] => 1742054674
            [cETime] => 1742054677
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07769001276
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054677
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054663
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2671
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.68000000000333
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29882.079999998623
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2671
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.68000000000333
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95565.20000000921
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054679
{"compaign_id":"36075","contact_id":"6687","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6687","uid":"u595","unique_id":"36075_6687_138-u595","ivrId":"3158","channelOTime":1742054660,"channelDTime":1742054677,"channelDuration":17,"cSTime":1742054675,"cETime":1742054677,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07002103521","server_ip":"118.185.137.196","insertTime":1742054677,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054664,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6687
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6687
            [uid] => u595
            [unique_id] => 36075_6687_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054660
            [channelDTime] => 1742054677
            [channelDuration] => 17
            [cSTime] => 1742054675
            [cETime] => 1742054677
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07002103521
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054677
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054664
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2672
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.76000000000334
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29881.99999999862
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2672
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.76000000000334
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95565.1200000092
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054679
{"compaign_id":"36075","contact_id":"6605","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6605","uid":"u595","unique_id":"36075_6605_138-u595","ivrId":"3158","channelOTime":1742054636,"channelDTime":1742054679,"channelDuration":43,"cSTime":1742054655,"cETime":1742054679,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09026848930","server_ip":"118.185.137.196","insertTime":1742054679,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054642,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054655,"endTime":1742054679,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6605
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6605
            [uid] => u595
            [unique_id] => 36075_6605_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054636
            [channelDTime] => 1742054679
            [channelDuration] => 43
            [cSTime] => 1742054655
            [cETime] => 1742054679
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09026848930
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054679
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054642
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054655
                                    [endTime] => 1742054679
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2673
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.84000000000336
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29881.91999999862
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2673
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 213.84000000000336
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95565.0400000092
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054680
{"compaign_id":"36075","contact_id":"6660","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6660","uid":"u595","unique_id":"36075_6660_138-u595","ivrId":"3158","channelOTime":1742054655,"channelDTime":1742054680,"channelDuration":25,"cSTime":1742054663,"cETime":1742054680,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07368863762","server_ip":"118.185.137.196","insertTime":1742054680,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054657,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6660
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6660
            [uid] => u595
            [unique_id] => 36075_6660_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054655
            [channelDTime] => 1742054680
            [channelDuration] => 25
            [cSTime] => 1742054663
            [cETime] => 1742054680
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07368863762
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054680
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054657
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2675
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.00000000000335
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29881.75999999862
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2675
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.00000000000335
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95564.8800000092
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054682
{"compaign_id":"36075","contact_id":"6668","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6668","uid":"u595","unique_id":"36075_6668_138-u595","ivrId":"3158","channelOTime":1742054656,"channelDTime":1742054682,"channelDuration":26,"cSTime":1742054659,"cETime":1742054682,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08153874076","server_ip":"118.185.137.196","insertTime":1742054682,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054658,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054659,"endTime":1742054682,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6668
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6668
            [uid] => u595
            [unique_id] => 36075_6668_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054656
            [channelDTime] => 1742054682
            [channelDuration] => 26
            [cSTime] => 1742054659
            [cETime] => 1742054682
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08153874076
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054682
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054658
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054659
                                    [endTime] => 1742054682
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2677
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.16000000000335
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29881.59999999862
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2677
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.16000000000335
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95564.7200000092
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054684
{"compaign_id":"36075","contact_id":"6671","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6671","uid":"u595","unique_id":"36075_6671_138-u595","ivrId":"3158","channelOTime":1742054657,"channelDTime":1742054684,"channelDuration":27,"cSTime":1742054664,"cETime":1742054684,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08360110681","server_ip":"118.185.137.196","insertTime":1742054684,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054659,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6671
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6671
            [uid] => u595
            [unique_id] => 36075_6671_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054657
            [channelDTime] => 1742054684
            [channelDuration] => 27
            [cSTime] => 1742054664
            [cETime] => 1742054684
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08360110681
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054684
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054659
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2679
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.32000000000335
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29881.43999999862
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2679
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.32000000000335
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95564.5600000092
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054686
{"compaign_id":"36075","contact_id":"6696","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6696","uid":"u595","unique_id":"36075_6696_138-u595","ivrId":"3158","channelOTime":1742054662,"channelDTime":1742054686,"channelDuration":24,"cSTime":1742054669,"cETime":1742054686,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06364260510","server_ip":"118.185.137.196","insertTime":1742054686,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054665,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6696
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6696
            [uid] => u595
            [unique_id] => 36075_6696_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054662
            [channelDTime] => 1742054686
            [channelDuration] => 24
            [cSTime] => 1742054669
            [cETime] => 1742054686
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06364260510
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054686
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054665
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2681
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.48000000000334
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29881.27999999862
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2681
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.48000000000334
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95564.40000000919
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054687
{"compaign_id":"36075","contact_id":"6675","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6675","uid":"u595","unique_id":"36075_6675_138-u595","ivrId":"3158","channelOTime":1742054658,"channelDTime":1742054686,"channelDuration":28,"cSTime":1742054678,"cETime":1742054686,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09170398157","server_ip":"118.185.137.196","insertTime":1742054686,"ivrData":{"#2":["5"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054660,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054678,"endTime":1742054686,"duration":8}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6675
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6675
            [uid] => u595
            [unique_id] => 36075_6675_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054658
            [channelDTime] => 1742054686
            [channelDuration] => 28
            [cSTime] => 1742054678
            [cETime] => 1742054686
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09170398157
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054686
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 5
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054660
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054678
                                    [endTime] => 1742054686
                                    [duration] => 8
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2683
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.64000000000334
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29881.11999999862
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2683
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.64000000000334
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95564.24000000919
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054688
{"compaign_id":"36075","contact_id":"6694","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6694","uid":"u595","unique_id":"36075_6694_138-u595","ivrId":"3158","channelOTime":1742054661,"channelDTime":1742054687,"channelDuration":26,"cSTime":1742054678,"cETime":1742054687,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08553930587","server_ip":"118.185.137.196","insertTime":1742054687,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054665,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6694
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6694
            [uid] => u595
            [unique_id] => 36075_6694_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054661
            [channelDTime] => 1742054687
            [channelDuration] => 26
            [cSTime] => 1742054678
            [cETime] => 1742054687
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08553930587
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054687
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054665
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2684
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.72000000000335
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29881.03999999862
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2684
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.72000000000335
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95564.16000000919
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054688
{"compaign_id":"36075","contact_id":"6678","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6678","uid":"u595","unique_id":"36075_6678_138-u595","ivrId":"3158","channelOTime":1742054658,"channelDTime":1742054689,"channelDuration":31,"cSTime":1742054665,"cETime":1742054689,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09365728232","server_ip":"118.185.137.196","insertTime":1742054689,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054660,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054665,"endTime":1742054685,"duration":20}],"#3":[{"startTime":1742054685,"endTime":1742054689,"duration":4}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6678
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6678
            [uid] => u595
            [unique_id] => 36075_6678_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054658
            [channelDTime] => 1742054689
            [channelDuration] => 31
            [cSTime] => 1742054665
            [cETime] => 1742054689
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09365728232
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054689
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054660
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054665
                                    [endTime] => 1742054685
                                    [duration] => 20
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054685
                                    [endTime] => 1742054689
                                    [duration] => 4
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2685
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.80000000000337
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29880.959999998617
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2685
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.80000000000337
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95564.08000000918
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054691
{"compaign_id":"36075","contact_id":"6673","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6673","uid":"u595","unique_id":"36075_6673_138-u595","ivrId":"3158","channelOTime":1742054657,"channelDTime":1742054690,"channelDuration":33,"cSTime":1742054667,"cETime":1742054690,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07091915187","server_ip":"118.185.137.196","insertTime":1742054690,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054659,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054667,"endTime":1742054690,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6673
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6673
            [uid] => u595
            [unique_id] => 36075_6673_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054657
            [channelDTime] => 1742054690
            [channelDuration] => 33
            [cSTime] => 1742054667
            [cETime] => 1742054690
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07091915187
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054690
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054659
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054667
                                    [endTime] => 1742054690
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2687
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.96000000000336
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29880.799999998617
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2687
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 214.96000000000336
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95563.92000000918
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054692
{"compaign_id":"36075","contact_id":"6727","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6727","uid":"u595","unique_id":"36075_6727_138-u595","ivrId":"3158","channelOTime":1742054681,"channelDTime":1742054690,"channelDuration":9,"cSTime":1742054689,"cETime":1742054690,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06388552642","server_ip":"118.185.137.196","insertTime":1742054690,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054683,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6727
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6727
            [uid] => u595
            [unique_id] => 36075_6727_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054681
            [channelDTime] => 1742054690
            [channelDuration] => 9
            [cSTime] => 1742054689
            [cETime] => 1742054690
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06388552642
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054690
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054683
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2689
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.12000000000336
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29880.639999998617
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2689
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.12000000000336
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95563.76000000918
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054692
{"compaign_id":"36075","contact_id":"6717","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6717","uid":"u595","unique_id":"36075_6717_138-u595","ivrId":"3158","channelOTime":1742054679,"channelDTime":1742054690,"channelDuration":11,"cSTime":1742054687,"cETime":1742054690,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09363064936","server_ip":"118.185.137.196","insertTime":1742054690,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054681,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6717
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6717
            [uid] => u595
            [unique_id] => 36075_6717_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054679
            [channelDTime] => 1742054690
            [channelDuration] => 11
            [cSTime] => 1742054687
            [cETime] => 1742054690
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09363064936
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054690
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054681
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2690
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.20000000000337
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29880.559999998615
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2690
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.20000000000337
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95563.68000000918
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054692
{"compaign_id":"36075","contact_id":"6700","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6700","uid":"u595","unique_id":"36075_6700_138-u595","ivrId":"3158","channelOTime":1742054676,"channelDTime":1742054691,"channelDuration":15,"cSTime":1742054685,"cETime":1742054691,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09176044086","server_ip":"118.185.137.196","insertTime":1742054691,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054677,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6700
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6700
            [uid] => u595
            [unique_id] => 36075_6700_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054676
            [channelDTime] => 1742054691
            [channelDuration] => 15
            [cSTime] => 1742054685
            [cETime] => 1742054691
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09176044086
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054691
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054677
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2691
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.28000000000338
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29880.479999998613
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2691
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.28000000000338
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95563.60000000917
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054692
{"compaign_id":"36075","contact_id":"6679","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6679","uid":"u595","unique_id":"36075_6679_138-u595","ivrId":"3158","channelOTime":1742054658,"channelDTime":1742054693,"channelDuration":35,"cSTime":1742054685,"cETime":1742054693,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08145280064","server_ip":"118.185.137.196","insertTime":1742054693,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054661,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6679
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6679
            [uid] => u595
            [unique_id] => 36075_6679_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054658
            [channelDTime] => 1742054693
            [channelDuration] => 35
            [cSTime] => 1742054685
            [cETime] => 1742054693
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08145280064
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054693
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054661
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2692
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.3600000000034
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29880.39999999861
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2692
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.3600000000034
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95563.52000000917
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054694
{"compaign_id":"36075","contact_id":"6698","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6698","uid":"u595","unique_id":"36075_6698_138-u595","ivrId":"3158","channelOTime":1742054662,"channelDTime":1742054694,"channelDuration":32,"cSTime":1742054682,"cETime":1742054694,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07558063723","server_ip":"118.185.137.196","insertTime":1742054694,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054666,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6698
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6698
            [uid] => u595
            [unique_id] => 36075_6698_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054662
            [channelDTime] => 1742054694
            [channelDuration] => 32
            [cSTime] => 1742054682
            [cETime] => 1742054694
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07558063723
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054694
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054666
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2693
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.4400000000034
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29880.31999999861
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2693
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.4400000000034
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95563.44000000917
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054695
{"compaign_id":"36075","contact_id":"6732","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6732","uid":"u595","unique_id":"36075_6732_138-u595","ivrId":"3158","channelOTime":1742054682,"channelDTime":1742054695,"channelDuration":13,"cSTime":1742054690,"cETime":1742054695,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08438651466","server_ip":"118.185.137.196","insertTime":1742054695,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054684,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6732
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6732
            [uid] => u595
            [unique_id] => 36075_6732_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054682
            [channelDTime] => 1742054695
            [channelDuration] => 13
            [cSTime] => 1742054690
            [cETime] => 1742054695
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08438651466
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054695
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054684
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2694
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.52000000000342
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29880.23999999861
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2694
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.52000000000342
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95563.36000000917
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054697
{"compaign_id":"36075","contact_id":"6684","total_duration":"27","answer_duration":27,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6684","uid":"u595","unique_id":"36075_6684_138-u595","ivrId":"3158","channelOTime":1742054659,"channelDTime":1742054696,"channelDuration":37,"cSTime":1742054669,"cETime":1742054696,"cDuration":27,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09353443634","server_ip":"118.185.137.196","insertTime":1742054696,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054661,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054669,"endTime":1742054691,"duration":22}],"#3":[{"startTime":1742054691,"endTime":1742054696,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6684
    [total_duration] => 27
    [answer_duration] => 27
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6684
            [uid] => u595
            [unique_id] => 36075_6684_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054659
            [channelDTime] => 1742054696
            [channelDuration] => 37
            [cSTime] => 1742054669
            [cETime] => 1742054696
            [cDuration] => 27
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09353443634
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054696
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054661
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054669
                                    [endTime] => 1742054691
                                    [duration] => 22
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054691
                                    [endTime] => 1742054696
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2695
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.60000000000343
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29880.159999998607
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2695
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.60000000000343
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95563.28000000917
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054698
{"compaign_id":"36075","contact_id":"6725","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6725","uid":"u595","unique_id":"36075_6725_138-u595","ivrId":"3158","channelOTime":1742054681,"channelDTime":1742054697,"channelDuration":16,"cSTime":1742054688,"cETime":1742054697,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09110581519","server_ip":"118.185.137.196","insertTime":1742054697,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054686,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6725
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6725
            [uid] => u595
            [unique_id] => 36075_6725_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054681
            [channelDTime] => 1742054697
            [channelDuration] => 16
            [cSTime] => 1742054688
            [cETime] => 1742054697
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09110581519
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054697
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054686
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2697
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.76000000000343
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29879.999999998607
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2697
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.76000000000343
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95563.12000000916
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054699
{"compaign_id":"36075","contact_id":"6706","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6706","uid":"u595","unique_id":"36075_6706_138-u595","ivrId":"3158","channelOTime":1742054677,"channelDTime":1742054699,"channelDuration":22,"cSTime":1742054684,"cETime":1742054699,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09121729882","server_ip":"118.185.137.196","insertTime":1742054699,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054679,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6706
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6706
            [uid] => u595
            [unique_id] => 36075_6706_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054677
            [channelDTime] => 1742054699
            [channelDuration] => 22
            [cSTime] => 1742054684
            [cETime] => 1742054699
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09121729882
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054699
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054679
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2698
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.84000000000344
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29879.919999998605
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2698
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.84000000000344
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95563.04000000916
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054701
{"compaign_id":"36075","contact_id":"6686","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6686","uid":"u595","unique_id":"36075_6686_138-u595","ivrId":"3158","channelOTime":1742054660,"channelDTime":1742054700,"channelDuration":40,"cSTime":1742054686,"cETime":1742054700,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08233191031","server_ip":"118.185.137.196","insertTime":1742054700,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054662,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6686
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6686
            [uid] => u595
            [unique_id] => 36075_6686_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054660
            [channelDTime] => 1742054700
            [channelDuration] => 40
            [cSTime] => 1742054686
            [cETime] => 1742054700
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08233191031
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054700
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054662
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2699
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.92000000000345
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29879.839999998603
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2699
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 215.92000000000345
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95562.96000000916
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054701
2025-03-15 21:35:02[LOG]Starting Cron
2025-03-15 21:35:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"6666","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6666","uid":"u595","unique_id":"36075_6666_138-u595","ivrId":"3158","channelOTime":1742054656,"channelDTime":1742054700,"channelDuration":44,"cSTime":1742054677,"cETime":1742054700,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07560992230","server_ip":"118.185.137.196","insertTime":1742054700,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054657,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054677,"endTime":1742054700,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6666
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6666
            [uid] => u595
            [unique_id] => 36075_6666_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054656
            [channelDTime] => 1742054700
            [channelDuration] => 44
            [cSTime] => 1742054677
            [cETime] => 1742054700
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07560992230
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054700
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054657
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054677
                                    [endTime] => 1742054700
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2700
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.00000000000347
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29879.7599999986
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2700
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.00000000000347
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95562.88000000916
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054702
{"compaign_id":"36075","contact_id":"6713","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6713","uid":"u595","unique_id":"36075_6713_138-u595","ivrId":"3158","channelOTime":1742054678,"channelDTime":1742054702,"channelDuration":24,"cSTime":1742054699,"cETime":1742054702,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08885557805","server_ip":"118.185.137.196","insertTime":1742054702,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054681,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6713
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6713
            [uid] => u595
            [unique_id] => 36075_6713_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054678
            [channelDTime] => 1742054702
            [channelDuration] => 24
            [cSTime] => 1742054699
            [cETime] => 1742054702
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08885557805
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054702
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054681
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2702
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.16000000000346
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29879.5999999986
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2702
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.16000000000346
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95562.72000000915
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054704
{"compaign_id":"36075","contact_id":"6745","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6745","uid":"u595","unique_id":"36075_6745_138-u595","ivrId":"3158","channelOTime":1742054685,"channelDTime":1742054703,"channelDuration":18,"cSTime":1742054694,"cETime":1742054703,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08008074383","server_ip":"118.185.137.196","insertTime":1742054703,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054688,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6745
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6745
            [uid] => u595
            [unique_id] => 36075_6745_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054685
            [channelDTime] => 1742054703
            [channelDuration] => 18
            [cSTime] => 1742054694
            [cETime] => 1742054703
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08008074383
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054703
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054688
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2703
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.24000000000348
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29879.5199999986
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2703
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.24000000000348
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95562.64000000915
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054705
{"compaign_id":"36075","contact_id":"6736","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6736","uid":"u595","unique_id":"36075_6736_138-u595","ivrId":"3158","channelOTime":1742054683,"channelDTime":1742054704,"channelDuration":21,"cSTime":1742054700,"cETime":1742054704,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09741314076","server_ip":"118.185.137.196","insertTime":1742054704,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054688,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6736
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6736
            [uid] => u595
            [unique_id] => 36075_6736_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054683
            [channelDTime] => 1742054704
            [channelDuration] => 21
            [cSTime] => 1742054700
            [cETime] => 1742054704
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09741314076
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054704
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054688
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2704
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.3200000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29879.439999998598
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2704
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.3200000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95562.56000000915
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054705
{"compaign_id":"36075","contact_id":"6718","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6718","uid":"u595","unique_id":"36075_6718_138-u595","ivrId":"3158","channelOTime":1742054679,"channelDTime":1742054714,"channelDuration":35,"cSTime":1742054691,"cETime":1742054714,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07099454703","server_ip":"118.185.137.196","insertTime":1742054714,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054681,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054691,"endTime":1742054714,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6718
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6718
            [uid] => u595
            [unique_id] => 36075_6718_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054679
            [channelDTime] => 1742054714
            [channelDuration] => 35
            [cSTime] => 1742054691
            [cETime] => 1742054714
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07099454703
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054714
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054681
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054691
                                    [endTime] => 1742054714
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2705
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.4000000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29879.359999998596
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2705
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.4000000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95562.48000000915
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054716
{"compaign_id":"36075","contact_id":"6730","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6730","uid":"u595","unique_id":"36075_6730_138-u595","ivrId":"3158","channelOTime":1742054682,"channelDTime":1742054717,"channelDuration":35,"cSTime":1742054709,"cETime":1742054717,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07704940053","server_ip":"118.185.137.196","insertTime":1742054717,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054687,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6730
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6730
            [uid] => u595
            [unique_id] => 36075_6730_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054682
            [channelDTime] => 1742054717
            [channelDuration] => 35
            [cSTime] => 1742054709
            [cETime] => 1742054717
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07704940053
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054717
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054687
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2707
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.5600000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29879.199999998596
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2707
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.5600000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95562.32000000915
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054719
{"compaign_id":"36075","contact_id":"6723","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6723","uid":"u595","unique_id":"36075_6723_138-u595","ivrId":"3158","channelOTime":1742054680,"channelDTime":1742054718,"channelDuration":38,"cSTime":1742054707,"cETime":1742054718,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07506592309","server_ip":"118.185.137.196","insertTime":1742054718,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054683,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6723
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6723
            [uid] => u595
            [unique_id] => 36075_6723_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054680
            [channelDTime] => 1742054718
            [channelDuration] => 38
            [cSTime] => 1742054707
            [cETime] => 1742054718
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07506592309
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054718
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054683
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2708
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.6400000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29879.119999998595
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2708
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.6400000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95562.24000000914
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742054720
{"compaign_id":"36075","contact_id":"6704","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6704","uid":"u595","unique_id":"36075_6704_138-u595","ivrId":"3158","channelOTime":1742054676,"channelDTime":1742054718,"channelDuration":42,"cSTime":1742054702,"cETime":1742054718,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08943768144","server_ip":"118.185.137.196","insertTime":1742054718,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054683,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6704
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6704
            [uid] => u595
            [unique_id] => 36075_6704_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054676
            [channelDTime] => 1742054718
            [channelDuration] => 42
            [cSTime] => 1742054702
            [cETime] => 1742054718
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08943768144
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054718
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054683
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2709
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.72000000000352
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29879.039999998593
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2709
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.72000000000352
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95562.16000000914
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054720
{"compaign_id":"36075","contact_id":"6748","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6748","uid":"u595","unique_id":"36075_6748_138-u595","ivrId":"3158","channelOTime":1742054685,"channelDTime":1742054720,"channelDuration":35,"cSTime":1742054696,"cETime":1742054720,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08130593479","server_ip":"118.185.137.196","insertTime":1742054720,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054687,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054696,"endTime":1742054720,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6748
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6748
            [uid] => u595
            [unique_id] => 36075_6748_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054685
            [channelDTime] => 1742054720
            [channelDuration] => 35
            [cSTime] => 1742054696
            [cETime] => 1742054720
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08130593479
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054720
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054687
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054696
                                    [endTime] => 1742054720
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2711
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.88000000000352
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29878.879999998593
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2711
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 216.88000000000352
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95562.00000000914
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054722
{"compaign_id":"36075","contact_id":"6719","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6719","uid":"u595","unique_id":"36075_6719_138-u595","ivrId":"3158","channelOTime":1742054679,"channelDTime":1742054722,"channelDuration":43,"cSTime":1742054698,"cETime":1742054722,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09380951781","server_ip":"118.185.137.196","insertTime":1742054722,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742054683,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742054698,"endTime":1742054722,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6719
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6719
            [uid] => u595
            [unique_id] => 36075_6719_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742054679
            [channelDTime] => 1742054722
            [channelDuration] => 43
            [cSTime] => 1742054698
            [cETime] => 1742054722
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09380951781
            [server_ip] => 118.185.137.196
            [insertTime] => 1742054722
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742054683
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742054698
                                    [endTime] => 1742054722
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2713
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.04000000000352
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29878.719999998593
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2713
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.04000000000352
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95561.84000000914
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742054723
2025-03-15 21:36:02[LOG]Starting Cron
2025-03-15 21:36:02[LOG]Process is already running
2025-03-15 21:37:02[LOG]Starting Cron

Kill Existing Process : 786720
1742054822
2025-03-15 21:38:02[LOG]Starting Cron

Kill Existing Process : 793307
1742054882
2025-03-15 21:39:02[LOG]Starting Cron

Kill Existing Process : 793804
1742054942
2025-03-15 21:40:02[LOG]Starting Cron

Kill Existing Process : 794364
1742055002
2025-03-15 21:41:01[LOG]Starting Cron

Kill Existing Process : 794852
1742055061
2025-03-15 21:42:02[LOG]Starting Cron

Kill Existing Process : 795325
1742055122
2025-03-15 21:43:01[LOG]Starting Cron

Kill Existing Process : 795770
1742055181
2025-03-15 21:44:02[LOG]Starting Cron

Kill Existing Process : 796190
1742055242
2025-03-15 21:45:01[LOG]Starting Cron

Kill Existing Process : 796604
1742055301
2025-03-15 21:46:02[LOG]Starting Cron

Kill Existing Process : 797027
1742055362
2025-03-15 21:47:02[LOG]Starting Cron

Kill Existing Process : 797414
1742055422
2025-03-15 21:48:02[LOG]Starting Cron

Kill Existing Process : 797828
1742055482
2025-03-15 21:49:01[LOG]Starting Cron

Kill Existing Process : 798267
1742055541
2025-03-15 21:50:02[LOG]Starting Cron

Kill Existing Process : 798672
1742055602
2025-03-15 21:51:03[LOG]Starting Cron

Kill Existing Process : 799091
1742055663
2025-03-15 21:52:01[LOG]Starting Cron

Kill Existing Process : 799505
1742055721
2025-03-15 21:53:02[LOG]Starting Cron

Kill Existing Process : 799903
1742055782
2025-03-15 21:54:02[LOG]Starting Cron

Kill Existing Process : 800316
1742055842
2025-03-15 21:55:01[LOG]Starting Cron

Kill Existing Process : 800747
1742055901
2025-03-15 21:56:02[LOG]Starting Cron

Kill Existing Process : 801173
1742055962
2025-03-15 21:57:01[LOG]Starting Cron

Kill Existing Process : 801566
1742056021
2025-03-15 21:58:01[LOG]Starting Cron

Kill Existing Process : 801998
1742056081
2025-03-15 21:59:01[LOG]Starting Cron

Kill Existing Process : 802368
1742056141
2025-03-15 22:00:02[LOG]Starting Cron

Kill Existing Process : 802828
1742056202
2025-03-15 22:01:01[LOG]Starting Cron

Kill Existing Process : 803234
1742056261
2025-03-15 22:02:02[LOG]Starting Cron

Kill Existing Process : 803698
1742056322
2025-03-15 22:03:02[LOG]Starting Cron

Kill Existing Process : 804125
1742056382
2025-03-15 22:04:02[LOG]Starting Cron

Kill Existing Process : 804526
1742056442
2025-03-15 22:05:02[LOG]Starting Cron

Kill Existing Process : 804944
1742056502
2025-03-15 22:06:02[LOG]Starting Cron

Kill Existing Process : 805384
1742056562
2025-03-15 22:07:01[LOG]Starting Cron

Kill Existing Process : 805799
1742056621
2025-03-15 22:08:02[LOG]Starting Cron

Kill Existing Process : 806219
1742056682
2025-03-15 22:09:01[LOG]Starting Cron

Kill Existing Process : 806611
1742056741
2025-03-15 22:10:02[LOG]Starting Cron

Kill Existing Process : 807088
1742056802
2025-03-15 22:11:01[LOG]Starting Cron

Kill Existing Process : 807506
1742056861
{"compaign_id":"36075","contact_id":"6750","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6750","uid":"u595","unique_id":"36075_6750_138-u595","ivrId":"3158","channelOTime":1742056854,"channelDTime":1742056869,"channelDuration":15,"cSTime":1742056865,"cETime":1742056869,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07858939192","server_ip":"118.185.137.196","insertTime":1742056869,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056856,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6750
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6750
            [uid] => u595
            [unique_id] => 36075_6750_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056854
            [channelDTime] => 1742056869
            [channelDuration] => 15
            [cSTime] => 1742056865
            [cETime] => 1742056869
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07858939192
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056869
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056856
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2715
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.2000000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29878.559999998593
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2715
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.2000000000035
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95561.68000000913
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056870
{"compaign_id":"36075","contact_id":"6768","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6768","uid":"u595","unique_id":"36075_6768_138-u595","ivrId":"3158","channelOTime":1742056857,"channelDTime":1742056871,"channelDuration":14,"cSTime":1742056864,"cETime":1742056871,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07889453027","server_ip":"118.185.137.196","insertTime":1742056871,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056860,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6768
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6768
            [uid] => u595
            [unique_id] => 36075_6768_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056857
            [channelDTime] => 1742056871
            [channelDuration] => 14
            [cSTime] => 1742056864
            [cETime] => 1742056871
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07889453027
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056871
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056860
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2716
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.28000000000353
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29878.47999999859
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2716
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.28000000000353
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95561.60000000913
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056872
{"compaign_id":"36075","contact_id":"6760","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6760","uid":"u595","unique_id":"36075_6760_138-u595","ivrId":"3158","channelOTime":1742056856,"channelDTime":1742056871,"channelDuration":15,"cSTime":1742056866,"cETime":1742056871,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08989465688","server_ip":"118.185.137.196","insertTime":1742056871,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056858,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6760
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6760
            [uid] => u595
            [unique_id] => 36075_6760_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056856
            [channelDTime] => 1742056871
            [channelDuration] => 15
            [cSTime] => 1742056866
            [cETime] => 1742056871
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08989465688
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056871
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056858
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2717
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.36000000000354
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29878.39999999859
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2717
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.36000000000354
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95561.52000000913
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056873
{"compaign_id":"36075","contact_id":"6758","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6758","uid":"u595","unique_id":"36075_6758_138-u595","ivrId":"3158","channelOTime":1742056855,"channelDTime":1742056872,"channelDuration":17,"cSTime":1742056865,"cETime":1742056872,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09370440353","server_ip":"118.185.137.196","insertTime":1742056872,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056857,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6758
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6758
            [uid] => u595
            [unique_id] => 36075_6758_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056855
            [channelDTime] => 1742056872
            [channelDuration] => 17
            [cSTime] => 1742056865
            [cETime] => 1742056872
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09370440353
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056872
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056857
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2718
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.44000000000355
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29878.319999998588
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2718
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.44000000000355
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95561.44000000913
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056873
{"compaign_id":"36075","contact_id":"6764","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6764","uid":"u595","unique_id":"36075_6764_138-u595","ivrId":"3158","channelOTime":1742056857,"channelDTime":1742056872,"channelDuration":15,"cSTime":1742056864,"cETime":1742056872,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08870146511","server_ip":"118.185.137.196","insertTime":1742056872,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056859,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6764
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6764
            [uid] => u595
            [unique_id] => 36075_6764_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056857
            [channelDTime] => 1742056872
            [channelDuration] => 15
            [cSTime] => 1742056864
            [cETime] => 1742056872
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08870146511
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056872
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056859
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2719
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.52000000000356
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29878.239999998586
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2719
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.52000000000356
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95561.36000000912
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056874
{"compaign_id":"36075","contact_id":"6756","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6756","uid":"u595","unique_id":"36075_6756_138-u595","ivrId":"3158","channelOTime":1742056855,"channelDTime":1742056874,"channelDuration":19,"cSTime":1742056868,"cETime":1742056874,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07735762798","server_ip":"118.185.137.196","insertTime":1742056874,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056858,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6756
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6756
            [uid] => u595
            [unique_id] => 36075_6756_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056855
            [channelDTime] => 1742056874
            [channelDuration] => 19
            [cSTime] => 1742056868
            [cETime] => 1742056874
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07735762798
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056874
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056858
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2720
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.60000000000358
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29878.159999998585
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2720
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.60000000000358
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95561.28000000912
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056876
{"compaign_id":"36075","contact_id":"6751","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6751","uid":"u595","unique_id":"36075_6751_138-u595","ivrId":"3158","channelOTime":1742056854,"channelDTime":1742056875,"channelDuration":21,"cSTime":1742056868,"cETime":1742056875,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09352662731","server_ip":"118.185.137.196","insertTime":1742056875,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056856,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6751
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6751
            [uid] => u595
            [unique_id] => 36075_6751_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056854
            [channelDTime] => 1742056875
            [channelDuration] => 21
            [cSTime] => 1742056868
            [cETime] => 1742056875
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09352662731
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056875
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056856
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2721
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.6800000000036
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29878.079999998583
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2721
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.6800000000036
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95561.20000000912
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056876
{"compaign_id":"36075","contact_id":"6754","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6754","uid":"u595","unique_id":"36075_6754_138-u595","ivrId":"3158","channelOTime":1742056855,"channelDTime":1742056875,"channelDuration":20,"cSTime":1742056868,"cETime":1742056875,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07034660847","server_ip":"118.185.137.196","insertTime":1742056875,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056857,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6754
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6754
            [uid] => u595
            [unique_id] => 36075_6754_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056855
            [channelDTime] => 1742056875
            [channelDuration] => 20
            [cSTime] => 1742056868
            [cETime] => 1742056875
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07034660847
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056875
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056857
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2722
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.7600000000036
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29877.99999999858
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2722
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.7600000000036
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95561.12000000912
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056876
{"compaign_id":"36075","contact_id":"6793","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6793","uid":"u595","unique_id":"36075_6793_138-u595","ivrId":"3158","channelOTime":1742056862,"channelDTime":1742056875,"channelDuration":13,"cSTime":1742056868,"cETime":1742056875,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07827379148","server_ip":"118.185.137.196","insertTime":1742056875,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056865,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6793
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6793
            [uid] => u595
            [unique_id] => 36075_6793_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056862
            [channelDTime] => 1742056875
            [channelDuration] => 13
            [cSTime] => 1742056868
            [cETime] => 1742056875
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07827379148
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056875
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056865
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2723
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.8400000000036
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29877.91999999858
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2723
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.8400000000036
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95561.04000000912
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056877
{"compaign_id":"36075","contact_id":"6772","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6772","uid":"u595","unique_id":"36075_6772_138-u595","ivrId":"3158","channelOTime":1742056858,"channelDTime":1742056877,"channelDuration":19,"cSTime":1742056867,"cETime":1742056877,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07032103389","server_ip":"118.185.137.196","insertTime":1742056877,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056860,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6772
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6772
            [uid] => u595
            [unique_id] => 36075_6772_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056858
            [channelDTime] => 1742056877
            [channelDuration] => 19
            [cSTime] => 1742056867
            [cETime] => 1742056877
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07032103389
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056877
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056860
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2724
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.92000000000363
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29877.839999998578
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2724
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 217.92000000000363
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95560.96000000912
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056878
{"compaign_id":"36075","contact_id":"6782","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6782","uid":"u595","unique_id":"36075_6782_138-u595","ivrId":"3158","channelOTime":1742056860,"channelDTime":1742056879,"channelDuration":19,"cSTime":1742056867,"cETime":1742056879,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09579420291","server_ip":"118.185.137.196","insertTime":1742056879,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056863,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6782
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6782
            [uid] => u595
            [unique_id] => 36075_6782_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056860
            [channelDTime] => 1742056879
            [channelDuration] => 19
            [cSTime] => 1742056867
            [cETime] => 1742056879
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09579420291
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056879
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056863
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2725
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.00000000000364
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29877.759999998576
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2725
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.00000000000364
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95560.88000000911
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056881
{"compaign_id":"36075","contact_id":"6788","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6788","uid":"u595","unique_id":"36075_6788_138-u595","ivrId":"3158","channelOTime":1742056861,"channelDTime":1742056882,"channelDuration":21,"cSTime":1742056878,"cETime":1742056882,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09931520057","server_ip":"118.185.137.196","insertTime":1742056882,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056864,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6788
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6788
            [uid] => u595
            [unique_id] => 36075_6788_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056861
            [channelDTime] => 1742056882
            [channelDuration] => 21
            [cSTime] => 1742056878
            [cETime] => 1742056882
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09931520057
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056882
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056864
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2726
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.08000000000365
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29877.679999998574
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2726
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.08000000000365
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95560.80000000911
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056883
{"compaign_id":"36075","contact_id":"6771","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6771","uid":"u595","unique_id":"36075_6771_138-u595","ivrId":"3158","channelOTime":1742056858,"channelDTime":1742056883,"channelDuration":25,"cSTime":1742056878,"cETime":1742056883,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08218460359","server_ip":"118.185.137.196","insertTime":1742056883,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056860,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6771
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6771
            [uid] => u595
            [unique_id] => 36075_6771_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056858
            [channelDTime] => 1742056883
            [channelDuration] => 25
            [cSTime] => 1742056878
            [cETime] => 1742056883
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08218460359
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056883
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056860
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2727
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.16000000000366
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29877.599999998572
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2727
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.16000000000366
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95560.72000000911
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056885
{"compaign_id":"36075","contact_id":"6778","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6778","uid":"u595","unique_id":"36075_6778_138-u595","ivrId":"3158","channelOTime":1742056859,"channelDTime":1742056889,"channelDuration":30,"cSTime":1742056881,"cETime":1742056889,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07411480892","server_ip":"118.185.137.196","insertTime":1742056889,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056865,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6778
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6778
            [uid] => u595
            [unique_id] => 36075_6778_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056859
            [channelDTime] => 1742056889
            [channelDuration] => 30
            [cSTime] => 1742056881
            [cETime] => 1742056889
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07411480892
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056889
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056865
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2728
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.24000000000368
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29877.51999999857
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2728
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.24000000000368
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95560.64000000911
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056891
{"compaign_id":"36075","contact_id":"6780","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6780","uid":"u595","unique_id":"36075_6780_138-u595","ivrId":"3158","channelOTime":1742056860,"channelDTime":1742056889,"channelDuration":29,"cSTime":1742056866,"cETime":1742056889,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09530406414","server_ip":"118.185.137.196","insertTime":1742056889,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056861,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056866,"endTime":1742056884,"duration":18}],"#3":[{"startTime":1742056884,"endTime":1742056889,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6780
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6780
            [uid] => u595
            [unique_id] => 36075_6780_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056860
            [channelDTime] => 1742056889
            [channelDuration] => 29
            [cSTime] => 1742056866
            [cETime] => 1742056889
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09530406414
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056889
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056861
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056866
                                    [endTime] => 1742056884
                                    [duration] => 18
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056884
                                    [endTime] => 1742056889
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2729
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.3200000000037
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29877.43999999857
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2729
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.3200000000037
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95560.5600000091
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056891
{"compaign_id":"36075","contact_id":"6753","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6753","uid":"u595","unique_id":"36075_6753_138-u595","ivrId":"3158","channelOTime":1742056854,"channelDTime":1742056890,"channelDuration":36,"cSTime":1742056870,"cETime":1742056890,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08091188775","server_ip":"118.185.137.196","insertTime":1742056890,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056858,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6753
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6753
            [uid] => u595
            [unique_id] => 36075_6753_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056854
            [channelDTime] => 1742056890
            [channelDuration] => 36
            [cSTime] => 1742056870
            [cETime] => 1742056890
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08091188775
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056890
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056858
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2731
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.48000000000368
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29877.27999999857
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2731
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.48000000000368
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95560.4000000091
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056892
{"compaign_id":"36075","contact_id":"6820","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6820","uid":"u595","unique_id":"36075_6820_138-u595","ivrId":"3158","channelOTime":1742056880,"channelDTime":1742056893,"channelDuration":13,"cSTime":1742056889,"cETime":1742056893,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08800756746","server_ip":"118.185.137.196","insertTime":1742056893,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056883,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6820
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6820
            [uid] => u595
            [unique_id] => 36075_6820_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056880
            [channelDTime] => 1742056893
            [channelDuration] => 13
            [cSTime] => 1742056889
            [cETime] => 1742056893
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08800756746
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056893
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056883
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2733
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.64000000000368
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29877.11999999857
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2733
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.64000000000368
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95560.2400000091
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056894
{"compaign_id":"36075","contact_id":"6828","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6828","uid":"u595","unique_id":"36075_6828_138-u595","ivrId":"3158","channelOTime":1742056882,"channelDTime":1742056896,"channelDuration":14,"cSTime":1742056891,"cETime":1742056896,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07887917102","server_ip":"118.185.137.196","insertTime":1742056896,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056884,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6828
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6828
            [uid] => u595
            [unique_id] => 36075_6828_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056882
            [channelDTime] => 1742056896
            [channelDuration] => 14
            [cSTime] => 1742056891
            [cETime] => 1742056896
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07887917102
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056896
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056884
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2734
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.7200000000037
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29877.039999998568
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2734
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.7200000000037
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95560.1600000091
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056898
{"compaign_id":"36075","contact_id":"6759","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6759","uid":"u595","unique_id":"36075_6759_138-u595","ivrId":"3158","channelOTime":1742056856,"channelDTime":1742056897,"channelDuration":41,"cSTime":1742056874,"cETime":1742056897,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07569897943","server_ip":"118.185.137.196","insertTime":1742056897,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056862,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056874,"endTime":1742056897,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6759
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6759
            [uid] => u595
            [unique_id] => 36075_6759_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056856
            [channelDTime] => 1742056897
            [channelDuration] => 41
            [cSTime] => 1742056874
            [cETime] => 1742056897
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07569897943
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056897
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056862
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056874
                                    [endTime] => 1742056897
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2735
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.8000000000037
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29876.959999998566
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2735
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.8000000000037
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95560.0800000091
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056899
{"compaign_id":"36075","contact_id":"6826","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6826","uid":"u595","unique_id":"36075_6826_138-u595","ivrId":"3158","channelOTime":1742056882,"channelDTime":1742056897,"channelDuration":15,"cSTime":1742056889,"cETime":1742056897,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07076066727","server_ip":"118.185.137.196","insertTime":1742056897,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056884,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6826
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6826
            [uid] => u595
            [unique_id] => 36075_6826_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056882
            [channelDTime] => 1742056897
            [channelDuration] => 15
            [cSTime] => 1742056889
            [cETime] => 1742056897
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07076066727
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056897
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056884
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2737
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.9600000000037
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29876.799999998566
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2737
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 218.9600000000037
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95559.9200000091
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056899
{"compaign_id":"36075","contact_id":"6791","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6791","uid":"u595","unique_id":"36075_6791_138-u595","ivrId":"3158","channelOTime":1742056862,"channelDTime":1742056898,"channelDuration":36,"cSTime":1742056889,"cETime":1742056898,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09346298562","server_ip":"118.185.137.196","insertTime":1742056898,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056865,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6791
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6791
            [uid] => u595
            [unique_id] => 36075_6791_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056862
            [channelDTime] => 1742056898
            [channelDuration] => 36
            [cSTime] => 1742056889
            [cETime] => 1742056898
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09346298562
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056898
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056865
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2738
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.04000000000372
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29876.719999998564
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2738
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.04000000000372
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95559.84000000909
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056899
{"compaign_id":"36075","contact_id":"6770","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6770","uid":"u595","unique_id":"36075_6770_138-u595","ivrId":"3158","channelOTime":1742056858,"channelDTime":1742056898,"channelDuration":40,"cSTime":1742056875,"cETime":1742056898,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09693076123","server_ip":"118.185.137.196","insertTime":1742056898,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056860,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056875,"endTime":1742056898,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6770
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6770
            [uid] => u595
            [unique_id] => 36075_6770_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056858
            [channelDTime] => 1742056898
            [channelDuration] => 40
            [cSTime] => 1742056875
            [cETime] => 1742056898
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09693076123
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056898
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056860
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056875
                                    [endTime] => 1742056898
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2739
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.12000000000373
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29876.639999998562
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2739
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.12000000000373
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95559.76000000909
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056900
{"compaign_id":"36075","contact_id":"6831","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6831","uid":"u595","unique_id":"36075_6831_138-u595","ivrId":"3158","channelOTime":1742056883,"channelDTime":1742056898,"channelDuration":15,"cSTime":1742056896,"cETime":1742056898,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09586994445","server_ip":"118.185.137.196","insertTime":1742056898,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056884,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6831
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6831
            [uid] => u595
            [unique_id] => 36075_6831_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056883
            [channelDTime] => 1742056898
            [channelDuration] => 15
            [cSTime] => 1742056896
            [cETime] => 1742056898
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09586994445
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056898
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056884
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2741
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.28000000000372
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29876.479999998563
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2741
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.28000000000372
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95559.60000000909
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056900
{"compaign_id":"36075","contact_id":"6763","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6763","uid":"u595","unique_id":"36075_6763_138-u595","ivrId":"3158","channelOTime":1742056856,"channelDTime":1742056899,"channelDuration":43,"cSTime":1742056884,"cETime":1742056899,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08317098676","server_ip":"118.185.137.196","insertTime":1742056899,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056858,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6763
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6763
            [uid] => u595
            [unique_id] => 36075_6763_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056856
            [channelDTime] => 1742056899
            [channelDuration] => 43
            [cSTime] => 1742056884
            [cETime] => 1742056899
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08317098676
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056899
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056858
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2742
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.36000000000374
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29876.39999999856
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2742
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.36000000000374
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95559.52000000908
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056900
{"compaign_id":"36075","contact_id":"6775","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6775","uid":"u595","unique_id":"36075_6775_138-u595","ivrId":"3158","channelOTime":1742056859,"channelDTime":1742056899,"channelDuration":40,"cSTime":1742056880,"cETime":1742056899,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09024138783","server_ip":"118.185.137.196","insertTime":1742056899,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056863,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6775
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6775
            [uid] => u595
            [unique_id] => 36075_6775_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056859
            [channelDTime] => 1742056899
            [channelDuration] => 40
            [cSTime] => 1742056880
            [cETime] => 1742056899
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09024138783
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056899
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056863
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2743
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.44000000000375
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29876.31999999856
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2743
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.44000000000375
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95559.44000000908
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056901
{"compaign_id":"36075","contact_id":"6786","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6786","uid":"u595","unique_id":"36075_6786_138-u595","ivrId":"3158","channelOTime":1742056861,"channelDTime":1742056901,"channelDuration":40,"cSTime":1742056877,"cETime":1742056901,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07585061995","server_ip":"118.185.137.196","insertTime":1742056901,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056863,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056877,"endTime":1742056901,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6786
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6786
            [uid] => u595
            [unique_id] => 36075_6786_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056861
            [channelDTime] => 1742056901
            [channelDuration] => 40
            [cSTime] => 1742056877
            [cETime] => 1742056901
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07585061995
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056901
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056863
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056877
                                    [endTime] => 1742056901
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2745
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.60000000000375
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29876.15999999856
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2745
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.60000000000375
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95559.28000000908
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056903
{"compaign_id":"36075","contact_id":"6802","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6802","uid":"u595","unique_id":"36075_6802_138-u595","ivrId":"3158","channelOTime":1742056877,"channelDTime":1742056901,"channelDuration":24,"cSTime":1742056890,"cETime":1742056901,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09087904952","server_ip":"118.185.137.196","insertTime":1742056901,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056878,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6802
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6802
            [uid] => u595
            [unique_id] => 36075_6802_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056877
            [channelDTime] => 1742056901
            [channelDuration] => 24
            [cSTime] => 1742056890
            [cETime] => 1742056901
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09087904952
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056901
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056878
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2747
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.76000000000374
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29875.99999999856
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2747
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.76000000000374
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95559.12000000908
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056903
{"compaign_id":"36075","contact_id":"6845","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6845","uid":"u595","unique_id":"36075_6845_138-u595","ivrId":"3158","channelOTime":1742056885,"channelDTime":1742056902,"channelDuration":17,"cSTime":1742056891,"cETime":1742056902,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07879507270","server_ip":"118.185.137.196","insertTime":1742056902,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056886,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6845
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6845
            [uid] => u595
            [unique_id] => 36075_6845_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056885
            [channelDTime] => 1742056902
            [channelDuration] => 17
            [cSTime] => 1742056891
            [cETime] => 1742056902
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07879507270
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056902
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056886
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2748
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.84000000000376
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29875.919999998558
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2748
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.84000000000376
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95559.04000000907
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056903
{"compaign_id":"36075","contact_id":"6814","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6814","uid":"u595","unique_id":"36075_6814_138-u595","ivrId":"3158","channelOTime":1742056879,"channelDTime":1742056902,"channelDuration":23,"cSTime":1742056893,"cETime":1742056902,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07989541053","server_ip":"118.185.137.196","insertTime":1742056902,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056884,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6814
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6814
            [uid] => u595
            [unique_id] => 36075_6814_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056879
            [channelDTime] => 1742056902
            [channelDuration] => 23
            [cSTime] => 1742056893
            [cETime] => 1742056902
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07989541053
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056902
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056884
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2749
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.92000000000377
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29875.839999998556
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2749
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 219.92000000000377
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95558.96000000907
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056904
{"compaign_id":"36075","contact_id":"6830","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6830","uid":"u595","unique_id":"36075_6830_138-u595","ivrId":"3158","channelOTime":1742056882,"channelDTime":1742056902,"channelDuration":20,"cSTime":1742056896,"cETime":1742056902,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08757757370","server_ip":"118.185.137.196","insertTime":1742056902,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056884,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6830
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6830
            [uid] => u595
            [unique_id] => 36075_6830_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056882
            [channelDTime] => 1742056902
            [channelDuration] => 20
            [cSTime] => 1742056896
            [cETime] => 1742056902
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08757757370
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056902
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056884
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2750
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.00000000000378
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29875.759999998554
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2750
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.00000000000378
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95558.88000000907
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056904
{"compaign_id":"36075","contact_id":"6838","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6838","uid":"u595","unique_id":"36075_6838_138-u595","ivrId":"3158","channelOTime":1742056884,"channelDTime":1742056903,"channelDuration":19,"cSTime":1742056899,"cETime":1742056903,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08950442022","server_ip":"118.185.137.196","insertTime":1742056903,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056886,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6838
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6838
            [uid] => u595
            [unique_id] => 36075_6838_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056884
            [channelDTime] => 1742056903
            [channelDuration] => 19
            [cSTime] => 1742056899
            [cETime] => 1742056903
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08950442022
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056903
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056886
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2751
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.0800000000038
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29875.679999998552
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2751
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.0800000000038
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95558.80000000907
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056904
{"compaign_id":"36075","contact_id":"6766","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6766","uid":"u595","unique_id":"36075_6766_138-u595","ivrId":"3158","channelOTime":1742056857,"channelDTime":1742056904,"channelDuration":47,"cSTime":1742056880,"cETime":1742056904,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08271168992","server_ip":"118.185.137.196","insertTime":1742056904,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056861,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056880,"endTime":1742056904,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6766
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6766
            [uid] => u595
            [unique_id] => 36075_6766_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056857
            [channelDTime] => 1742056904
            [channelDuration] => 47
            [cSTime] => 1742056880
            [cETime] => 1742056904
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08271168992
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056904
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056861
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056880
                                    [endTime] => 1742056904
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2752
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.1600000000038
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29875.59999999855
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2752
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.1600000000038
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95558.72000000907
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056905
{"compaign_id":"36075","contact_id":"6855","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6855","uid":"u595","unique_id":"36075_6855_138-u595","ivrId":"3158","channelOTime":1742056895,"channelDTime":1742056904,"channelDuration":9,"cSTime":1742056902,"cETime":1742056904,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08527874454","server_ip":"118.185.137.196","insertTime":1742056904,"ivrData":{"#2":["6"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056897,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056902,"endTime":1742056904,"duration":2}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6855
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6855
            [uid] => u595
            [unique_id] => 36075_6855_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056895
            [channelDTime] => 1742056904
            [channelDuration] => 9
            [cSTime] => 1742056902
            [cETime] => 1742056904
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08527874454
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056904
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 6
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056897
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056902
                                    [endTime] => 1742056904
                                    [duration] => 2
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2754
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.3200000000038
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29875.43999999855
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2754
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.3200000000038
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95558.56000000906
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056906
{"compaign_id":"36075","contact_id":"6846","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6846","uid":"u595","unique_id":"36075_6846_138-u595","ivrId":"3158","channelOTime":1742056886,"channelDTime":1742056907,"channelDuration":21,"cSTime":1742056898,"cETime":1742056907,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09346752700","server_ip":"118.185.137.196","insertTime":1742056907,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056888,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6846
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6846
            [uid] => u595
            [unique_id] => 36075_6846_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056886
            [channelDTime] => 1742056907
            [channelDuration] => 21
            [cSTime] => 1742056898
            [cETime] => 1742056907
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09346752700
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056907
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056888
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2755
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.4000000000038
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29875.35999999855
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2755
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.4000000000038
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95558.48000000906
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056909
{"compaign_id":"36075","contact_id":"6847","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6847","uid":"u595","unique_id":"36075_6847_138-u595","ivrId":"3158","channelOTime":1742056886,"channelDTime":1742056908,"channelDuration":22,"cSTime":1742056898,"cETime":1742056908,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07040401817","server_ip":"118.185.137.196","insertTime":1742056908,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056888,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6847
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6847
            [uid] => u595
            [unique_id] => 36075_6847_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056886
            [channelDTime] => 1742056908
            [channelDuration] => 22
            [cSTime] => 1742056898
            [cETime] => 1742056908
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07040401817
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056908
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056888
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2756
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.48000000000383
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29875.279999998547
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2756
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.48000000000383
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95558.40000000906
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056910
{"compaign_id":"36075","contact_id":"6805","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6805","uid":"u595","unique_id":"36075_6805_138-u595","ivrId":"3158","channelOTime":1742056877,"channelDTime":1742056908,"channelDuration":31,"cSTime":1742056885,"cETime":1742056908,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09080884632","server_ip":"118.185.137.196","insertTime":1742056908,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056879,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056885,"endTime":1742056908,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6805
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6805
            [uid] => u595
            [unique_id] => 36075_6805_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056877
            [channelDTime] => 1742056908
            [channelDuration] => 31
            [cSTime] => 1742056885
            [cETime] => 1742056908
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09080884632
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056908
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056879
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056885
                                    [endTime] => 1742056908
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2757
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.56000000000384
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29875.199999998546
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2757
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.56000000000384
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95558.32000000906
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056910
{"compaign_id":"36075","contact_id":"6843","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6843","uid":"u595","unique_id":"36075_6843_138-u595","ivrId":"3158","channelOTime":1742056885,"channelDTime":1742056908,"channelDuration":23,"cSTime":1742056900,"cETime":1742056908,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08602660456","server_ip":"118.185.137.196","insertTime":1742056908,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056886,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6843
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6843
            [uid] => u595
            [unique_id] => 36075_6843_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056885
            [channelDTime] => 1742056908
            [channelDuration] => 23
            [cSTime] => 1742056900
            [cETime] => 1742056908
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08602660456
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056908
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056886
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2759
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.72000000000384
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29875.039999998546
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2759
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.72000000000384
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95558.16000000905
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056910
{"compaign_id":"36075","contact_id":"6817","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6817","uid":"u595","unique_id":"36075_6817_138-u595","ivrId":"3158","channelOTime":1742056880,"channelDTime":1742056910,"channelDuration":30,"cSTime":1742056899,"cETime":1742056910,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07727904516","server_ip":"118.185.137.196","insertTime":1742056910,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056885,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6817
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6817
            [uid] => u595
            [unique_id] => 36075_6817_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056880
            [channelDTime] => 1742056910
            [channelDuration] => 30
            [cSTime] => 1742056899
            [cETime] => 1742056910
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07727904516
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056910
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056885
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2760
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.80000000000385
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29874.959999998544
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2760
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.80000000000385
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95558.08000000905
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056912
{"compaign_id":"36075","contact_id":"6872","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6872","uid":"u595","unique_id":"36075_6872_138-u595","ivrId":"3158","channelOTime":1742056898,"channelDTime":1742056911,"channelDuration":13,"cSTime":1742056908,"cETime":1742056911,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08217701948","server_ip":"118.185.137.196","insertTime":1742056911,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056903,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6872
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6872
            [uid] => u595
            [unique_id] => 36075_6872_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056898
            [channelDTime] => 1742056911
            [channelDuration] => 13
            [cSTime] => 1742056908
            [cETime] => 1742056911
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08217701948
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056911
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056903
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2761
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.88000000000386
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29874.879999998542
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2761
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.88000000000386
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95558.00000000905
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056912
{"compaign_id":"36075","contact_id":"6899","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6899","uid":"u595","unique_id":"36075_6899_138-u595","ivrId":"3158","channelOTime":1742056903,"channelDTime":1742056914,"channelDuration":11,"cSTime":1742056911,"cETime":1742056914,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09947078918","server_ip":"118.185.137.196","insertTime":1742056914,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056906,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6899
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6899
            [uid] => u595
            [unique_id] => 36075_6899_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056903
            [channelDTime] => 1742056914
            [channelDuration] => 11
            [cSTime] => 1742056911
            [cETime] => 1742056914
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09947078918
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056914
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056906
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2762
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.96000000000387
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29874.79999999854
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2762
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 220.96000000000387
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95557.92000000905
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056915
{"compaign_id":"36075","contact_id":"6862","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6862","uid":"u595","unique_id":"36075_6862_138-u595","ivrId":"3158","channelOTime":1742056896,"channelDTime":1742056916,"channelDuration":20,"cSTime":1742056911,"cETime":1742056916,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09352125055","server_ip":"118.185.137.196","insertTime":1742056916,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056900,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6862
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6862
            [uid] => u595
            [unique_id] => 36075_6862_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056896
            [channelDTime] => 1742056916
            [channelDuration] => 20
            [cSTime] => 1742056911
            [cETime] => 1742056916
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09352125055
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056916
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056900
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2763
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.0400000000039
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29874.71999999854
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2763
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.0400000000039
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95557.84000000905
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056918
{"compaign_id":"36075","contact_id":"6811","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6811","uid":"u595","unique_id":"36075_6811_138-u595","ivrId":"3158","channelOTime":1742056879,"channelDTime":1742056917,"channelDuration":38,"cSTime":1742056894,"cETime":1742056917,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09019697650","server_ip":"118.185.137.196","insertTime":1742056917,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056882,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056894,"endTime":1742056917,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6811
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6811
            [uid] => u595
            [unique_id] => 36075_6811_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056879
            [channelDTime] => 1742056917
            [channelDuration] => 38
            [cSTime] => 1742056894
            [cETime] => 1742056917
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09019697650
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056917
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056882
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056894
                                    [endTime] => 1742056917
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2764
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.1200000000039
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29874.639999998537
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2764
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.1200000000039
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95557.76000000905
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056919
{"compaign_id":"36075","contact_id":"6841","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6841","uid":"u595","unique_id":"36075_6841_138-u595","ivrId":"3158","channelOTime":1742056885,"channelDTime":1742056918,"channelDuration":33,"cSTime":1742056901,"cETime":1742056918,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09558382066","server_ip":"118.185.137.196","insertTime":1742056918,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056889,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6841
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6841
            [uid] => u595
            [unique_id] => 36075_6841_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056885
            [channelDTime] => 1742056918
            [channelDuration] => 33
            [cSTime] => 1742056901
            [cETime] => 1742056918
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09558382066
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056918
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056889
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2766
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.2800000000039
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29874.479999998537
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2766
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.2800000000039
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95557.60000000904
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056920
{"compaign_id":"36075","contact_id":"6863","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6863","uid":"u595","unique_id":"36075_6863_138-u595","ivrId":"3158","channelOTime":1742056896,"channelDTime":1742056920,"channelDuration":24,"cSTime":1742056915,"cETime":1742056920,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09515265318","server_ip":"118.185.137.196","insertTime":1742056920,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056898,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6863
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6863
            [uid] => u595
            [unique_id] => 36075_6863_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056896
            [channelDTime] => 1742056920
            [channelDuration] => 24
            [cSTime] => 1742056915
            [cETime] => 1742056920
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09515265318
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056920
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056898
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2768
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.4400000000039
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29874.319999998537
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2768
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.4400000000039
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95557.44000000904
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056922
2025-03-15 22:12:02[LOG]Starting Cron
2025-03-15 22:12:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"6856","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6856","uid":"u595","unique_id":"36075_6856_138-u595","ivrId":"3158","channelOTime":1742056895,"channelDTime":1742056921,"channelDuration":26,"cSTime":1742056907,"cETime":1742056921,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09582085589","server_ip":"118.185.137.196","insertTime":1742056921,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056898,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6856
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6856
            [uid] => u595
            [unique_id] => 36075_6856_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056895
            [channelDTime] => 1742056921
            [channelDuration] => 26
            [cSTime] => 1742056907
            [cETime] => 1742056921
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09582085589
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056921
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056898
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2769
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.5200000000039
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29874.239999998535
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2769
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.5200000000039
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95557.36000000904
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056923
{"compaign_id":"36075","contact_id":"6889","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6889","uid":"u595","unique_id":"36075_6889_138-u595","ivrId":"3158","channelOTime":1742056901,"channelDTime":1742056921,"channelDuration":20,"cSTime":1742056911,"cETime":1742056921,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08085107843","server_ip":"118.185.137.196","insertTime":1742056921,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056903,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6889
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6889
            [uid] => u595
            [unique_id] => 36075_6889_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056901
            [channelDTime] => 1742056921
            [channelDuration] => 20
            [cSTime] => 1742056911
            [cETime] => 1742056921
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08085107843
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056921
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056903
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2770
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.60000000000392
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29874.159999998534
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2770
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.60000000000392
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95557.28000000904
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056923
{"compaign_id":"36075","contact_id":"6839","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6839","uid":"u595","unique_id":"36075_6839_138-u595","ivrId":"3158","channelOTime":1742056884,"channelDTime":1742056921,"channelDuration":37,"cSTime":1742056898,"cETime":1742056921,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09539188760","server_ip":"118.185.137.196","insertTime":1742056921,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056887,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056898,"endTime":1742056921,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6839
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6839
            [uid] => u595
            [unique_id] => 36075_6839_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056884
            [channelDTime] => 1742056921
            [channelDuration] => 37
            [cSTime] => 1742056898
            [cETime] => 1742056921
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09539188760
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056921
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056887
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056898
                                    [endTime] => 1742056921
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2771
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.68000000000393
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29874.079999998532
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2771
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.68000000000393
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95557.20000000903
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056923
{"compaign_id":"36075","contact_id":"6848","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6848","uid":"u595","unique_id":"36075_6848_138-u595","ivrId":"3158","channelOTime":1742056886,"channelDTime":1742056922,"channelDuration":36,"cSTime":1742056912,"cETime":1742056922,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07019922725","server_ip":"118.185.137.196","insertTime":1742056922,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056887,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6848
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6848
            [uid] => u595
            [unique_id] => 36075_6848_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056886
            [channelDTime] => 1742056922
            [channelDuration] => 36
            [cSTime] => 1742056912
            [cETime] => 1742056922
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07019922725
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056922
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056887
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2773
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.84000000000393
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29873.919999998532
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2773
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.84000000000393
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95557.04000000903
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056923
{"compaign_id":"36075","contact_id":"6810","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6810","uid":"u595","unique_id":"36075_6810_138-u595","ivrId":"3158","channelOTime":1742056878,"channelDTime":1742056923,"channelDuration":45,"cSTime":1742056903,"cETime":1742056923,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08096686141","server_ip":"118.185.137.196","insertTime":1742056923,"ivrData":{"#2":["1"],"#3":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056880,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056903,"endTime":1742056923,"duration":20}],"#3":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6810
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6810
            [uid] => u595
            [unique_id] => 36075_6810_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056878
            [channelDTime] => 1742056923
            [channelDuration] => 45
            [cSTime] => 1742056903
            [cETime] => 1742056923
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08096686141
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056923
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056880
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056903
                                    [endTime] => 1742056923
                                    [duration] => 20
                                )

                        )

                    [#3] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2774
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.92000000000394
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29873.83999999853
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2774
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 221.92000000000394
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95556.96000000903
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056924
{"compaign_id":"36075","contact_id":"6893","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6893","uid":"u595","unique_id":"36075_6893_138-u595","ivrId":"3158","channelOTime":1742056902,"channelDTime":1742056924,"channelDuration":22,"cSTime":1742056916,"cETime":1742056924,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09309779178","server_ip":"118.185.137.196","insertTime":1742056924,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056903,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6893
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6893
            [uid] => u595
            [unique_id] => 36075_6893_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056902
            [channelDTime] => 1742056924
            [channelDuration] => 22
            [cSTime] => 1742056916
            [cETime] => 1742056924
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09309779178
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056924
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056903
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2776
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.08000000000393
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29873.67999999853
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2776
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.08000000000393
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95556.80000000903
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056926
{"compaign_id":"36075","contact_id":"6888","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6888","uid":"u595","unique_id":"36075_6888_138-u595","ivrId":"3158","channelOTime":1742056901,"channelDTime":1742056928,"channelDuration":27,"cSTime":1742056917,"cETime":1742056928,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06371158080","server_ip":"118.185.137.196","insertTime":1742056928,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056903,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6888
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6888
            [uid] => u595
            [unique_id] => 36075_6888_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056901
            [channelDTime] => 1742056928
            [channelDuration] => 27
            [cSTime] => 1742056917
            [cETime] => 1742056928
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06371158080
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056928
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056903
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2777
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.16000000000395
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29873.59999999853
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2777
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.16000000000395
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95556.72000000902
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056929
{"compaign_id":"36075","contact_id":"6917","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6917","uid":"u595","unique_id":"36075_6917_138-u595","ivrId":"3158","channelOTime":1742056920,"channelDTime":1742056928,"channelDuration":8,"cSTime":1742056924,"cETime":1742056928,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08787564091","server_ip":"118.185.137.196","insertTime":1742056928,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056921,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6917
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6917
            [uid] => u595
            [unique_id] => 36075_6917_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056920
            [channelDTime] => 1742056928
            [channelDuration] => 8
            [cSTime] => 1742056924
            [cETime] => 1742056928
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08787564091
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056928
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056921
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2778
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.24000000000396
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29873.519999998527
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2778
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.24000000000396
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95556.64000000902
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056930
{"compaign_id":"36075","contact_id":"6896","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6896","uid":"u595","unique_id":"36075_6896_138-u595","ivrId":"3158","channelOTime":1742056903,"channelDTime":1742056929,"channelDuration":26,"cSTime":1742056905,"cETime":1742056929,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06358112110","server_ip":"118.185.137.196","insertTime":1742056929,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056905,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056905,"endTime":1742056929,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6896
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6896
            [uid] => u595
            [unique_id] => 36075_6896_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056903
            [channelDTime] => 1742056929
            [channelDuration] => 26
            [cSTime] => 1742056905
            [cETime] => 1742056929
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06358112110
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056929
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056905
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056905
                                    [endTime] => 1742056929
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2779
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.32000000000397
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29873.439999998525
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2779
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.32000000000397
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95556.56000000902
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056931
{"compaign_id":"36075","contact_id":"6891","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6891","uid":"u595","unique_id":"36075_6891_138-u595","ivrId":"3158","channelOTime":1742056902,"channelDTime":1742056929,"channelDuration":27,"cSTime":1742056924,"cETime":1742056929,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08435250607","server_ip":"118.185.137.196","insertTime":1742056929,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056903,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6891
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6891
            [uid] => u595
            [unique_id] => 36075_6891_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056902
            [channelDTime] => 1742056929
            [channelDuration] => 27
            [cSTime] => 1742056924
            [cETime] => 1742056929
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08435250607
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056929
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056903
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2781
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.48000000000397
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29873.279999998525
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2781
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.48000000000397
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95556.40000000902
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056931
{"compaign_id":"36075","contact_id":"6827","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6827","uid":"u595","unique_id":"36075_6827_138-u595","ivrId":"3158","channelOTime":1742056882,"channelDTime":1742056929,"channelDuration":47,"cSTime":1742056906,"cETime":1742056929,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09036321617","server_ip":"118.185.137.196","insertTime":1742056929,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056883,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056906,"endTime":1742056929,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6827
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6827
            [uid] => u595
            [unique_id] => 36075_6827_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056882
            [channelDTime] => 1742056929
            [channelDuration] => 47
            [cSTime] => 1742056906
            [cETime] => 1742056929
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09036321617
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056929
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056883
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056906
                                    [endTime] => 1742056929
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2782
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.56000000000398
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29873.199999998524
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2782
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.56000000000398
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95556.32000000901
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056931
{"compaign_id":"36075","contact_id":"6873","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6873","uid":"u595","unique_id":"36075_6873_138-u595","ivrId":"3158","channelOTime":1742056898,"channelDTime":1742056930,"channelDuration":32,"cSTime":1742056906,"cETime":1742056930,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08822078363","server_ip":"118.185.137.196","insertTime":1742056930,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056900,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056906,"endTime":1742056930,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6873
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6873
            [uid] => u595
            [unique_id] => 36075_6873_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056898
            [channelDTime] => 1742056930
            [channelDuration] => 32
            [cSTime] => 1742056906
            [cETime] => 1742056930
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08822078363
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056930
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056900
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056906
                                    [endTime] => 1742056930
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2784
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.72000000000398
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29873.039999998524
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2784
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.72000000000398
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95556.16000000901
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056932
{"compaign_id":"36075","contact_id":"6860","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6860","uid":"u595","unique_id":"36075_6860_138-u595","ivrId":"3158","channelOTime":1742056896,"channelDTime":1742056932,"channelDuration":36,"cSTime":1742056916,"cETime":1742056932,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09956114197","server_ip":"118.185.137.196","insertTime":1742056932,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056900,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6860
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6860
            [uid] => u595
            [unique_id] => 36075_6860_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056896
            [channelDTime] => 1742056932
            [channelDuration] => 36
            [cSTime] => 1742056916
            [cETime] => 1742056932
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09956114197
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056932
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056900
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2786
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.88000000000397
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29872.879999998524
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2786
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 222.88000000000397
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95556.00000000901
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056934
{"compaign_id":"36075","contact_id":"6900","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6900","uid":"u595","unique_id":"36075_6900_138-u595","ivrId":"3158","channelOTime":1742056916,"channelDTime":1742056933,"channelDuration":17,"cSTime":1742056925,"cETime":1742056933,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08737070390","server_ip":"118.185.137.196","insertTime":1742056933,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056919,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6900
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6900
            [uid] => u595
            [unique_id] => 36075_6900_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056916
            [channelDTime] => 1742056933
            [channelDuration] => 17
            [cSTime] => 1742056925
            [cETime] => 1742056933
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08737070390
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056933
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056919
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2788
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.04000000000397
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29872.719999998524
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2788
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.04000000000397
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95555.840000009
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056934
{"compaign_id":"36075","contact_id":"6915","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6915","uid":"u595","unique_id":"36075_6915_138-u595","ivrId":"3158","channelOTime":1742056919,"channelDTime":1742056933,"channelDuration":14,"cSTime":1742056928,"cETime":1742056933,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09845567436","server_ip":"118.185.137.196","insertTime":1742056933,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056922,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6915
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6915
            [uid] => u595
            [unique_id] => 36075_6915_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056919
            [channelDTime] => 1742056933
            [channelDuration] => 14
            [cSTime] => 1742056928
            [cETime] => 1742056933
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09845567436
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056933
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056922
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2789
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.12000000000398
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29872.639999998522
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2789
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.12000000000398
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95555.760000009
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056935
{"compaign_id":"36075","contact_id":"6920","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6920","uid":"u595","unique_id":"36075_6920_138-u595","ivrId":"3158","channelOTime":1742056920,"channelDTime":1742056934,"channelDuration":14,"cSTime":1742056930,"cETime":1742056934,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07003713004","server_ip":"118.185.137.196","insertTime":1742056934,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056922,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6920
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6920
            [uid] => u595
            [unique_id] => 36075_6920_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056920
            [channelDTime] => 1742056934
            [channelDuration] => 14
            [cSTime] => 1742056930
            [cETime] => 1742056934
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07003713004
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056934
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056922
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2790
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.200000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29872.55999999852
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2790
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.200000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95555.680000009
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056935
{"compaign_id":"36075","contact_id":"6883","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6883","uid":"u595","unique_id":"36075_6883_138-u595","ivrId":"3158","channelOTime":1742056900,"channelDTime":1742056934,"channelDuration":34,"cSTime":1742056919,"cETime":1742056934,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09960340662","server_ip":"118.185.137.196","insertTime":1742056934,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056903,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6883
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6883
            [uid] => u595
            [unique_id] => 36075_6883_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056900
            [channelDTime] => 1742056934
            [channelDuration] => 34
            [cSTime] => 1742056919
            [cETime] => 1742056934
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09960340662
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056934
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056903
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2791
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.280000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29872.47999999852
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2791
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.280000000004
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95555.600000009
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056936
{"compaign_id":"36075","contact_id":"6934","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6934","uid":"u595","unique_id":"36075_6934_138-u595","ivrId":"3158","channelOTime":1742056923,"channelDTime":1742056936,"channelDuration":13,"cSTime":1742056933,"cETime":1742056936,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06207852146","server_ip":"118.185.137.196","insertTime":1742056936,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056925,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6934
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6934
            [uid] => u595
            [unique_id] => 36075_6934_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056923
            [channelDTime] => 1742056936
            [channelDuration] => 13
            [cSTime] => 1742056933
            [cETime] => 1742056936
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06207852146
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056936
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056925
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2792
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.36000000000402
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29872.399999998517
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2792
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.36000000000402
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95555.520000009
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056938
{"compaign_id":"36075","contact_id":"6867","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6867","uid":"u595","unique_id":"36075_6867_138-u595","ivrId":"3158","channelOTime":1742056897,"channelDTime":1742056938,"channelDuration":41,"cSTime":1742056915,"cETime":1742056938,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08200366974","server_ip":"118.185.137.196","insertTime":1742056938,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056899,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056915,"endTime":1742056938,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6867
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6867
            [uid] => u595
            [unique_id] => 36075_6867_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056897
            [channelDTime] => 1742056938
            [channelDuration] => 41
            [cSTime] => 1742056915
            [cETime] => 1742056938
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08200366974
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056938
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056899
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056915
                                    [endTime] => 1742056938
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2793
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.44000000000403
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29872.319999998515
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2793
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.44000000000403
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95555.440000009
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056940
{"compaign_id":"36075","contact_id":"6898","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6898","uid":"u595","unique_id":"36075_6898_138-u595","ivrId":"3158","channelOTime":1742056903,"channelDTime":1742056939,"channelDuration":36,"cSTime":1742056916,"cETime":1742056939,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08108032508","server_ip":"118.185.137.196","insertTime":1742056939,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056905,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056916,"endTime":1742056939,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6898
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6898
            [uid] => u595
            [unique_id] => 36075_6898_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056903
            [channelDTime] => 1742056939
            [channelDuration] => 36
            [cSTime] => 1742056916
            [cETime] => 1742056939
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08108032508
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056939
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056905
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056916
                                    [endTime] => 1742056939
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2795
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.60000000000403
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29872.159999998516
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2795
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.60000000000403
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95555.28000000899
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056941
{"compaign_id":"36075","contact_id":"6945","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6945","uid":"u595","unique_id":"36075_6945_138-u595","ivrId":"3158","channelOTime":1742056925,"channelDTime":1742056939,"channelDuration":14,"cSTime":1742056932,"cETime":1742056939,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08249225924","server_ip":"118.185.137.196","insertTime":1742056939,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056927,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6945
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6945
            [uid] => u595
            [unique_id] => 36075_6945_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056925
            [channelDTime] => 1742056939
            [channelDuration] => 14
            [cSTime] => 1742056932
            [cETime] => 1742056939
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08249225924
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056939
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056927
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2797
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.76000000000403
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29871.999999998516
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2797
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.76000000000403
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95555.12000000899
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056941
{"compaign_id":"36075","contact_id":"6942","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6942","uid":"u595","unique_id":"36075_6942_138-u595","ivrId":"3158","channelOTime":1742056925,"channelDTime":1742056940,"channelDuration":15,"cSTime":1742056935,"cETime":1742056940,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09122582468","server_ip":"118.185.137.196","insertTime":1742056940,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056927,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6942
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6942
            [uid] => u595
            [unique_id] => 36075_6942_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056925
            [channelDTime] => 1742056940
            [channelDuration] => 15
            [cSTime] => 1742056935
            [cETime] => 1742056940
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09122582468
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056940
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056927
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2798
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.84000000000404
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29871.919999998514
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2798
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.84000000000404
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95555.04000000899
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056942
{"compaign_id":"36075","contact_id":"6858","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6858","uid":"u595","unique_id":"36075_6858_138-u595","ivrId":"3158","channelOTime":1742056895,"channelDTime":1742056940,"channelDuration":45,"cSTime":1742056917,"cETime":1742056940,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09325659599","server_ip":"118.185.137.196","insertTime":1742056940,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056898,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056917,"endTime":1742056940,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6858
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6858
            [uid] => u595
            [unique_id] => 36075_6858_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056895
            [channelDTime] => 1742056940
            [channelDuration] => 45
            [cSTime] => 1742056917
            [cETime] => 1742056940
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09325659599
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056940
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056898
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056917
                                    [endTime] => 1742056940
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2799
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.92000000000405
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29871.839999998512
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2799
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 223.92000000000405
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95554.96000000898
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056942
{"compaign_id":"36075","contact_id":"6892","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6892","uid":"u595","unique_id":"36075_6892_138-u595","ivrId":"3158","channelOTime":1742056902,"channelDTime":1742056941,"channelDuration":39,"cSTime":1742056924,"cETime":1742056941,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09129114336","server_ip":"118.185.137.196","insertTime":1742056941,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056905,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6892
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6892
            [uid] => u595
            [unique_id] => 36075_6892_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056902
            [channelDTime] => 1742056941
            [channelDuration] => 39
            [cSTime] => 1742056924
            [cETime] => 1742056941
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09129114336
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056941
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056905
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2801
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.08000000000405
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29871.679999998512
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2801
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.08000000000405
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95554.80000000898
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056943
{"compaign_id":"36075","contact_id":"6926","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6926","uid":"u595","unique_id":"36075_6926_138-u595","ivrId":"3158","channelOTime":1742056921,"channelDTime":1742056942,"channelDuration":21,"cSTime":1742056932,"cETime":1742056942,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08840235164","server_ip":"118.185.137.196","insertTime":1742056942,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056925,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6926
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6926
            [uid] => u595
            [unique_id] => 36075_6926_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056921
            [channelDTime] => 1742056942
            [channelDuration] => 21
            [cSTime] => 1742056932
            [cETime] => 1742056942
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08840235164
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056942
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056925
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2803
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.24000000000404
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29871.519999998513
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2803
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.24000000000404
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95554.64000000898
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056944
{"compaign_id":"36075","contact_id":"6913","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6913","uid":"u595","unique_id":"36075_6913_138-u595","ivrId":"3158","channelOTime":1742056919,"channelDTime":1742056943,"channelDuration":24,"cSTime":1742056938,"cETime":1742056943,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07895225682","server_ip":"118.185.137.196","insertTime":1742056943,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056920,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6913
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6913
            [uid] => u595
            [unique_id] => 36075_6913_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056919
            [channelDTime] => 1742056943
            [channelDuration] => 24
            [cSTime] => 1742056938
            [cETime] => 1742056943
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07895225682
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056943
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056920
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2804
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.32000000000406
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29871.43999999851
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2804
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.32000000000406
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95554.56000000898
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056945
{"compaign_id":"36075","contact_id":"6909","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6909","uid":"u595","unique_id":"36075_6909_138-u595","ivrId":"3158","channelOTime":1742056918,"channelDTime":1742056943,"channelDuration":25,"cSTime":1742056930,"cETime":1742056943,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08348617091","server_ip":"118.185.137.196","insertTime":1742056943,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056920,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6909
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6909
            [uid] => u595
            [unique_id] => 36075_6909_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056918
            [channelDTime] => 1742056943
            [channelDuration] => 25
            [cSTime] => 1742056930
            [cETime] => 1742056943
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08348617091
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056943
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056920
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2805
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.40000000000407
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29871.35999999851
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2805
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.40000000000407
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95554.48000000897
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056945
{"compaign_id":"36075","contact_id":"6936","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6936","uid":"u595","unique_id":"36075_6936_138-u595","ivrId":"3158","channelOTime":1742056923,"channelDTime":1742056944,"channelDuration":21,"cSTime":1742056931,"cETime":1742056944,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06397688239","server_ip":"118.185.137.196","insertTime":1742056944,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056926,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6936
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6936
            [uid] => u595
            [unique_id] => 36075_6936_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056923
            [channelDTime] => 1742056944
            [channelDuration] => 21
            [cSTime] => 1742056931
            [cETime] => 1742056944
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06397688239
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056944
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056926
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2806
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.48000000000408
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29871.279999998507
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2806
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.48000000000408
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95554.40000000897
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056946
{"compaign_id":"36075","contact_id":"6954","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6954","uid":"u595","unique_id":"36075_6954_138-u595","ivrId":"3158","channelOTime":1742056934,"channelDTime":1742056944,"channelDuration":10,"cSTime":1742056942,"cETime":1742056944,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07075613326","server_ip":"118.185.137.196","insertTime":1742056944,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056936,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6954
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6954
            [uid] => u595
            [unique_id] => 36075_6954_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056934
            [channelDTime] => 1742056944
            [channelDuration] => 10
            [cSTime] => 1742056942
            [cETime] => 1742056944
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07075613326
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056944
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056936
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2807
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.5600000000041
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29871.199999998506
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2807
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.5600000000041
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95554.32000000897
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056946
{"compaign_id":"36075","contact_id":"6938","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6938","uid":"u595","unique_id":"36075_6938_138-u595","ivrId":"3158","channelOTime":1742056924,"channelDTime":1742056946,"channelDuration":22,"cSTime":1742056935,"cETime":1742056946,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09177433458","server_ip":"118.185.137.196","insertTime":1742056946,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056927,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6938
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6938
            [uid] => u595
            [unique_id] => 36075_6938_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056924
            [channelDTime] => 1742056946
            [channelDuration] => 22
            [cSTime] => 1742056935
            [cETime] => 1742056946
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09177433458
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056946
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056927
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2808
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.6400000000041
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29871.119999998504
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2808
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.6400000000041
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95554.24000000897
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056947
{"compaign_id":"36075","contact_id":"6919","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6919","uid":"u595","unique_id":"36075_6919_138-u595","ivrId":"3158","channelOTime":1742056920,"channelDTime":1742056946,"channelDuration":26,"cSTime":1742056923,"cETime":1742056946,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09131725410","server_ip":"118.185.137.196","insertTime":1742056946,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056922,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056923,"endTime":1742056946,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6919
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6919
            [uid] => u595
            [unique_id] => 36075_6919_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056920
            [channelDTime] => 1742056946
            [channelDuration] => 26
            [cSTime] => 1742056923
            [cETime] => 1742056946
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09131725410
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056946
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056922
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056923
                                    [endTime] => 1742056946
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2809
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.72000000000412
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29871.039999998502
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2809
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.72000000000412
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95554.16000000897
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056948
{"compaign_id":"36075","contact_id":"6902","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6902","uid":"u595","unique_id":"36075_6902_138-u595","ivrId":"3158","channelOTime":1742056917,"channelDTime":1742056946,"channelDuration":29,"cSTime":1742056923,"cETime":1742056946,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07710238652","server_ip":"118.185.137.196","insertTime":1742056946,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056918,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056923,"endTime":1742056946,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6902
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6902
            [uid] => u595
            [unique_id] => 36075_6902_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056917
            [channelDTime] => 1742056946
            [channelDuration] => 29
            [cSTime] => 1742056923
            [cETime] => 1742056946
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07710238652
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056946
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056918
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056923
                                    [endTime] => 1742056946
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2811
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.88000000000412
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29870.879999998502
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2811
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 224.88000000000412
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95554.00000000896
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056948
{"compaign_id":"36075","contact_id":"6890","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6890","uid":"u595","unique_id":"36075_6890_138-u595","ivrId":"3158","channelOTime":1742056902,"channelDTime":1742056950,"channelDuration":48,"cSTime":1742056927,"cETime":1742056950,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09717674566","server_ip":"118.185.137.196","insertTime":1742056950,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056906,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056927,"endTime":1742056950,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6890
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6890
            [uid] => u595
            [unique_id] => 36075_6890_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056902
            [channelDTime] => 1742056950
            [channelDuration] => 48
            [cSTime] => 1742056927
            [cETime] => 1742056950
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09717674566
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056950
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056906
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056927
                                    [endTime] => 1742056950
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2813
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.0400000000041
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29870.719999998502
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2813
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.0400000000041
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95553.84000000896
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056952
{"compaign_id":"36075","contact_id":"6923","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6923","uid":"u595","unique_id":"36075_6923_138-u595","ivrId":"3158","channelOTime":1742056921,"channelDTime":1742056952,"channelDuration":31,"cSTime":1742056940,"cETime":1742056952,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09080279146","server_ip":"118.185.137.196","insertTime":1742056952,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056924,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6923
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6923
            [uid] => u595
            [unique_id] => 36075_6923_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056921
            [channelDTime] => 1742056952
            [channelDuration] => 31
            [cSTime] => 1742056940
            [cETime] => 1742056952
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09080279146
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056952
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056924
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2815
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.2000000000041
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29870.559999998502
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2815
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.2000000000041
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95553.68000000896
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056953
{"compaign_id":"36075","contact_id":"6930","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6930","uid":"u595","unique_id":"36075_6930_138-u595","ivrId":"3158","channelOTime":1742056922,"channelDTime":1742056953,"channelDuration":31,"cSTime":1742056947,"cETime":1742056953,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07020948117","server_ip":"118.185.137.196","insertTime":1742056953,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056924,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6930
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6930
            [uid] => u595
            [unique_id] => 36075_6930_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056922
            [channelDTime] => 1742056953
            [channelDuration] => 31
            [cSTime] => 1742056947
            [cETime] => 1742056953
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07020948117
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056953
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056924
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2816
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.28000000000412
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29870.4799999985
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2816
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.28000000000412
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95553.60000000896
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056954
{"compaign_id":"36075","contact_id":"6976","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6976","uid":"u595","unique_id":"36075_6976_138-u595","ivrId":"3158","channelOTime":1742056939,"channelDTime":1742056954,"channelDuration":15,"cSTime":1742056951,"cETime":1742056954,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09634582778","server_ip":"118.185.137.196","insertTime":1742056954,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056942,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6976
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6976
            [uid] => u595
            [unique_id] => 36075_6976_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056939
            [channelDTime] => 1742056954
            [channelDuration] => 15
            [cSTime] => 1742056951
            [cETime] => 1742056954
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09634582778
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056954
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056942
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2817
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.36000000000413
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29870.3999999985
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2817
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.36000000000413
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95553.52000000895
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056955
{"compaign_id":"36075","contact_id":"6910","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6910","uid":"u595","unique_id":"36075_6910_138-u595","ivrId":"3158","channelOTime":1742056918,"channelDTime":1742056955,"channelDuration":37,"cSTime":1742056931,"cETime":1742056955,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07340732916","server_ip":"118.185.137.196","insertTime":1742056955,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056920,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056931,"endTime":1742056955,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6910
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6910
            [uid] => u595
            [unique_id] => 36075_6910_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056918
            [channelDTime] => 1742056955
            [channelDuration] => 37
            [cSTime] => 1742056931
            [cETime] => 1742056955
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07340732916
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056955
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056920
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056931
                                    [endTime] => 1742056955
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2818
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.44000000000415
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29870.319999998497
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2818
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.44000000000415
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95553.44000000895
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056956
{"compaign_id":"36075","contact_id":"6992","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6992","uid":"u595","unique_id":"36075_6992_138-u595","ivrId":"3158","channelOTime":1742056942,"channelDTime":1742056955,"channelDuration":13,"cSTime":1742056947,"cETime":1742056955,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09923509179","server_ip":"118.185.137.196","insertTime":1742056955,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056946,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6992
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6992
            [uid] => u595
            [unique_id] => 36075_6992_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056942
            [channelDTime] => 1742056955
            [channelDuration] => 13
            [cSTime] => 1742056947
            [cETime] => 1742056955
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09923509179
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056955
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056946
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2820
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.60000000000414
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29870.159999998497
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2820
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.60000000000414
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95553.28000000895
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056957
{"compaign_id":"36075","contact_id":"6921","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6921","uid":"u595","unique_id":"36075_6921_138-u595","ivrId":"3158","channelOTime":1742056920,"channelDTime":1742056955,"channelDuration":35,"cSTime":1742056939,"cETime":1742056955,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08122598478","server_ip":"118.185.137.196","insertTime":1742056955,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056922,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6921
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6921
            [uid] => u595
            [unique_id] => 36075_6921_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056920
            [channelDTime] => 1742056955
            [channelDuration] => 35
            [cSTime] => 1742056939
            [cETime] => 1742056955
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08122598478
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056955
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056922
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2821
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.68000000000416
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29870.079999998496
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2821
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.68000000000416
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95553.20000000895
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056957
{"compaign_id":"36075","contact_id":"6959","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6959","uid":"u595","unique_id":"36075_6959_138-u595","ivrId":"3158","channelOTime":1742056935,"channelDTime":1742056956,"channelDuration":21,"cSTime":1742056952,"cETime":1742056956,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08390275339","server_ip":"118.185.137.196","insertTime":1742056956,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056938,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6959
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6959
            [uid] => u595
            [unique_id] => 36075_6959_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056935
            [channelDTime] => 1742056956
            [channelDuration] => 21
            [cSTime] => 1742056952
            [cETime] => 1742056956
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08390275339
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056956
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056938
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2823
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.84000000000415
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29869.919999998496
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2823
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.84000000000415
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95553.04000000894
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056957
{"compaign_id":"36075","contact_id":"6965","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6965","uid":"u595","unique_id":"36075_6965_138-u595","ivrId":"3158","channelOTime":1742056936,"channelDTime":1742056956,"channelDuration":20,"cSTime":1742056955,"cETime":1742056956,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06003045475","server_ip":"118.185.137.196","insertTime":1742056956,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056939,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6965
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6965
            [uid] => u595
            [unique_id] => 36075_6965_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056936
            [channelDTime] => 1742056956
            [channelDuration] => 20
            [cSTime] => 1742056955
            [cETime] => 1742056956
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06003045475
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056956
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056939
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2824
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.92000000000417
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29869.839999998494
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2824
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 225.92000000000417
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95552.96000000894
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056958
{"compaign_id":"36075","contact_id":"6960","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6960","uid":"u595","unique_id":"36075_6960_138-u595","ivrId":"3158","channelOTime":1742056935,"channelDTime":1742056956,"channelDuration":21,"cSTime":1742056948,"cETime":1742056956,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09699291938","server_ip":"118.185.137.196","insertTime":1742056956,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056937,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6960
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6960
            [uid] => u595
            [unique_id] => 36075_6960_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056935
            [channelDTime] => 1742056956
            [channelDuration] => 21
            [cSTime] => 1742056948
            [cETime] => 1742056956
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09699291938
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056956
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056937
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2825
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.00000000000418
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29869.759999998492
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2825
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.00000000000418
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95552.88000000894
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056958
{"compaign_id":"36075","contact_id":"6969","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6969","uid":"u595","unique_id":"36075_6969_138-u595","ivrId":"3158","channelOTime":1742056937,"channelDTime":1742056957,"channelDuration":20,"cSTime":1742056945,"cETime":1742056957,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07981520686","server_ip":"118.185.137.196","insertTime":1742056957,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056939,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6969
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6969
            [uid] => u595
            [unique_id] => 36075_6969_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056937
            [channelDTime] => 1742056957
            [channelDuration] => 20
            [cSTime] => 1742056945
            [cETime] => 1742056957
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07981520686
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056957
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056939
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2826
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.0800000000042
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29869.67999999849
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2826
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.0800000000042
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95552.80000000894
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056959
{"compaign_id":"36075","contact_id":"6997","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6997","uid":"u595","unique_id":"36075_6997_138-u595","ivrId":"3158","channelOTime":1742056943,"channelDTime":1742056959,"channelDuration":16,"cSTime":1742056953,"cETime":1742056959,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08800540597","server_ip":"118.185.137.196","insertTime":1742056959,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056944,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6997
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6997
            [uid] => u595
            [unique_id] => 36075_6997_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056943
            [channelDTime] => 1742056959
            [channelDuration] => 16
            [cSTime] => 1742056953
            [cETime] => 1742056959
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08800540597
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056959
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056944
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2827
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.1600000000042
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29869.59999999849
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2827
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.1600000000042
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95552.72000000894
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056961
{"compaign_id":"36075","contact_id":"6956","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6956","uid":"u595","unique_id":"36075_6956_138-u595","ivrId":"3158","channelOTime":1742056935,"channelDTime":1742056961,"channelDuration":26,"cSTime":1742056958,"cETime":1742056961,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07992218676","server_ip":"118.185.137.196","insertTime":1742056961,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056938,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6956
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6956
            [uid] => u595
            [unique_id] => 36075_6956_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056935
            [channelDTime] => 1742056961
            [channelDuration] => 26
            [cSTime] => 1742056958
            [cETime] => 1742056961
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07992218676
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056961
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056938
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2828
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.24000000000422
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29869.519999998487
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2828
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.24000000000422
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95552.64000000893
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056963
{"compaign_id":"36075","contact_id":"6984","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6984","uid":"u595","unique_id":"36075_6984_138-u595","ivrId":"3158","channelOTime":1742056940,"channelDTime":1742056962,"channelDuration":22,"cSTime":1742056955,"cETime":1742056962,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09677743344","server_ip":"118.185.137.196","insertTime":1742056962,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056942,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6984
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6984
            [uid] => u595
            [unique_id] => 36075_6984_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056940
            [channelDTime] => 1742056962
            [channelDuration] => 22
            [cSTime] => 1742056955
            [cETime] => 1742056962
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09677743344
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056962
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056942
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2829
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.32000000000423
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29869.439999998485
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2829
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.32000000000423
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95552.56000000893
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056964
{"compaign_id":"36075","contact_id":"6964","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6964","uid":"u595","unique_id":"36075_6964_138-u595","ivrId":"3158","channelOTime":1742056936,"channelDTime":1742056964,"channelDuration":28,"cSTime":1742056944,"cETime":1742056964,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09689433124","server_ip":"118.185.137.196","insertTime":1742056964,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056938,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6964
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6964
            [uid] => u595
            [unique_id] => 36075_6964_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056936
            [channelDTime] => 1742056964
            [channelDuration] => 28
            [cSTime] => 1742056944
            [cETime] => 1742056964
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09689433124
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056964
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056938
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2830
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.40000000000424
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29869.359999998484
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2830
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.40000000000424
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95552.48000000893
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056966
{"compaign_id":"36075","contact_id":"6972","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6972","uid":"u595","unique_id":"36075_6972_138-u595","ivrId":"3158","channelOTime":1742056938,"channelDTime":1742056966,"channelDuration":28,"cSTime":1742056942,"cETime":1742056966,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08080245945","server_ip":"118.185.137.196","insertTime":1742056966,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056939,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056942,"endTime":1742056966,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6972
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6972
            [uid] => u595
            [unique_id] => 36075_6972_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056938
            [channelDTime] => 1742056966
            [channelDuration] => 28
            [cSTime] => 1742056942
            [cETime] => 1742056966
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08080245945
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056966
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056939
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056942
                                    [endTime] => 1742056966
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2832
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.56000000000424
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29869.199999998484
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2832
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.56000000000424
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95552.32000000893
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056967
{"compaign_id":"36075","contact_id":"6970","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6970","uid":"u595","unique_id":"36075_6970_138-u595","ivrId":"3158","channelOTime":1742056937,"channelDTime":1742056966,"channelDuration":29,"cSTime":1742056958,"cETime":1742056966,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06303176669","server_ip":"118.185.137.196","insertTime":1742056966,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056943,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6970
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6970
            [uid] => u595
            [unique_id] => 36075_6970_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056937
            [channelDTime] => 1742056966
            [channelDuration] => 29
            [cSTime] => 1742056958
            [cETime] => 1742056966
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06303176669
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056966
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056943
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2834
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.72000000000423
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29869.039999998484
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2834
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.72000000000423
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95552.16000000892
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056967
{"compaign_id":"36075","contact_id":"6979","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6979","uid":"u595","unique_id":"36075_6979_138-u595","ivrId":"3158","channelOTime":1742056939,"channelDTime":1742056966,"channelDuration":27,"cSTime":1742056960,"cETime":1742056966,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09823605313","server_ip":"118.185.137.196","insertTime":1742056966,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056941,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6979
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6979
            [uid] => u595
            [unique_id] => 36075_6979_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056939
            [channelDTime] => 1742056966
            [channelDuration] => 27
            [cSTime] => 1742056960
            [cETime] => 1742056966
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09823605313
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056966
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056941
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2835
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.80000000000425
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29868.959999998482
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2835
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.80000000000425
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95552.08000000892
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056968
{"compaign_id":"36075","contact_id":"7016","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7016","uid":"u595","unique_id":"36075_7016_138-u595","ivrId":"3158","channelOTime":1742056959,"channelDTime":1742056967,"channelDuration":8,"cSTime":1742056964,"cETime":1742056967,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09029905963","server_ip":"118.185.137.196","insertTime":1742056967,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056960,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7016
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7016
            [uid] => u595
            [unique_id] => 36075_7016_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056959
            [channelDTime] => 1742056967
            [channelDuration] => 8
            [cSTime] => 1742056964
            [cETime] => 1742056967
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09029905963
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056967
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056960
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2836
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.88000000000426
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29868.87999999848
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2836
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.88000000000426
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95552.00000000892
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056969
{"compaign_id":"36075","contact_id":"6991","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6991","uid":"u595","unique_id":"36075_6991_138-u595","ivrId":"3158","channelOTime":1742056942,"channelDTime":1742056969,"channelDuration":27,"cSTime":1742056955,"cETime":1742056969,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08179285118","server_ip":"118.185.137.196","insertTime":1742056969,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056944,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6991
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6991
            [uid] => u595
            [unique_id] => 36075_6991_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056942
            [channelDTime] => 1742056969
            [channelDuration] => 27
            [cSTime] => 1742056955
            [cETime] => 1742056969
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08179285118
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056969
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056944
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2837
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.96000000000427
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29868.79999999848
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2837
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 226.96000000000427
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95551.92000000892
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056971
{"compaign_id":"36075","contact_id":"7028","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7028","uid":"u595","unique_id":"36075_7028_138-u595","ivrId":"3158","channelOTime":1742056962,"channelDTime":1742056971,"channelDuration":9,"cSTime":1742056969,"cETime":1742056971,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08826272611","server_ip":"118.185.137.196","insertTime":1742056971,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056963,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7028
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7028
            [uid] => u595
            [unique_id] => 36075_7028_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056962
            [channelDTime] => 1742056971
            [channelDuration] => 9
            [cSTime] => 1742056969
            [cETime] => 1742056971
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08826272611
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056971
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056963
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2838
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.04000000000428
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29868.719999998477
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2838
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.04000000000428
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95551.84000000892
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056973
{"compaign_id":"36075","contact_id":"6978","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6978","uid":"u595","unique_id":"36075_6978_138-u595","ivrId":"3158","channelOTime":1742056939,"channelDTime":1742056973,"channelDuration":34,"cSTime":1742056957,"cETime":1742056973,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07078138405","server_ip":"118.185.137.196","insertTime":1742056973,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056942,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6978
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6978
            [uid] => u595
            [unique_id] => 36075_6978_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056939
            [channelDTime] => 1742056973
            [channelDuration] => 34
            [cSTime] => 1742056957
            [cETime] => 1742056973
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07078138405
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056973
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056942
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2839
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.1200000000043
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29868.639999998475
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2839
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.1200000000043
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95551.76000000892
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056974
{"compaign_id":"36075","contact_id":"7038","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7038","uid":"u595","unique_id":"36075_7038_138-u595","ivrId":"3158","channelOTime":1742056964,"channelDTime":1742056976,"channelDuration":12,"cSTime":1742056974,"cETime":1742056976,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09516901604","server_ip":"118.185.137.196","insertTime":1742056976,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056966,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7038
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7038
            [uid] => u595
            [unique_id] => 36075_7038_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056964
            [channelDTime] => 1742056976
            [channelDuration] => 12
            [cSTime] => 1742056974
            [cETime] => 1742056976
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09516901604
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056976
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056966
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2841
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.2800000000043
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29868.479999998475
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2841
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.2800000000043
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95551.60000000891
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056978
{"compaign_id":"36075","contact_id":"7004","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7004","uid":"u595","unique_id":"36075_7004_138-u595","ivrId":"3158","channelOTime":1742056957,"channelDTime":1742056977,"channelDuration":20,"cSTime":1742056970,"cETime":1742056977,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07004766654","server_ip":"118.185.137.196","insertTime":1742056977,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056958,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7004
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7004
            [uid] => u595
            [unique_id] => 36075_7004_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056957
            [channelDTime] => 1742056977
            [channelDuration] => 20
            [cSTime] => 1742056970
            [cETime] => 1742056977
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07004766654
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056977
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056958
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2842
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.3600000000043
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29868.399999998474
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2842
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.3600000000043
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95551.52000000891
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056979
{"compaign_id":"36075","contact_id":"7034","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7034","uid":"u595","unique_id":"36075_7034_138-u595","ivrId":"3158","channelOTime":1742056963,"channelDTime":1742056978,"channelDuration":15,"cSTime":1742056975,"cETime":1742056978,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09650180383","server_ip":"118.185.137.196","insertTime":1742056978,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056964,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7034
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7034
            [uid] => u595
            [unique_id] => 36075_7034_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056963
            [channelDTime] => 1742056978
            [channelDuration] => 15
            [cSTime] => 1742056975
            [cETime] => 1742056978
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09650180383
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056978
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056964
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2843
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.44000000000432
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29868.31999999847
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2843
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.44000000000432
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95551.44000000891
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056979
{"compaign_id":"36075","contact_id":"7010","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7010","uid":"u595","unique_id":"36075_7010_138-u595","ivrId":"3158","channelOTime":1742056958,"channelDTime":1742056978,"channelDuration":20,"cSTime":1742056971,"cETime":1742056978,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08712902327","server_ip":"118.185.137.196","insertTime":1742056978,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056961,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7010
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7010
            [uid] => u595
            [unique_id] => 36075_7010_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056958
            [channelDTime] => 1742056978
            [channelDuration] => 20
            [cSTime] => 1742056971
            [cETime] => 1742056978
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08712902327
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056978
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056961
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2844
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.52000000000433
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29868.23999999847
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2844
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.52000000000433
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95551.3600000089
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056980
{"compaign_id":"36075","contact_id":"7039","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7039","uid":"u595","unique_id":"36075_7039_138-u595","ivrId":"3158","channelOTime":1742056964,"channelDTime":1742056980,"channelDuration":16,"cSTime":1742056976,"cETime":1742056980,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07056468545","server_ip":"118.185.137.196","insertTime":1742056980,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056966,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7039
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7039
            [uid] => u595
            [unique_id] => 36075_7039_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056964
            [channelDTime] => 1742056980
            [channelDuration] => 16
            [cSTime] => 1742056976
            [cETime] => 1742056980
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07056468545
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056980
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056966
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2845
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.60000000000434
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29868.15999999847
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2845
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.60000000000434
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95551.2800000089
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056981
{"compaign_id":"36075","contact_id":"7001","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7001","uid":"u595","unique_id":"36075_7001_138-u595","ivrId":"3158","channelOTime":1742056956,"channelDTime":1742056980,"channelDuration":24,"cSTime":1742056977,"cETime":1742056980,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09818753299","server_ip":"118.185.137.196","insertTime":1742056980,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056958,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7001
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7001
            [uid] => u595
            [unique_id] => 36075_7001_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056956
            [channelDTime] => 1742056980
            [channelDuration] => 24
            [cSTime] => 1742056977
            [cETime] => 1742056980
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09818753299
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056980
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056958
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2846
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.68000000000436
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29868.079999998467
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2846
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.68000000000436
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95551.2000000089
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056982
{"compaign_id":"36075","contact_id":"7007","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7007","uid":"u595","unique_id":"36075_7007_138-u595","ivrId":"3158","channelOTime":1742056957,"channelDTime":1742056980,"channelDuration":23,"cSTime":1742056966,"cETime":1742056980,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08571091501","server_ip":"118.185.137.196","insertTime":1742056980,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056958,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7007
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7007
            [uid] => u595
            [unique_id] => 36075_7007_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056957
            [channelDTime] => 1742056980
            [channelDuration] => 23
            [cSTime] => 1742056966
            [cETime] => 1742056980
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08571091501
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056980
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056958
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found 2025-03-15 22:13:02[LOG]Starting Cron
2025-03-15 22:13:02[LOG]Process is already running
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2847
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.76000000000437
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29867.999999998465
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2847
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.76000000000437
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95551.1200000089
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056982
{"compaign_id":"36075","contact_id":"7026","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7026","uid":"u595","unique_id":"36075_7026_138-u595","ivrId":"3158","channelOTime":1742056961,"channelDTime":1742056981,"channelDuration":20,"cSTime":1742056976,"cETime":1742056981,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09653687381","server_ip":"118.185.137.196","insertTime":1742056981,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056964,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7026
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7026
            [uid] => u595
            [unique_id] => 36075_7026_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056961
            [channelDTime] => 1742056981
            [channelDuration] => 20
            [cSTime] => 1742056976
            [cETime] => 1742056981
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09653687381
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056981
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056964
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2848
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.84000000000438
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29867.919999998463
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2848
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.84000000000438
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95551.0400000089
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056982
{"compaign_id":"36075","contact_id":"6952","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6952","uid":"u595","unique_id":"36075_6952_138-u595","ivrId":"3158","channelOTime":1742056934,"channelDTime":1742056982,"channelDuration":48,"cSTime":1742056962,"cETime":1742056982,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08770097404","server_ip":"118.185.137.196","insertTime":1742056982,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056937,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6952
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6952
            [uid] => u595
            [unique_id] => 36075_6952_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056934
            [channelDTime] => 1742056982
            [channelDuration] => 48
            [cSTime] => 1742056962
            [cETime] => 1742056982
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08770097404
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056982
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056937
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2849
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.9200000000044
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29867.83999999846
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2849
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 227.9200000000044
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95550.9600000089
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056984
{"compaign_id":"36075","contact_id":"7027","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7027","uid":"u595","unique_id":"36075_7027_138-u595","ivrId":"3158","channelOTime":1742056961,"channelDTime":1742056983,"channelDuration":22,"cSTime":1742056979,"cETime":1742056983,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09616957020","server_ip":"118.185.137.196","insertTime":1742056983,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056963,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7027
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7027
            [uid] => u595
            [unique_id] => 36075_7027_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056961
            [channelDTime] => 1742056983
            [channelDuration] => 22
            [cSTime] => 1742056979
            [cETime] => 1742056983
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09616957020
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056983
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056963
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2851
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.0800000000044
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29867.67999999846
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2851
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.0800000000044
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95550.8000000089
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056985
{"compaign_id":"36075","contact_id":"7008","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7008","uid":"u595","unique_id":"36075_7008_138-u595","ivrId":"3158","channelOTime":1742056958,"channelDTime":1742056983,"channelDuration":25,"cSTime":1742056977,"cETime":1742056983,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08008845870","server_ip":"118.185.137.196","insertTime":1742056983,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056960,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7008
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7008
            [uid] => u595
            [unique_id] => 36075_7008_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056958
            [channelDTime] => 1742056983
            [channelDuration] => 25
            [cSTime] => 1742056977
            [cETime] => 1742056983
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08008845870
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056983
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056960
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2852
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.1600000000044
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29867.59999999846
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2852
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.1600000000044
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95550.72000000889
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056985
{"compaign_id":"36075","contact_id":"7015","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7015","uid":"u595","unique_id":"36075_7015_138-u595","ivrId":"3158","channelOTime":1742056959,"channelDTime":1742056983,"channelDuration":24,"cSTime":1742056972,"cETime":1742056983,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06202705971","server_ip":"118.185.137.196","insertTime":1742056983,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056962,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7015
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7015
            [uid] => u595
            [unique_id] => 36075_7015_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056959
            [channelDTime] => 1742056983
            [channelDuration] => 24
            [cSTime] => 1742056972
            [cETime] => 1742056983
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06202705971
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056983
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056962
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2853
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.24000000000441
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29867.519999998458
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2853
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.24000000000441
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95550.64000000889
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056985
{"compaign_id":"36075","contact_id":"6989","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6989","uid":"u595","unique_id":"36075_6989_138-u595","ivrId":"3158","channelOTime":1742056941,"channelDTime":1742056984,"channelDuration":43,"cSTime":1742056960,"cETime":1742056984,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09970715435","server_ip":"118.185.137.196","insertTime":1742056984,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056943,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056960,"endTime":1742056984,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6989
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6989
            [uid] => u595
            [unique_id] => 36075_6989_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056941
            [channelDTime] => 1742056984
            [channelDuration] => 43
            [cSTime] => 1742056960
            [cETime] => 1742056984
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09970715435
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056984
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056943
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056960
                                    [endTime] => 1742056984
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2854
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.32000000000443
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29867.439999998456
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2854
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.32000000000443
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95550.56000000889
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056985
{"compaign_id":"36075","contact_id":"6986","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_6986","uid":"u595","unique_id":"36075_6986_138-u595","ivrId":"3158","channelOTime":1742056941,"channelDTime":1742056985,"channelDuration":44,"cSTime":1742056964,"cETime":1742056985,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08095076625","server_ip":"118.185.137.196","insertTime":1742056985,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056948,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 6986
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_6986
            [uid] => u595
            [unique_id] => 36075_6986_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056941
            [channelDTime] => 1742056985
            [channelDuration] => 44
            [cSTime] => 1742056964
            [cETime] => 1742056985
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08095076625
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056985
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056948
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2856
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.48000000000442
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29867.279999998456
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2856
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.48000000000442
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95550.40000000889
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056986
{"compaign_id":"36075","contact_id":"7033","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7033","uid":"u595","unique_id":"36075_7033_138-u595","ivrId":"3158","channelOTime":1742056963,"channelDTime":1742056985,"channelDuration":22,"cSTime":1742056970,"cETime":1742056985,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07975507638","server_ip":"118.185.137.196","insertTime":1742056985,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056964,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7033
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7033
            [uid] => u595
            [unique_id] => 36075_7033_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056963
            [channelDTime] => 1742056985
            [channelDuration] => 22
            [cSTime] => 1742056970
            [cETime] => 1742056985
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07975507638
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056985
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056964
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2858
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.64000000000442
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29867.119999998456
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2858
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.64000000000442
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95550.24000000888
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056986
{"compaign_id":"36075","contact_id":"7052","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7052","uid":"u595","unique_id":"36075_7052_138-u595","ivrId":"3158","channelOTime":1742056974,"channelDTime":1742056985,"channelDuration":11,"cSTime":1742056981,"cETime":1742056985,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07032874544","server_ip":"118.185.137.196","insertTime":1742056985,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056975,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7052
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7052
            [uid] => u595
            [unique_id] => 36075_7052_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056974
            [channelDTime] => 1742056985
            [channelDuration] => 11
            [cSTime] => 1742056981
            [cETime] => 1742056985
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07032874544
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056985
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056975
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2859
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.72000000000443
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29867.039999998455
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2859
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.72000000000443
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95550.16000000888
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056987
{"compaign_id":"36075","contact_id":"7037","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7037","uid":"u595","unique_id":"36075_7037_138-u595","ivrId":"3158","channelOTime":1742056963,"channelDTime":1742056986,"channelDuration":23,"cSTime":1742056978,"cETime":1742056986,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09562711925","server_ip":"118.185.137.196","insertTime":1742056986,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056966,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7037
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7037
            [uid] => u595
            [unique_id] => 36075_7037_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056963
            [channelDTime] => 1742056986
            [channelDuration] => 23
            [cSTime] => 1742056978
            [cETime] => 1742056986
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09562711925
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056986
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056966
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2860
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.80000000000445
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29866.959999998453
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2860
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.80000000000445
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95550.08000000888
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056988
{"compaign_id":"36075","contact_id":"7000","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7000","uid":"u595","unique_id":"36075_7000_138-u595","ivrId":"3158","channelOTime":1742056956,"channelDTime":1742056987,"channelDuration":31,"cSTime":1742056971,"cETime":1742056987,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09836630250","server_ip":"118.185.137.196","insertTime":1742056987,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056961,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7000
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7000
            [uid] => u595
            [unique_id] => 36075_7000_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056956
            [channelDTime] => 1742056987
            [channelDuration] => 31
            [cSTime] => 1742056971
            [cETime] => 1742056987
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09836630250
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056987
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056961
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2861
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.88000000000446
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29866.87999999845
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2861
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 228.88000000000446
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95550.00000000888
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742056988
{"compaign_id":"36075","contact_id":"7060","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7060","uid":"u595","unique_id":"36075_7060_138-u595","ivrId":"3158","channelOTime":1742056975,"channelDTime":1742056991,"channelDuration":16,"cSTime":1742056985,"cETime":1742056991,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07798990258","server_ip":"118.185.137.196","insertTime":1742056991,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056978,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7060
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7060
            [uid] => u595
            [unique_id] => 36075_7060_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056975
            [channelDTime] => 1742056991
            [channelDuration] => 16
            [cSTime] => 1742056985
            [cETime] => 1742056991
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07798990258
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056991
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056978
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2863
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.04000000000445
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29866.71999999845
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2863
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.04000000000445
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95549.84000000887
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056993
{"compaign_id":"36075","contact_id":"7089","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7089","uid":"u595","unique_id":"36075_7089_138-u595","ivrId":"3158","channelOTime":1742056981,"channelDTime":1742056995,"channelDuration":14,"cSTime":1742056989,"cETime":1742056995,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07666483434","server_ip":"118.185.137.196","insertTime":1742056995,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056982,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7089
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7089
            [uid] => u595
            [unique_id] => 36075_7089_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056981
            [channelDTime] => 1742056995
            [channelDuration] => 14
            [cSTime] => 1742056989
            [cETime] => 1742056995
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07666483434
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056995
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056982
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2864
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.12000000000447
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29866.63999999845
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2864
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.12000000000447
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95549.76000000887
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742056997
{"compaign_id":"36075","contact_id":"7074","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7074","uid":"u595","unique_id":"36075_7074_138-u595","ivrId":"3158","channelOTime":1742056978,"channelDTime":1742056999,"channelDuration":21,"cSTime":1742056987,"cETime":1742056999,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08130864918","server_ip":"118.185.137.196","insertTime":1742056999,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056981,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7074
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7074
            [uid] => u595
            [unique_id] => 36075_7074_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056978
            [channelDTime] => 1742056999
            [channelDuration] => 21
            [cSTime] => 1742056987
            [cETime] => 1742056999
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08130864918
            [server_ip] => 118.185.137.196
            [insertTime] => 1742056999
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056981
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2865
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.20000000000448
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29866.559999998448
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2865
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.20000000000448
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95549.68000000887
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057000
{"compaign_id":"36075","contact_id":"7005","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7005","uid":"u595","unique_id":"36075_7005_138-u595","ivrId":"3158","channelOTime":1742056957,"channelDTime":1742057001,"channelDuration":44,"cSTime":1742056978,"cETime":1742057001,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07385880266","server_ip":"118.185.137.196","insertTime":1742057001,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056960,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056978,"endTime":1742057001,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7005
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7005
            [uid] => u595
            [unique_id] => 36075_7005_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056957
            [channelDTime] => 1742057001
            [channelDuration] => 44
            [cSTime] => 1742056978
            [cETime] => 1742057001
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07385880266
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057001
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056960
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056978
                                    [endTime] => 1742057001
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2866
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.2800000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29866.479999998446
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2866
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.2800000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95549.60000000887
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057003
{"compaign_id":"36075","contact_id":"7097","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7097","uid":"u595","unique_id":"36075_7097_138-u595","ivrId":"3158","channelOTime":1742056983,"channelDTime":1742057001,"channelDuration":18,"cSTime":1742056997,"cETime":1742057001,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09829636786","server_ip":"118.185.137.196","insertTime":1742057001,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056987,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7097
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7097
            [uid] => u595
            [unique_id] => 36075_7097_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056983
            [channelDTime] => 1742057001
            [channelDuration] => 18
            [cSTime] => 1742056997
            [cETime] => 1742057001
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09829636786
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057001
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056987
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2868
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.4400000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29866.319999998446
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2868
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.4400000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95549.44000000886
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057003
{"compaign_id":"36075","contact_id":"7058","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7058","uid":"u595","unique_id":"36075_7058_138-u595","ivrId":"3158","channelOTime":1742056975,"channelDTime":1742057002,"channelDuration":27,"cSTime":1742056987,"cETime":1742057002,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08521718470","server_ip":"118.185.137.196","insertTime":1742057002,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056977,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7058
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7058
            [uid] => u595
            [unique_id] => 36075_7058_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056975
            [channelDTime] => 1742057002
            [channelDuration] => 27
            [cSTime] => 1742056987
            [cETime] => 1742057002
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08521718470
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057002
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056977
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2869
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.5200000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29866.239999998445
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2869
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.5200000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95549.36000000886
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057003
{"compaign_id":"36075","contact_id":"7064","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7064","uid":"u595","unique_id":"36075_7064_138-u595","ivrId":"3158","channelOTime":1742056976,"channelDTime":1742057007,"channelDuration":31,"cSTime":1742056984,"cETime":1742057007,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08805388146","server_ip":"118.185.137.196","insertTime":1742057007,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056983,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056984,"endTime":1742057007,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7064
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7064
            [uid] => u595
            [unique_id] => 36075_7064_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056976
            [channelDTime] => 1742057007
            [channelDuration] => 31
            [cSTime] => 1742056984
            [cETime] => 1742057007
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08805388146
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057007
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056983
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056984
                                    [endTime] => 1742057007
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2870
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.6000000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29866.159999998443
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2870
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.6000000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95549.28000000886
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057009
{"compaign_id":"36075","contact_id":"7095","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7095","uid":"u595","unique_id":"36075_7095_138-u595","ivrId":"3158","channelOTime":1742056982,"channelDTime":1742057011,"channelDuration":29,"cSTime":1742056999,"cETime":1742057011,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08638011780","server_ip":"118.185.137.196","insertTime":1742057011,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056985,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7095
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7095
            [uid] => u595
            [unique_id] => 36075_7095_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056982
            [channelDTime] => 1742057011
            [channelDuration] => 29
            [cSTime] => 1742056999
            [cETime] => 1742057011
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08638011780
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057011
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056985
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2872
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.7600000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29865.999999998443
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2872
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.7600000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95549.12000000886
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057012
{"compaign_id":"36075","contact_id":"7088","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7088","uid":"u595","unique_id":"36075_7088_138-u595","ivrId":"3158","channelOTime":1742056981,"channelDTime":1742057013,"channelDuration":32,"cSTime":1742056989,"cETime":1742057013,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09113034459","server_ip":"118.185.137.196","insertTime":1742057013,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056985,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056989,"endTime":1742057013,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7088
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7088
            [uid] => u595
            [unique_id] => 36075_7088_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056981
            [channelDTime] => 1742057013
            [channelDuration] => 32
            [cSTime] => 1742056989
            [cETime] => 1742057013
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09113034459
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057013
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056985
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056989
                                    [endTime] => 1742057013
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2873
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.84000000000452
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29865.91999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2873
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 229.84000000000452
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95549.04000000886
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057014
{"compaign_id":"36075","contact_id":"7082","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7082","uid":"u595","unique_id":"36075_7082_138-u595","ivrId":"3158","channelOTime":1742056980,"channelDTime":1742057013,"channelDuration":33,"cSTime":1742056988,"cETime":1742057013,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08860792945","server_ip":"118.185.137.196","insertTime":1742057013,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056982,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056988,"endTime":1742057007,"duration":19}],"#3":[{"startTime":1742057007,"endTime":1742057013,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7082
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7082
            [uid] => u595
            [unique_id] => 36075_7082_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056980
            [channelDTime] => 1742057013
            [channelDuration] => 33
            [cSTime] => 1742056988
            [cETime] => 1742057013
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08860792945
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057013
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056982
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056988
                                    [endTime] => 1742057007
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057007
                                    [endTime] => 1742057013
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2875
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.00000000000452
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29865.75999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2875
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.00000000000452
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95548.88000000885
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057015
{"compaign_id":"36075","contact_id":"7071","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7071","uid":"u595","unique_id":"36075_7071_138-u595","ivrId":"3158","channelOTime":1742056977,"channelDTime":1742057014,"channelDuration":37,"cSTime":1742056991,"cETime":1742057014,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09339119193","server_ip":"118.185.137.196","insertTime":1742057014,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056980,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056991,"endTime":1742057014,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7071
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7071
            [uid] => u595
            [unique_id] => 36075_7071_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056977
            [channelDTime] => 1742057014
            [channelDuration] => 37
            [cSTime] => 1742056991
            [cETime] => 1742057014
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09339119193
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057014
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056980
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056991
                                    [endTime] => 1742057014
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2877
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.16000000000452
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29865.59999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2877
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.16000000000452
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95548.72000000885
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057016
{"compaign_id":"36075","contact_id":"7075","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7075","uid":"u595","unique_id":"36075_7075_138-u595","ivrId":"3158","channelOTime":1742056978,"channelDTime":1742057015,"channelDuration":37,"cSTime":1742056992,"cETime":1742057015,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08882455279","server_ip":"118.185.137.196","insertTime":1742057015,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056981,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742056992,"endTime":1742057015,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7075
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7075
            [uid] => u595
            [unique_id] => 36075_7075_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056978
            [channelDTime] => 1742057015
            [channelDuration] => 37
            [cSTime] => 1742056992
            [cETime] => 1742057015
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08882455279
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057015
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056981
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742056992
                                    [endTime] => 1742057015
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2879
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.3200000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29865.43999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2879
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.3200000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95548.56000000885
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057017
{"compaign_id":"36075","contact_id":"7073","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7073","uid":"u595","unique_id":"36075_7073_138-u595","ivrId":"3158","channelOTime":1742056978,"channelDTime":1742057016,"channelDuration":38,"cSTime":1742057000,"cETime":1742057016,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09382379679","server_ip":"118.185.137.196","insertTime":1742057016,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742056980,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7073
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7073
            [uid] => u595
            [unique_id] => 36075_7073_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742056978
            [channelDTime] => 1742057016
            [channelDuration] => 38
            [cSTime] => 1742057000
            [cETime] => 1742057016
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09382379679
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057016
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742056980
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2881
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.4800000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29865.27999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2881
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.4800000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95548.40000000884
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057018
{"compaign_id":"36075","contact_id":"7121","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7121","uid":"u595","unique_id":"36075_7121_138-u595","ivrId":"3158","channelOTime":1742057021,"channelDTime":1742057031,"channelDuration":10,"cSTime":1742057029,"cETime":1742057031,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06280078530","server_ip":"118.185.137.196","insertTime":1742057031,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057024,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7121
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7121
            [uid] => u595
            [unique_id] => 36075_7121_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057021
            [channelDTime] => 1742057031
            [channelDuration] => 10
            [cSTime] => 1742057029
            [cETime] => 1742057031
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06280078530
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057031
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057024
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2883
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.6400000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29865.119999998442
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2883
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.6400000000045
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95548.24000000884
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057033
{"compaign_id":"36075","contact_id":"7150","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7150","uid":"u595","unique_id":"36075_7150_138-u595","ivrId":"3158","channelOTime":1742057029,"channelDTime":1742057039,"channelDuration":10,"cSTime":1742057036,"cETime":1742057039,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07708836544","server_ip":"118.185.137.196","insertTime":1742057039,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057031,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7150
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7150
            [uid] => u595
            [unique_id] => 36075_7150_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057029
            [channelDTime] => 1742057039
            [channelDuration] => 10
            [cSTime] => 1742057036
            [cETime] => 1742057039
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07708836544
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057039
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057031
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2884
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.72000000000452
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29865.03999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2884
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.72000000000452
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95548.16000000884
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057041
2025-03-15 22:14:02[LOG]Starting Cron
2025-03-15 22:14:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"7107","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7107","uid":"u595","unique_id":"36075_7107_138-u595","ivrId":"3158","channelOTime":1742057019,"channelDTime":1742057041,"channelDuration":22,"cSTime":1742057040,"cETime":1742057041,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09156820940","server_ip":"118.185.137.196","insertTime":1742057041,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057021,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7107
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7107
            [uid] => u595
            [unique_id] => 36075_7107_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057019
            [channelDTime] => 1742057041
            [channelDuration] => 22
            [cSTime] => 1742057040
            [cETime] => 1742057041
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09156820940
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057041
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057021
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2885
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.80000000000453
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29864.95999999844
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2885
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.80000000000453
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95548.08000000883
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057043
{"compaign_id":"36075","contact_id":"7108","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7108","uid":"u595","unique_id":"36075_7108_138-u595","ivrId":"3158","channelOTime":1742057019,"channelDTime":1742057042,"channelDuration":23,"cSTime":1742057026,"cETime":1742057042,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09525176634","server_ip":"118.185.137.196","insertTime":1742057042,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057024,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7108
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7108
            [uid] => u595
            [unique_id] => 36075_7108_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057019
            [channelDTime] => 1742057042
            [channelDuration] => 23
            [cSTime] => 1742057026
            [cETime] => 1742057042
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09525176634
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057042
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057024
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2886
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.88000000000454
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29864.879999998437
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2886
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 230.88000000000454
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95548.00000000883
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057043
{"compaign_id":"36075","contact_id":"7104","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7104","uid":"u595","unique_id":"36075_7104_138-u595","ivrId":"3158","channelOTime":1742057018,"channelDTime":1742057042,"channelDuration":24,"cSTime":1742057030,"cETime":1742057042,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08302198810","server_ip":"118.185.137.196","insertTime":1742057042,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057021,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7104
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7104
            [uid] => u595
            [unique_id] => 36075_7104_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057018
            [channelDTime] => 1742057042
            [channelDuration] => 24
            [cSTime] => 1742057030
            [cETime] => 1742057042
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08302198810
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057042
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057021
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2888
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.04000000000454
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29864.719999998437
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2888
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.04000000000454
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95547.84000000883
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057044
{"compaign_id":"36075","contact_id":"7169","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7169","uid":"u595","unique_id":"36075_7169_138-u595","ivrId":"3158","channelOTime":1742057033,"channelDTime":1742057043,"channelDuration":10,"cSTime":1742057040,"cETime":1742057043,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08218190530","server_ip":"118.185.137.196","insertTime":1742057043,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057035,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7169
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7169
            [uid] => u595
            [unique_id] => 36075_7169_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057033
            [channelDTime] => 1742057043
            [channelDuration] => 10
            [cSTime] => 1742057040
            [cETime] => 1742057043
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08218190530
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057043
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057035
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2889
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.12000000000455
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29864.639999998435
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2889
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.12000000000455
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95547.76000000883
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057045
{"compaign_id":"36075","contact_id":"7118","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7118","uid":"u595","unique_id":"36075_7118_138-u595","ivrId":"3158","channelOTime":1742057021,"channelDTime":1742057043,"channelDuration":22,"cSTime":1742057035,"cETime":1742057043,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09110771879","server_ip":"118.185.137.196","insertTime":1742057043,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057023,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7118
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7118
            [uid] => u595
            [unique_id] => 36075_7118_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057021
            [channelDTime] => 1742057043
            [channelDuration] => 22
            [cSTime] => 1742057035
            [cETime] => 1742057043
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09110771879
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057043
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057023
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2890
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.20000000000456
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29864.559999998433
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2890
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.20000000000456
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95547.68000000883
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057045
{"compaign_id":"36075","contact_id":"7103","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7103","uid":"u595","unique_id":"36075_7103_138-u595","ivrId":"3158","channelOTime":1742057018,"channelDTime":1742057044,"channelDuration":26,"cSTime":1742057025,"cETime":1742057044,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08689860501","server_ip":"118.185.137.196","insertTime":1742057044,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057020,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7103
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7103
            [uid] => u595
            [unique_id] => 36075_7103_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057018
            [channelDTime] => 1742057044
            [channelDuration] => 26
            [cSTime] => 1742057025
            [cETime] => 1742057044
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08689860501
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057044
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057020
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2891
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.28000000000458
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29864.47999999843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2891
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.28000000000458
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95547.60000000882
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057045
{"compaign_id":"36075","contact_id":"7106","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7106","uid":"u595","unique_id":"36075_7106_138-u595","ivrId":"3158","channelOTime":1742057018,"channelDTime":1742057044,"channelDuration":26,"cSTime":1742057035,"cETime":1742057044,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09404100311","server_ip":"118.185.137.196","insertTime":1742057044,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057020,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7106
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7106
            [uid] => u595
            [unique_id] => 36075_7106_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057018
            [channelDTime] => 1742057044
            [channelDuration] => 26
            [cSTime] => 1742057035
            [cETime] => 1742057044
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09404100311
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057044
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057020
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2893
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.44000000000457
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29864.31999999843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2893
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.44000000000457
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95547.44000000882
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057046
{"compaign_id":"36075","contact_id":"7146","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7146","uid":"u595","unique_id":"36075_7146_138-u595","ivrId":"3158","channelOTime":1742057026,"channelDTime":1742057044,"channelDuration":18,"cSTime":1742057036,"cETime":1742057044,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09015158371","server_ip":"118.185.137.196","insertTime":1742057044,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057029,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7146
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7146
            [uid] => u595
            [unique_id] => 36075_7146_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057026
            [channelDTime] => 1742057044
            [channelDuration] => 18
            [cSTime] => 1742057036
            [cETime] => 1742057044
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09015158371
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057044
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057029
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2894
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.5200000000046
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29864.23999999843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2894
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.5200000000046
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95547.36000000882
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057046
{"compaign_id":"36075","contact_id":"7116","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7116","uid":"u595","unique_id":"36075_7116_138-u595","ivrId":"3158","channelOTime":1742057020,"channelDTime":1742057048,"channelDuration":28,"cSTime":1742057039,"cETime":1742057048,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08660195363","server_ip":"118.185.137.196","insertTime":1742057048,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057023,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7116
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7116
            [uid] => u595
            [unique_id] => 36075_7116_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057020
            [channelDTime] => 1742057048
            [channelDuration] => 28
            [cSTime] => 1742057039
            [cETime] => 1742057048
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08660195363
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057048
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057023
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2895
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.6000000000046
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29864.15999999843
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2895
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.6000000000046
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95547.28000000882
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057049
{"compaign_id":"36075","contact_id":"7156","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7156","uid":"u595","unique_id":"36075_7156_138-u595","ivrId":"3158","channelOTime":1742057030,"channelDTime":1742057048,"channelDuration":18,"cSTime":1742057037,"cETime":1742057048,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09905745599","server_ip":"118.185.137.196","insertTime":1742057048,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057032,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7156
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7156
            [uid] => u595
            [unique_id] => 36075_7156_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057030
            [channelDTime] => 1742057048
            [channelDuration] => 18
            [cSTime] => 1742057037
            [cETime] => 1742057048
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09905745599
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057048
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057032
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2896
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.6800000000046
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29864.079999998427
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2896
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.6800000000046
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95547.20000000882
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057050
{"compaign_id":"36075","contact_id":"7147","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7147","uid":"u595","unique_id":"36075_7147_138-u595","ivrId":"3158","channelOTime":1742057027,"channelDTime":1742057049,"channelDuration":22,"cSTime":1742057039,"cETime":1742057049,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09971516495","server_ip":"118.185.137.196","insertTime":1742057049,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057029,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7147
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7147
            [uid] => u595
            [unique_id] => 36075_7147_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057027
            [channelDTime] => 1742057049
            [channelDuration] => 22
            [cSTime] => 1742057039
            [cETime] => 1742057049
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09971516495
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057049
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057029
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2897
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.76000000000462
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29863.999999998425
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2897
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.76000000000462
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95547.12000000881
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057051
{"compaign_id":"36075","contact_id":"7112","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7112","uid":"u595","unique_id":"36075_7112_138-u595","ivrId":"3158","channelOTime":1742057020,"channelDTime":1742057050,"channelDuration":30,"cSTime":1742057027,"cETime":1742057050,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09686087288","server_ip":"118.185.137.196","insertTime":1742057050,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057021,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057027,"endTime":1742057050,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7112
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7112
            [uid] => u595
            [unique_id] => 36075_7112_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057020
            [channelDTime] => 1742057050
            [channelDuration] => 30
            [cSTime] => 1742057027
            [cETime] => 1742057050
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09686087288
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057050
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057021
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057027
                                    [endTime] => 1742057050
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2898
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.84000000000464
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29863.919999998423
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2898
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 231.84000000000464
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95547.04000000881
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057052
{"compaign_id":"36075","contact_id":"7114","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7114","uid":"u595","unique_id":"36075_7114_138-u595","ivrId":"3158","channelOTime":1742057020,"channelDTime":1742057050,"channelDuration":30,"cSTime":1742057045,"cETime":1742057050,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08197373877","server_ip":"118.185.137.196","insertTime":1742057050,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057022,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7114
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7114
            [uid] => u595
            [unique_id] => 36075_7114_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057020
            [channelDTime] => 1742057050
            [channelDuration] => 30
            [cSTime] => 1742057045
            [cETime] => 1742057050
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08197373877
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057050
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057022
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2900
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.00000000000463
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29863.759999998423
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2900
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.00000000000463
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95546.88000000881
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057052
{"compaign_id":"36075","contact_id":"7115","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7115","uid":"u595","unique_id":"36075_7115_138-u595","ivrId":"3158","channelOTime":1742057020,"channelDTime":1742057050,"channelDuration":30,"cSTime":1742057030,"cETime":1742057050,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09553798525","server_ip":"118.185.137.196","insertTime":1742057050,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057022,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7115
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7115
            [uid] => u595
            [unique_id] => 36075_7115_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057020
            [channelDTime] => 1742057050
            [channelDuration] => 30
            [cSTime] => 1742057030
            [cETime] => 1742057050
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09553798525
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057050
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057022
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2901
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.08000000000465
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29863.67999999842
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2901
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.08000000000465
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95546.8000000088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057052
{"compaign_id":"36075","contact_id":"7175","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7175","uid":"u595","unique_id":"36075_7175_138-u595","ivrId":"3158","channelOTime":1742057034,"channelDTime":1742057050,"channelDuration":16,"cSTime":1742057048,"cETime":1742057050,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08792379610","server_ip":"118.185.137.196","insertTime":1742057050,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057036,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7175
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7175
            [uid] => u595
            [unique_id] => 36075_7175_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057034
            [channelDTime] => 1742057050
            [channelDuration] => 16
            [cSTime] => 1742057048
            [cETime] => 1742057050
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08792379610
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057050
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057036
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2903
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.24000000000464
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29863.51999999842
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2903
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.24000000000464
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95546.6400000088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057052
{"compaign_id":"36075","contact_id":"7172","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7172","uid":"u595","unique_id":"36075_7172_138-u595","ivrId":"3158","channelOTime":1742057033,"channelDTime":1742057053,"channelDuration":20,"cSTime":1742057043,"cETime":1742057053,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07003459674","server_ip":"118.185.137.196","insertTime":1742057053,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057036,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7172
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7172
            [uid] => u595
            [unique_id] => 36075_7172_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057033
            [channelDTime] => 1742057053
            [channelDuration] => 20
            [cSTime] => 1742057043
            [cETime] => 1742057053
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07003459674
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057053
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057036
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2904
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.32000000000465
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29863.43999999842
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2904
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.32000000000465
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95546.5600000088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057055
{"compaign_id":"36075","contact_id":"7210","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7210","uid":"u595","unique_id":"36075_7210_138-u595","ivrId":"3158","channelOTime":1742057043,"channelDTime":1742057054,"channelDuration":11,"cSTime":1742057050,"cETime":1742057054,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08097978700","server_ip":"118.185.137.196","insertTime":1742057054,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057044,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7210
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7210
            [uid] => u595
            [unique_id] => 36075_7210_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057043
            [channelDTime] => 1742057054
            [channelDuration] => 11
            [cSTime] => 1742057050
            [cETime] => 1742057054
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08097978700
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057054
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057044
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2905
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.40000000000467
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29863.359999998418
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2905
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.40000000000467
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95546.4800000088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057056
{"compaign_id":"36075","contact_id":"7168","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7168","uid":"u595","unique_id":"36075_7168_138-u595","ivrId":"3158","channelOTime":1742057033,"channelDTime":1742057055,"channelDuration":22,"cSTime":1742057045,"cETime":1742057055,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09330944782","server_ip":"118.185.137.196","insertTime":1742057055,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057034,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7168
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7168
            [uid] => u595
            [unique_id] => 36075_7168_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057033
            [channelDTime] => 1742057055
            [channelDuration] => 22
            [cSTime] => 1742057045
            [cETime] => 1742057055
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09330944782
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057055
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057034
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2906
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.48000000000468
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29863.279999998416
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2906
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.48000000000468
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95546.4000000088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057056
{"compaign_id":"36075","contact_id":"7148","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7148","uid":"u595","unique_id":"36075_7148_138-u595","ivrId":"3158","channelOTime":1742057027,"channelDTime":1742057055,"channelDuration":28,"cSTime":1742057042,"cETime":1742057055,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07298664140","server_ip":"118.185.137.196","insertTime":1742057055,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057030,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7148
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7148
            [uid] => u595
            [unique_id] => 36075_7148_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057027
            [channelDTime] => 1742057055
            [channelDuration] => 28
            [cSTime] => 1742057042
            [cETime] => 1742057055
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07298664140
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057055
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057030
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2907
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.5600000000047
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29863.199999998415
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2907
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.5600000000047
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95546.3200000088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057057
{"compaign_id":"36075","contact_id":"7215","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7215","uid":"u595","unique_id":"36075_7215_138-u595","ivrId":"3158","channelOTime":1742057044,"channelDTime":1742057055,"channelDuration":11,"cSTime":1742057051,"cETime":1742057055,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08617649979","server_ip":"118.185.137.196","insertTime":1742057055,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057045,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7215
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7215
            [uid] => u595
            [unique_id] => 36075_7215_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057044
            [channelDTime] => 1742057055
            [channelDuration] => 11
            [cSTime] => 1742057051
            [cETime] => 1742057055
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08617649979
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057055
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057045
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2908
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.6400000000047
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29863.119999998413
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2908
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.6400000000047
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95546.2400000088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057057
{"compaign_id":"36075","contact_id":"7202","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7202","uid":"u595","unique_id":"36075_7202_138-u595","ivrId":"3158","channelOTime":1742057041,"channelDTime":1742057056,"channelDuration":15,"cSTime":1742057052,"cETime":1742057056,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07982260676","server_ip":"118.185.137.196","insertTime":1742057056,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057042,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7202
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7202
            [uid] => u595
            [unique_id] => 36075_7202_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057041
            [channelDTime] => 1742057056
            [channelDuration] => 15
            [cSTime] => 1742057052
            [cETime] => 1742057056
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07982260676
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057056
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057042
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2909
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.72000000000472
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29863.03999999841
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2909
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.72000000000472
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95546.1600000088
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057058
{"compaign_id":"36075","contact_id":"7176","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7176","uid":"u595","unique_id":"36075_7176_138-u595","ivrId":"3158","channelOTime":1742057034,"channelDTime":1742057056,"channelDuration":22,"cSTime":1742057044,"cETime":1742057056,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09178111743","server_ip":"118.185.137.196","insertTime":1742057056,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057037,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7176
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7176
            [uid] => u595
            [unique_id] => 36075_7176_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057034
            [channelDTime] => 1742057056
            [channelDuration] => 22
            [cSTime] => 1742057044
            [cETime] => 1742057056
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09178111743
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057056
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057037
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2910
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.80000000000473
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29862.95999999841
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2910
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.80000000000473
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95546.08000000879
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057058
{"compaign_id":"36075","contact_id":"7201","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7201","uid":"u595","unique_id":"36075_7201_138-u595","ivrId":"3158","channelOTime":1742057041,"channelDTime":1742057057,"channelDuration":16,"cSTime":1742057050,"cETime":1742057057,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09555290920","server_ip":"118.185.137.196","insertTime":1742057057,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057043,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7201
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7201
            [uid] => u595
            [unique_id] => 36075_7201_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057041
            [channelDTime] => 1742057057
            [channelDuration] => 16
            [cSTime] => 1742057050
            [cETime] => 1742057057
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09555290920
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057057
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057043
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2911
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.88000000000474
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29862.879999998408
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2911
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.88000000000474
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95546.00000000879
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057059
{"compaign_id":"36075","contact_id":"7139","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7139","uid":"u595","unique_id":"36075_7139_138-u595","ivrId":"3158","channelOTime":1742057025,"channelDTime":1742057057,"channelDuration":32,"cSTime":1742057035,"cETime":1742057057,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07002841375","server_ip":"118.185.137.196","insertTime":1742057057,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057027,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057035,"endTime":1742057059,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7139
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7139
            [uid] => u595
            [unique_id] => 36075_7139_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057025
            [channelDTime] => 1742057057
            [channelDuration] => 32
            [cSTime] => 1742057035
            [cETime] => 1742057057
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07002841375
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057057
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057027
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057035
                                    [endTime] => 1742057059
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2912
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.96000000000475
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29862.799999998406
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2912
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 232.96000000000475
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95545.92000000879
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057059
{"compaign_id":"36075","contact_id":"7134","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7134","uid":"u595","unique_id":"36075_7134_138-u595","ivrId":"3158","channelOTime":1742057024,"channelDTime":1742057059,"channelDuration":35,"cSTime":1742057035,"cETime":1742057059,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09501391683","server_ip":"118.185.137.196","insertTime":1742057059,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057027,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057035,"endTime":1742057059,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7134
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7134
            [uid] => u595
            [unique_id] => 36075_7134_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057024
            [channelDTime] => 1742057059
            [channelDuration] => 35
            [cSTime] => 1742057035
            [cETime] => 1742057059
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09501391683
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057059
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057027
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057035
                                    [endTime] => 1742057059
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2914
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.12000000000475
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29862.639999998406
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2914
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.12000000000475
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95545.76000000878
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057060
{"compaign_id":"36075","contact_id":"7159","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7159","uid":"u595","unique_id":"36075_7159_138-u595","ivrId":"3158","channelOTime":1742057031,"channelDTime":1742057059,"channelDuration":28,"cSTime":1742057041,"cETime":1742057059,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09414274262","server_ip":"118.185.137.196","insertTime":1742057059,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057033,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7159
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7159
            [uid] => u595
            [unique_id] => 36075_7159_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057031
            [channelDTime] => 1742057059
            [channelDuration] => 28
            [cSTime] => 1742057041
            [cETime] => 1742057059
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09414274262
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057059
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057033
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2916
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.28000000000475
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29862.479999998406
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2916
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.28000000000475
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95545.60000000878
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057061
{"compaign_id":"36075","contact_id":"7225","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7225","uid":"u595","unique_id":"36075_7225_138-u595","ivrId":"3158","channelOTime":1742057046,"channelDTime":1742057060,"channelDuration":14,"cSTime":1742057057,"cETime":1742057060,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09741249686","server_ip":"118.185.137.196","insertTime":1742057060,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057050,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7225
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7225
            [uid] => u595
            [unique_id] => 36075_7225_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057046
            [channelDTime] => 1742057060
            [channelDuration] => 14
            [cSTime] => 1742057057
            [cETime] => 1742057060
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09741249686
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057060
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057050
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2918
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.44000000000474
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29862.319999998406
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2918
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.44000000000474
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95545.44000000878
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057061
{"compaign_id":"36075","contact_id":"7136","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7136","uid":"u595","unique_id":"36075_7136_138-u595","ivrId":"3158","channelOTime":1742057024,"channelDTime":1742057060,"channelDuration":36,"cSTime":1742057037,"cETime":1742057060,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08077002713","server_ip":"118.185.137.196","insertTime":1742057060,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057026,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057037,"endTime":1742057060,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7136
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7136
            [uid] => u595
            [unique_id] => 36075_7136_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057024
            [channelDTime] => 1742057060
            [channelDuration] => 36
            [cSTime] => 1742057037
            [cETime] => 1742057060
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08077002713
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057060
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057026
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057037
                                    [endTime] => 1742057060
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2919
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.52000000000476
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29862.239999998405
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2919
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.52000000000476
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95545.36000000878
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057062
{"compaign_id":"36075","contact_id":"7239","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7239","uid":"u595","unique_id":"36075_7239_138-u595","ivrId":"3158","channelOTime":1742057048,"channelDTime":1742057062,"channelDuration":14,"cSTime":1742057059,"cETime":1742057062,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07389308346","server_ip":"118.185.137.196","insertTime":1742057062,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057051,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7239
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7239
            [uid] => u595
            [unique_id] => 36075_7239_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057048
            [channelDTime] => 1742057062
            [channelDuration] => 14
            [cSTime] => 1742057059
            [cETime] => 1742057062
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07389308346
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057062
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057051
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2921
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.68000000000475
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29862.079999998405
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2921
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.68000000000475
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95545.20000000877
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057064
{"compaign_id":"36075","contact_id":"7126","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7126","uid":"u595","unique_id":"36075_7126_138-u595","ivrId":"3158","channelOTime":1742057022,"channelDTime":1742057063,"channelDuration":41,"cSTime":1742057050,"cETime":1742057063,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09617068182","server_ip":"118.185.137.196","insertTime":1742057063,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057025,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7126
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7126
            [uid] => u595
            [unique_id] => 36075_7126_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057022
            [channelDTime] => 1742057063
            [channelDuration] => 41
            [cSTime] => 1742057050
            [cETime] => 1742057063
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09617068182
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057063
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057025
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2922
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.76000000000477
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.999999998403
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2922
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.76000000000477
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95545.12000000877
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057065
{"compaign_id":"36075","contact_id":"7252","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7252","uid":"u595","unique_id":"36075_7252_138-u595","ivrId":"3158","channelOTime":1742057053,"channelDTime":1742057063,"channelDuration":10,"cSTime":1742057059,"cETime":1742057063,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09773040706","server_ip":"118.185.137.196","insertTime":1742057063,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057055,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7252
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7252
            [uid] => u595
            [unique_id] => 36075_7252_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057053
            [channelDTime] => 1742057063
            [channelDuration] => 10
            [cSTime] => 1742057059
            [cETime] => 1742057063
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09773040706
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057063
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057055
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2923
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.84000000000478
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.9199999984
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2923
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.84000000000478
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95545.04000000877
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057065
{"compaign_id":"36075","contact_id":"7243","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7243","uid":"u595","unique_id":"36075_7243_138-u595","ivrId":"3158","channelOTime":1742057049,"channelDTime":1742057064,"channelDuration":15,"cSTime":1742057057,"cETime":1742057064,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08259935022","server_ip":"118.185.137.196","insertTime":1742057064,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057053,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7243
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7243
            [uid] => u595
            [unique_id] => 36075_7243_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057049
            [channelDTime] => 1742057064
            [channelDuration] => 15
            [cSTime] => 1742057057
            [cETime] => 1742057064
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08259935022
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057064
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057053
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2924
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.9200000000048
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.8399999984
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2924
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 233.9200000000048
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95544.96000000877
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057065
{"compaign_id":"36075","contact_id":"7260","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7260","uid":"u595","unique_id":"36075_7260_138-u595","ivrId":"3158","channelOTime":1742057054,"channelDTime":1742057065,"channelDuration":11,"cSTime":1742057061,"cETime":1742057065,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08408060593","server_ip":"118.185.137.196","insertTime":1742057065,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057056,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7260
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7260
            [uid] => u595
            [unique_id] => 36075_7260_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057054
            [channelDTime] => 1742057065
            [channelDuration] => 11
            [cSTime] => 1742057061
            [cETime] => 1742057065
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08408060593
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057065
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057056
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2925
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.0000000000048
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.759999998398
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2925
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.0000000000048
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95544.88000000876
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057067
{"compaign_id":"36075","contact_id":"7194","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7194","uid":"u595","unique_id":"36075_7194_138-u595","ivrId":"3158","channelOTime":1742057038,"channelDTime":1742057067,"channelDuration":29,"cSTime":1742057052,"cETime":1742057067,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08010512044","server_ip":"118.185.137.196","insertTime":1742057067,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057040,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7194
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7194
            [uid] => u595
            [unique_id] => 36075_7194_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057038
            [channelDTime] => 1742057067
            [channelDuration] => 29
            [cSTime] => 1742057052
            [cETime] => 1742057067
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08010512044
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057067
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057040
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2926
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.08000000000482
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.679999998396
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2926
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.08000000000482
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95544.80000000876
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057069
{"compaign_id":"36075","contact_id":"7157","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7157","uid":"u595","unique_id":"36075_7157_138-u595","ivrId":"3158","channelOTime":1742057030,"channelDTime":1742057069,"channelDuration":39,"cSTime":1742057059,"cETime":1742057069,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06379311872","server_ip":"118.185.137.196","insertTime":1742057069,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057033,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7157
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7157
            [uid] => u595
            [unique_id] => 36075_7157_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057030
            [channelDTime] => 1742057069
            [channelDuration] => 39
            [cSTime] => 1742057059
            [cETime] => 1742057069
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06379311872
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057069
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057033
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2927
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.16000000000483
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.599999998394
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2927
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.16000000000483
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95544.72000000876
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057070
{"compaign_id":"36075","contact_id":"7170","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7170","uid":"u595","unique_id":"36075_7170_138-u595","ivrId":"3158","channelOTime":1742057033,"channelDTime":1742057069,"channelDuration":36,"cSTime":1742057061,"cETime":1742057069,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09845124091","server_ip":"118.185.137.196","insertTime":1742057069,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057035,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7170
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7170
            [uid] => u595
            [unique_id] => 36075_7170_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057033
            [channelDTime] => 1742057069
            [channelDuration] => 36
            [cSTime] => 1742057061
            [cETime] => 1742057069
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09845124091
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057069
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057035
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2928
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.24000000000484
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.519999998392
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2928
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.24000000000484
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95544.64000000876
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057071
{"compaign_id":"36075","contact_id":"7264","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7264","uid":"u595","unique_id":"36075_7264_138-u595","ivrId":"3158","channelOTime":1742057055,"channelDTime":1742057070,"channelDuration":15,"cSTime":1742057065,"cETime":1742057070,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09655551033","server_ip":"118.185.137.196","insertTime":1742057070,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057056,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7264
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7264
            [uid] => u595
            [unique_id] => 36075_7264_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057055
            [channelDTime] => 1742057070
            [channelDuration] => 15
            [cSTime] => 1742057065
            [cETime] => 1742057070
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09655551033
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057070
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057056
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2929
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.32000000000485
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.43999999839
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2929
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.32000000000485
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95544.56000000876
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057071
{"compaign_id":"36075","contact_id":"7248","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7248","uid":"u595","unique_id":"36075_7248_138-u595","ivrId":"3158","channelOTime":1742057050,"channelDTime":1742057070,"channelDuration":20,"cSTime":1742057060,"cETime":1742057070,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06202783006","server_ip":"118.185.137.196","insertTime":1742057070,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057052,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7248
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7248
            [uid] => u595
            [unique_id] => 36075_7248_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057050
            [channelDTime] => 1742057070
            [channelDuration] => 20
            [cSTime] => 1742057060
            [cETime] => 1742057070
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06202783006
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057070
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057052
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2930
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.40000000000487
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.35999999839
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2930
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.40000000000487
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95544.48000000876
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057072
{"compaign_id":"36075","contact_id":"7219","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7219","uid":"u595","unique_id":"36075_7219_138-u595","ivrId":"3158","channelOTime":1742057044,"channelDTime":1742057070,"channelDuration":26,"cSTime":1742057055,"cETime":1742057070,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08077208663","server_ip":"118.185.137.196","insertTime":1742057070,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057047,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7219
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7219
            [uid] => u595
            [unique_id] => 36075_7219_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057044
            [channelDTime] => 1742057070
            [channelDuration] => 26
            [cSTime] => 1742057055
            [cETime] => 1742057070
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08077208663
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057070
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057047
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2931
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.48000000000488
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.279999998387
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2931
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.48000000000488
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95544.40000000875
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057072
{"compaign_id":"36075","contact_id":"7217","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7217","uid":"u595","unique_id":"36075_7217_138-u595","ivrId":"3158","channelOTime":1742057044,"channelDTime":1742057072,"channelDuration":28,"cSTime":1742057056,"cETime":1742057072,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09301098347","server_ip":"118.185.137.196","insertTime":1742057072,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057045,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7217
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7217
            [uid] => u595
            [unique_id] => 36075_7217_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057044
            [channelDTime] => 1742057072
            [channelDuration] => 28
            [cSTime] => 1742057056
            [cETime] => 1742057072
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09301098347
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057072
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057045
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2932
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.5600000000049
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.199999998385
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2932
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.5600000000049
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95544.32000000875
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057073
{"compaign_id":"36075","contact_id":"7256","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7256","uid":"u595","unique_id":"36075_7256_138-u595","ivrId":"3158","channelOTime":1742057053,"channelDTime":1742057072,"channelDuration":19,"cSTime":1742057063,"cETime":1742057072,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09677096952","server_ip":"118.185.137.196","insertTime":1742057072,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057056,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7256
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7256
            [uid] => u595
            [unique_id] => 36075_7256_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057053
            [channelDTime] => 1742057072
            [channelDuration] => 19
            [cSTime] => 1742057063
            [cETime] => 1742057072
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09677096952
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057072
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057056
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2934
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.7200000000049
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29861.039999998386
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2934
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.7200000000049
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95544.16000000875
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057074
{"compaign_id":"36075","contact_id":"7236","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7236","uid":"u595","unique_id":"36075_7236_138-u595","ivrId":"3158","channelOTime":1742057048,"channelDTime":1742057073,"channelDuration":25,"cSTime":1742057050,"cETime":1742057073,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07543970669","server_ip":"118.185.137.196","insertTime":1742057073,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057049,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057050,"endTime":1742057073,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7236
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7236
            [uid] => u595
            [unique_id] => 36075_7236_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057048
            [channelDTime] => 1742057073
            [channelDuration] => 25
            [cSTime] => 1742057050
            [cETime] => 1742057073
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07543970669
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057073
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057049
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057050
                                    [endTime] => 1742057073
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2935
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.8000000000049
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29860.959999998384
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2935
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.8000000000049
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95544.08000000875
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057075
{"compaign_id":"36075","contact_id":"7195","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7195","uid":"u595","unique_id":"36075_7195_138-u595","ivrId":"3158","channelOTime":1742057038,"channelDTime":1742057073,"channelDuration":35,"cSTime":1742057059,"cETime":1742057073,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09657821522","server_ip":"118.185.137.196","insertTime":1742057073,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7195
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7195
            [uid] => u595
            [unique_id] => 36075_7195_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057038
            [channelDTime] => 1742057073
            [channelDuration] => 35
            [cSTime] => 1742057059
            [cETime] => 1742057073
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09657821522
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057073
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2937
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.9600000000049
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29860.799999998384
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2937
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 234.9600000000049
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95543.92000000874
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057075
{"compaign_id":"36075","contact_id":"7292","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7292","uid":"u595","unique_id":"36075_7292_138-u595","ivrId":"3158","channelOTime":1742057061,"channelDTime":1742057073,"channelDuration":12,"cSTime":1742057067,"cETime":1742057073,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06000922047","server_ip":"118.185.137.196","insertTime":1742057073,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057062,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7292
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7292
            [uid] => u595
            [unique_id] => 36075_7292_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057061
            [channelDTime] => 1742057073
            [channelDuration] => 12
            [cSTime] => 1742057067
            [cETime] => 1742057073
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06000922047
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057073
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057062
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2938
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.0400000000049
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29860.719999998382
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2938
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.0400000000049
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95543.84000000874
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057075
{"compaign_id":"36075","contact_id":"7297","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7297","uid":"u595","unique_id":"36075_7297_138-u595","ivrId":"3158","channelOTime":1742057062,"channelDTime":1742057074,"channelDuration":12,"cSTime":1742057072,"cETime":1742057074,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07795342975","server_ip":"118.185.137.196","insertTime":1742057074,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057064,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7297
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7297
            [uid] => u595
            [unique_id] => 36075_7297_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057062
            [channelDTime] => 1742057074
            [channelDuration] => 12
            [cSTime] => 1742057072
            [cETime] => 1742057074
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07795342975
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057074
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057064
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2939
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.12000000000492
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29860.63999999838
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2939
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.12000000000492
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95543.76000000874
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057075
{"compaign_id":"36075","contact_id":"7290","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7290","uid":"u595","unique_id":"36075_7290_138-u595","ivrId":"3158","channelOTime":1742057060,"channelDTime":1742057074,"channelDuration":14,"cSTime":1742057071,"cETime":1742057074,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06281388390","server_ip":"118.185.137.196","insertTime":1742057074,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057063,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7290
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7290
            [uid] => u595
            [unique_id] => 36075_7290_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057060
            [channelDTime] => 1742057074
            [channelDuration] => 14
            [cSTime] => 1742057071
            [cETime] => 1742057074
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06281388390
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057074
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057063
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2940
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.20000000000493
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29860.55999999838
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2940
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.20000000000493
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95543.68000000874
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057076
{"compaign_id":"36075","contact_id":"7287","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7287","uid":"u595","unique_id":"36075_7287_138-u595","ivrId":"3158","channelOTime":1742057060,"channelDTime":1742057074,"channelDuration":14,"cSTime":1742057067,"cETime":1742057074,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09525728418","server_ip":"118.185.137.196","insertTime":1742057074,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057062,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7287
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7287
            [uid] => u595
            [unique_id] => 36075_7287_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057060
            [channelDTime] => 1742057074
            [channelDuration] => 14
            [cSTime] => 1742057067
            [cETime] => 1742057074
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09525728418
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057074
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057062
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2941
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.28000000000495
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29860.479999998377
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2941
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.28000000000495
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95543.60000000874
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057076
{"compaign_id":"36075","contact_id":"7231","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7231","uid":"u595","unique_id":"36075_7231_138-u595","ivrId":"3158","channelOTime":1742057047,"channelDTime":1742057074,"channelDuration":27,"cSTime":1742057070,"cETime":1742057074,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07269863220","server_ip":"118.185.137.196","insertTime":1742057074,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057049,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7231
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7231
            [uid] => u595
            [unique_id] => 36075_7231_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057047
            [channelDTime] => 1742057074
            [channelDuration] => 27
            [cSTime] => 1742057070
            [cETime] => 1742057074
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07269863220
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057074
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057049
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2942
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.36000000000496
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29860.399999998375
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2942
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.36000000000496
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95543.52000000874
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057076
{"compaign_id":"36075","contact_id":"7173","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7173","uid":"u595","unique_id":"36075_7173_138-u595","ivrId":"3158","channelOTime":1742057033,"channelDTime":1742057075,"channelDuration":42,"cSTime":1742057051,"cETime":1742057075,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08126176699","server_ip":"118.185.137.196","insertTime":1742057075,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057036,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057051,"endTime":1742057075,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7173
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7173
            [uid] => u595
            [unique_id] => 36075_7173_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057033
            [channelDTime] => 1742057075
            [channelDuration] => 42
            [cSTime] => 1742057051
            [cETime] => 1742057075
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08126176699
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057075
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057036
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057051
                                    [endTime] => 1742057075
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2943
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.44000000000497
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29860.319999998374
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2943
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.44000000000497
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95543.44000000873
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057076
{"compaign_id":"36075","contact_id":"7255","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7255","uid":"u595","unique_id":"36075_7255_138-u595","ivrId":"3158","channelOTime":1742057053,"channelDTime":1742057075,"channelDuration":22,"cSTime":1742057061,"cETime":1742057075,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08368195841","server_ip":"118.185.137.196","insertTime":1742057075,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057055,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7255
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7255
            [uid] => u595
            [unique_id] => 36075_7255_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057053
            [channelDTime] => 1742057075
            [channelDuration] => 22
            [cSTime] => 1742057061
            [cETime] => 1742057075
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08368195841
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057075
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057055
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2945
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.60000000000497
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29860.159999998374
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2945
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.60000000000497
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95543.28000000873
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057077
{"compaign_id":"36075","contact_id":"7274","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7274","uid":"u595","unique_id":"36075_7274_138-u595","ivrId":"3158","channelOTime":1742057057,"channelDTime":1742057075,"channelDuration":18,"cSTime":1742057068,"cETime":1742057075,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07218432384","server_ip":"118.185.137.196","insertTime":1742057075,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057058,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7274
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7274
            [uid] => u595
            [unique_id] => 36075_7274_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057057
            [channelDTime] => 1742057075
            [channelDuration] => 18
            [cSTime] => 1742057068
            [cETime] => 1742057075
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07218432384
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057075
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057058
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2946
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.68000000000498
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29860.079999998372
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2946
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.68000000000498
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95543.20000000873
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057077
{"compaign_id":"36075","contact_id":"7240","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7240","uid":"u595","unique_id":"36075_7240_138-u595","ivrId":"3158","channelOTime":1742057049,"channelDTime":1742057076,"channelDuration":27,"cSTime":1742057059,"cETime":1742057076,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09951092326","server_ip":"118.185.137.196","insertTime":1742057076,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057051,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7240
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7240
            [uid] => u595
            [unique_id] => 36075_7240_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057049
            [channelDTime] => 1742057076
            [channelDuration] => 27
            [cSTime] => 1742057059
            [cETime] => 1742057076
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09951092326
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057076
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057051
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2947
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.760000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29859.99999999837
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2947
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.760000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95543.12000000873
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057078
{"compaign_id":"36075","contact_id":"7295","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7295","uid":"u595","unique_id":"36075_7295_138-u595","ivrId":"3158","channelOTime":1742057061,"channelDTime":1742057076,"channelDuration":15,"cSTime":1742057067,"cETime":1742057076,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08939626660","server_ip":"118.185.137.196","insertTime":1742057076,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057063,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7295
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7295
            [uid] => u595
            [unique_id] => 36075_7295_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057061
            [channelDTime] => 1742057076
            [channelDuration] => 15
            [cSTime] => 1742057067
            [cETime] => 1742057076
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08939626660
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057076
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057063
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2949
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.920000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29859.83999999837
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2949
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 235.920000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95542.96000000872
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057078
{"compaign_id":"36075","contact_id":"7164","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7164","uid":"u595","unique_id":"36075_7164_138-u595","ivrId":"3158","channelOTime":1742057032,"channelDTime":1742057076,"channelDuration":44,"cSTime":1742057051,"cETime":1742057076,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09536672771","server_ip":"118.185.137.196","insertTime":1742057076,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057034,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057051,"endTime":1742057070,"duration":19}],"#3":[{"startTime":1742057070,"endTime":1742057076,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7164
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7164
            [uid] => u595
            [unique_id] => 36075_7164_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057032
            [channelDTime] => 1742057076
            [channelDuration] => 44
            [cSTime] => 1742057051
            [cETime] => 1742057076
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09536672771
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057076
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057034
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057051
                                    [endTime] => 1742057070
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057070
                                    [endTime] => 1742057076
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2950
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29859.75999999837
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2950
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.000000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95542.88000000872
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057078
{"compaign_id":"36075","contact_id":"7177","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7177","uid":"u595","unique_id":"36075_7177_138-u595","ivrId":"3158","channelOTime":1742057034,"channelDTime":1742057076,"channelDuration":42,"cSTime":1742057053,"cETime":1742057076,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07898542611","server_ip":"118.185.137.196","insertTime":1742057076,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057038,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057053,"endTime":1742057076,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7177
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7177
            [uid] => u595
            [unique_id] => 36075_7177_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057034
            [channelDTime] => 1742057076
            [channelDuration] => 42
            [cSTime] => 1742057053
            [cETime] => 1742057076
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07898542611
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057076
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057038
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057053
                                    [endTime] => 1742057076
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2952
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.160000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29859.59999999837
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2952
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.160000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95542.72000000872
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057078
{"compaign_id":"36075","contact_id":"7275","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7275","uid":"u595","unique_id":"36075_7275_138-u595","ivrId":"3158","channelOTime":1742057057,"channelDTime":1742057076,"channelDuration":19,"cSTime":1742057065,"cETime":1742057076,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07385916655","server_ip":"118.185.137.196","insertTime":1742057076,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057061,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7275
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7275
            [uid] => u595
            [unique_id] => 36075_7275_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057057
            [channelDTime] => 1742057076
            [channelDuration] => 19
            [cSTime] => 1742057065
            [cETime] => 1742057076
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07385916655
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057076
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057061
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2954
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.320000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29859.43999999837
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2954
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.320000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95542.56000000871
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057078
{"compaign_id":"36075","contact_id":"7281","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7281","uid":"u595","unique_id":"36075_7281_138-u595","ivrId":"3158","channelOTime":1742057058,"channelDTime":1742057076,"channelDuration":18,"cSTime":1742057068,"cETime":1742057076,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07005295114","server_ip":"118.185.137.196","insertTime":1742057076,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057060,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7281
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7281
            [uid] => u595
            [unique_id] => 36075_7281_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057058
            [channelDTime] => 1742057076
            [channelDuration] => 18
            [cSTime] => 1742057068
            [cETime] => 1742057076
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07005295114
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057076
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057060
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2955
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.400000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29859.359999998367
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2955
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.400000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95542.48000000871
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057079
{"compaign_id":"36075","contact_id":"7186","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7186","uid":"u595","unique_id":"36075_7186_138-u595","ivrId":"3158","channelOTime":1742057036,"channelDTime":1742057077,"channelDuration":41,"cSTime":1742057057,"cETime":1742057077,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07867088506","server_ip":"118.185.137.196","insertTime":1742057077,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057039,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7186
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7186
            [uid] => u595
            [unique_id] => 36075_7186_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057036
            [channelDTime] => 1742057077
            [channelDuration] => 41
            [cSTime] => 1742057057
            [cETime] => 1742057077
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07867088506
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057077
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057039
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2956
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.48000000000502
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29859.279999998365
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2956
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.48000000000502
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95542.40000000871
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057079
{"compaign_id":"36075","contact_id":"7250","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7250","uid":"u595","unique_id":"36075_7250_138-u595","ivrId":"3158","channelOTime":1742057052,"channelDTime":1742057078,"channelDuration":26,"cSTime":1742057062,"cETime":1742057078,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09391110567","server_ip":"118.185.137.196","insertTime":1742057078,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057057,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7250
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7250
            [uid] => u595
            [unique_id] => 36075_7250_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057052
            [channelDTime] => 1742057078
            [channelDuration] => 26
            [cSTime] => 1742057062
            [cETime] => 1742057078
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09391110567
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057078
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057057
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2958
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.64000000000502
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29859.119999998366
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2958
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.64000000000502
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95542.24000000871
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057080
{"compaign_id":"36075","contact_id":"7245","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7245","uid":"u595","unique_id":"36075_7245_138-u595","ivrId":"3158","channelOTime":1742057050,"channelDTime":1742057078,"channelDuration":28,"cSTime":1742057058,"cETime":1742057078,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09209502050","server_ip":"118.185.137.196","insertTime":1742057078,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057052,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7245
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7245
            [uid] => u595
            [unique_id] => 36075_7245_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057050
            [channelDTime] => 1742057078
            [channelDuration] => 28
            [cSTime] => 1742057058
            [cETime] => 1742057078
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09209502050
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057078
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057052
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2960
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.800000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29858.959999998366
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2960
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.800000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95542.0800000087
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057080
{"compaign_id":"36075","contact_id":"7214","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7214","uid":"u595","unique_id":"36075_7214_138-u595","ivrId":"3158","channelOTime":1742057043,"channelDTime":1742057079,"channelDuration":36,"cSTime":1742057062,"cETime":1742057079,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09552293982","server_ip":"118.185.137.196","insertTime":1742057079,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057045,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7214
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7214
            [uid] => u595
            [unique_id] => 36075_7214_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057043
            [channelDTime] => 1742057079
            [channelDuration] => 36
            [cSTime] => 1742057062
            [cETime] => 1742057079
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09552293982
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057079
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057045
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2962
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.960000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29858.799999998366
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2962
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 236.960000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95541.9200000087
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057080
{"compaign_id":"36075","contact_id":"7208","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7208","uid":"u595","unique_id":"36075_7208_138-u595","ivrId":"3158","channelOTime":1742057042,"channelDTime":1742057079,"channelDuration":37,"cSTime":1742057054,"cETime":1742057079,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07002196084","server_ip":"118.185.137.196","insertTime":1742057079,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057045,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057054,"endTime":1742057073,"duration":19}],"#3":[{"startTime":1742057073,"endTime":1742057079,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7208
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7208
            [uid] => u595
            [unique_id] => 36075_7208_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057042
            [channelDTime] => 1742057079
            [channelDuration] => 37
            [cSTime] => 1742057054
            [cETime] => 1742057079
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07002196084
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057079
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057045
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057054
                                    [endTime] => 1742057073
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057073
                                    [endTime] => 1742057079
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2964
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.120000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29858.639999998366
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2964
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.120000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95541.7600000087
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057081
{"compaign_id":"36075","contact_id":"7246","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7246","uid":"u595","unique_id":"36075_7246_138-u595","ivrId":"3158","channelOTime":1742057050,"channelDTime":1742057081,"channelDuration":31,"cSTime":1742057062,"cETime":1742057081,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07800241564","server_ip":"118.185.137.196","insertTime":1742057081,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057052,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7246
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7246
            [uid] => u595
            [unique_id] => 36075_7246_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057050
            [channelDTime] => 1742057081
            [channelDuration] => 31
            [cSTime] => 1742057062
            [cETime] => 1742057081
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07800241564
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057081
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057052
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2966
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.280000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29858.479999998366
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2966
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.280000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95541.6000000087
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057083
{"compaign_id":"36075","contact_id":"7296","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7296","uid":"u595","unique_id":"36075_7296_138-u595","ivrId":"3158","channelOTime":1742057061,"channelDTime":1742057082,"channelDuration":21,"cSTime":1742057070,"cETime":1742057082,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08412928010","server_ip":"118.185.137.196","insertTime":1742057082,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057063,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7296
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7296
            [uid] => u595
            [unique_id] => 36075_7296_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057061
            [channelDTime] => 1742057082
            [channelDuration] => 21
            [cSTime] => 1742057070
            [cETime] => 1742057082
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08412928010
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057082
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057063
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2968
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.440000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29858.319999998366
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2968
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.440000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95541.44000000869
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057083
{"compaign_id":"36075","contact_id":"7272","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7272","uid":"u595","unique_id":"36075_7272_138-u595","ivrId":"3158","channelOTime":1742057057,"channelDTime":1742057082,"channelDuration":25,"cSTime":1742057072,"cETime":1742057082,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08849004012","server_ip":"118.185.137.196","insertTime":1742057082,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057059,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7272
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7272
            [uid] => u595
            [unique_id] => 36075_7272_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057057
            [channelDTime] => 1742057082
            [channelDuration] => 25
            [cSTime] => 1742057072
            [cETime] => 1742057082
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08849004012
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057082
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057059
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2969
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.520000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29858.239999998365
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2969
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.520000000005
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95541.36000000869
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057084
{"compaign_id":"36075","contact_id":"7278","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7278","uid":"u595","unique_id":"36075_7278_138-u595","ivrId":"3158","channelOTime":1742057058,"channelDTime":1742057082,"channelDuration":24,"cSTime":1742057075,"cETime":1742057082,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07828504994","server_ip":"118.185.137.196","insertTime":1742057082,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057060,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7278
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7278
            [uid] => u595
            [unique_id] => 36075_7278_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057058
            [channelDTime] => 1742057082
            [channelDuration] => 24
            [cSTime] => 1742057075
            [cETime] => 1742057082
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07828504994
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057082
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057060
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2970
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.60000000000502
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29858.159999998363
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2970
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.60000000000502
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95541.28000000869
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057084
{"compaign_id":"36075","contact_id":"7282","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7282","uid":"u595","unique_id":"36075_7282_138-u595","ivrId":"3158","channelOTime":1742057059,"channelDTime":1742057083,"channelDuration":24,"cSTime":1742057074,"cETime":1742057083,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09108788588","server_ip":"118.185.137.196","insertTime":1742057083,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057060,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7282
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7282
            [uid] => u595
            [unique_id] => 36075_7282_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057059
            [channelDTime] => 1742057083
            [channelDuration] => 24
            [cSTime] => 1742057074
            [cETime] => 1742057083
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09108788588
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057083
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057060
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2971
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.68000000000504
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29858.07999999836
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2971
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.68000000000504
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95541.20000000868
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057085
{"compaign_id":"36075","contact_id":"7204","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7204","uid":"u595","unique_id":"36075_7204_138-u595","ivrId":"3158","channelOTime":1742057041,"channelDTime":1742057083,"channelDuration":42,"cSTime":1742057060,"cETime":1742057083,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09316804280","server_ip":"118.185.137.196","insertTime":1742057083,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057044,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057060,"endTime":1742057084,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7204
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7204
            [uid] => u595
            [unique_id] => 36075_7204_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057041
            [channelDTime] => 1742057083
            [channelDuration] => 42
            [cSTime] => 1742057060
            [cETime] => 1742057083
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09316804280
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057083
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057044
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057060
                                    [endTime] => 1742057084
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2972
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.76000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29857.99999999836
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2972
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.76000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95541.12000000868
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057085
{"compaign_id":"36075","contact_id":"7254","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7254","uid":"u595","unique_id":"36075_7254_138-u595","ivrId":"3158","channelOTime":1742057053,"channelDTime":1742057085,"channelDuration":32,"cSTime":1742057066,"cETime":1742057085,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07094332411","server_ip":"118.185.137.196","insertTime":1742057085,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057056,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7254
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7254
            [uid] => u595
            [unique_id] => 36075_7254_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057053
            [channelDTime] => 1742057085
            [channelDuration] => 32
            [cSTime] => 1742057066
            [cETime] => 1742057085
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07094332411
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057085
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057056
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2974
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.92000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29857.83999999836
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2974
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 237.92000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95540.96000000868
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057087
{"compaign_id":"36075","contact_id":"7221","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7221","uid":"u595","unique_id":"36075_7221_138-u595","ivrId":"3158","channelOTime":1742057045,"channelDTime":1742057085,"channelDuration":40,"cSTime":1742057065,"cETime":1742057085,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09630750522","server_ip":"118.185.137.196","insertTime":1742057085,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057046,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7221
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7221
            [uid] => u595
            [unique_id] => 36075_7221_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057045
            [channelDTime] => 1742057085
            [channelDuration] => 40
            [cSTime] => 1742057065
            [cETime] => 1742057085
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09630750522
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057085
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057046
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2976
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.08000000000504
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29857.67999999836
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2976
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.08000000000504
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95540.80000000868
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057087
{"compaign_id":"36075","contact_id":"7242","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7242","uid":"u595","unique_id":"36075_7242_138-u595","ivrId":"3158","channelOTime":1742057049,"channelDTime":1742057086,"channelDuration":37,"cSTime":1742057076,"cETime":1742057086,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09755300791","server_ip":"118.185.137.196","insertTime":1742057086,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057053,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7242
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7242
            [uid] => u595
            [unique_id] => 36075_7242_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057049
            [channelDTime] => 1742057086
            [channelDuration] => 37
            [cSTime] => 1742057076
            [cETime] => 1742057086
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09755300791
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057086
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057053
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2978
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.24000000000504
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29857.51999999836
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2978
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.24000000000504
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95540.64000000867
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057087
{"compaign_id":"36075","contact_id":"7262","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7262","uid":"u595","unique_id":"36075_7262_138-u595","ivrId":"3158","channelOTime":1742057055,"channelDTime":1742057086,"channelDuration":31,"cSTime":1742057061,"cETime":1742057086,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09971602974","server_ip":"118.185.137.196","insertTime":1742057086,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057056,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057061,"endTime":1742057080,"duration":19}],"#3":[{"startTime":1742057080,"endTime":1742057086,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7262
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7262
            [uid] => u595
            [unique_id] => 36075_7262_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057055
            [channelDTime] => 1742057086
            [channelDuration] => 31
            [cSTime] => 1742057061
            [cETime] => 1742057086
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09971602974
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057086
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057056
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057061
                                    [endTime] => 1742057080
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057080
                                    [endTime] => 1742057086
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2979
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.32000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29857.439999998358
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2979
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.32000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95540.56000000867
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057088
{"compaign_id":"36075","contact_id":"7259","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7259","uid":"u595","unique_id":"36075_7259_138-u595","ivrId":"3158","channelOTime":1742057054,"channelDTime":1742057086,"channelDuration":32,"cSTime":1742057066,"cETime":1742057086,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06385260395","server_ip":"118.185.137.196","insertTime":1742057086,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057057,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7259
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7259
            [uid] => u595
            [unique_id] => 36075_7259_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057054
            [channelDTime] => 1742057086
            [channelDuration] => 32
            [cSTime] => 1742057066
            [cETime] => 1742057086
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06385260395
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057086
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057057
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2981
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.48000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29857.279999998358
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2981
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.48000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95540.40000000867
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057088
{"compaign_id":"36075","contact_id":"7283","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7283","uid":"u595","unique_id":"36075_7283_138-u595","ivrId":"3158","channelOTime":1742057059,"channelDTime":1742057091,"channelDuration":32,"cSTime":1742057082,"cETime":1742057091,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07620386492","server_ip":"118.185.137.196","insertTime":1742057091,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057061,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7283
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7283
            [uid] => u595
            [unique_id] => 36075_7283_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057059
            [channelDTime] => 1742057091
            [channelDuration] => 32
            [cSTime] => 1742057082
            [cETime] => 1742057091
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07620386492
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057091
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057061
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2983
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.64000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29857.11999999836
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2983
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.64000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95540.24000000866
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057093
{"compaign_id":"36075","contact_id":"7232","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7232","uid":"u595","unique_id":"36075_7232_138-u595","ivrId":"3158","channelOTime":1742057047,"channelDTime":1742057092,"channelDuration":45,"cSTime":1742057068,"cETime":1742057092,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07208465781","server_ip":"118.185.137.196","insertTime":1742057092,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057049,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057068,"endTime":1742057092,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7232
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7232
            [uid] => u595
            [unique_id] => 36075_7232_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057047
            [channelDTime] => 1742057092
            [channelDuration] => 45
            [cSTime] => 1742057068
            [cETime] => 1742057092
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07208465781
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057092
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057049
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057068
                                    [endTime] => 1742057092
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2984
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.72000000000506
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29857.039999998357
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2984
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.72000000000506
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95540.16000000866
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057093
{"compaign_id":"36075","contact_id":"7253","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7253","uid":"u595","unique_id":"36075_7253_138-u595","ivrId":"3158","channelOTime":1742057053,"channelDTime":1742057094,"channelDuration":41,"cSTime":1742057070,"cETime":1742057094,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09582004487","server_ip":"118.185.137.196","insertTime":1742057094,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057054,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057070,"endTime":1742057094,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7253
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7253
            [uid] => u595
            [unique_id] => 36075_7253_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057053
            [channelDTime] => 1742057094
            [channelDuration] => 41
            [cSTime] => 1742057070
            [cETime] => 1742057094
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09582004487
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057094
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057054
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057070
                                    [endTime] => 1742057094
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2986
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.88000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29856.879999998357
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2986
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 238.88000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95540.00000000866
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057095
{"compaign_id":"36075","contact_id":"7213","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7213","uid":"u595","unique_id":"36075_7213_138-u595","ivrId":"3158","channelOTime":1742057043,"channelDTime":1742057095,"channelDuration":52,"cSTime":1742057072,"cETime":1742057095,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08949613681","server_ip":"118.185.137.196","insertTime":1742057095,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057045,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057072,"endTime":1742057095,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7213
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7213
            [uid] => u595
            [unique_id] => 36075_7213_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057043
            [channelDTime] => 1742057095
            [channelDuration] => 52
            [cSTime] => 1742057072
            [cETime] => 1742057095
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08949613681
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057095
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057045
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057072
                                    [endTime] => 1742057095
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2988
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.04000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29856.719999998357
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2988
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.04000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95539.84000000865
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057097
{"compaign_id":"36075","contact_id":"7304","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7304","uid":"u595","unique_id":"36075_7304_138-u595","ivrId":"3158","channelOTime":1742057081,"channelDTime":1742057097,"channelDuration":16,"cSTime":1742057091,"cETime":1742057097,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08210127997","server_ip":"118.185.137.196","insertTime":1742057097,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057084,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7304
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7304
            [uid] => u595
            [unique_id] => 36075_7304_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057081
            [channelDTime] => 1742057097
            [channelDuration] => 16
            [cSTime] => 1742057091
            [cETime] => 1742057097
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08210127997
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057097
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057084
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2990
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.20000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29856.559999998357
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2990
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.20000000000505
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95539.68000000865
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057099
{"compaign_id":"36075","contact_id":"7335","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7335","uid":"u595","unique_id":"36075_7335_138-u595","ivrId":"3158","channelOTime":1742057087,"channelDTime":1742057097,"channelDuration":10,"cSTime":1742057093,"cETime":1742057097,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09137869013","server_ip":"118.185.137.196","insertTime":1742057097,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057090,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7335
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7335
            [uid] => u595
            [unique_id] => 36075_7335_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057087
            [channelDTime] => 1742057097
            [channelDuration] => 10
            [cSTime] => 1742057093
            [cETime] => 1742057097
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09137869013
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057097
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057090
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2991
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.28000000000506
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29856.479999998355
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2991
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.28000000000506
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95539.60000000865
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057099
{"compaign_id":"36075","contact_id":"7273","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7273","uid":"u595","unique_id":"36075_7273_138-u595","ivrId":"3158","channelOTime":1742057057,"channelDTime":1742057099,"channelDuration":42,"cSTime":1742057076,"cETime":1742057099,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09602062791","server_ip":"118.185.137.196","insertTime":1742057099,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057060,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057076,"endTime":1742057099,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7273
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7273
            [uid] => u595
            [unique_id] => 36075_7273_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057057
            [channelDTime] => 1742057099
            [channelDuration] => 42
            [cSTime] => 1742057076
            [cETime] => 1742057099
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09602062791
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057099
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057060
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057076
                                    [endTime] => 1742057099
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2992
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.36000000000507
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29856.399999998353
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2992
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.36000000000507
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95539.52000000865
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057101
{"compaign_id":"36075","contact_id":"7320","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7320","uid":"u595","unique_id":"36075_7320_138-u595","ivrId":"3158","channelOTime":1742057084,"channelDTime":1742057100,"channelDuration":16,"cSTime":1742057095,"cETime":1742057100,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08264440074","server_ip":"118.185.137.196","insertTime":1742057100,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057086,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7320
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7320
            [uid] => u595
            [unique_id] => 36075_7320_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057084
            [channelDTime] => 1742057100
            [channelDuration] => 16
            [cSTime] => 1742057095
            [cETime] => 1742057100
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08264440074
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057100
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057086
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2994
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.52000000000507
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29856.239999998354
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2994
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.52000000000507
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95539.36000000864
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057102
2025-03-15 22:15:02[LOG]Starting Cron
2025-03-15 22:15:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"7306","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7306","uid":"u595","unique_id":"36075_7306_138-u595","ivrId":"3158","channelOTime":1742057082,"channelDTime":1742057102,"channelDuration":20,"cSTime":1742057095,"cETime":1742057102,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08220071802","server_ip":"118.185.137.196","insertTime":1742057102,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057084,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7306
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7306
            [uid] => u595
            [unique_id] => 36075_7306_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057082
            [channelDTime] => 1742057102
            [channelDuration] => 20
            [cSTime] => 1742057095
            [cETime] => 1742057102
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08220071802
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057102
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057084
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2995
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.60000000000508
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29856.159999998352
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2995
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.60000000000508
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95539.28000000864
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057104
{"compaign_id":"36075","contact_id":"7344","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7344","uid":"u595","unique_id":"36075_7344_138-u595","ivrId":"3158","channelOTime":1742057089,"channelDTime":1742057104,"channelDuration":15,"cSTime":1742057102,"cETime":1742057104,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08794340282","server_ip":"118.185.137.196","insertTime":1742057104,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057090,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7344
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7344
            [uid] => u595
            [unique_id] => 36075_7344_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057089
            [channelDTime] => 1742057104
            [channelDuration] => 15
            [cSTime] => 1742057102
            [cETime] => 1742057104
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08794340282
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057104
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057090
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2996
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.6800000000051
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29856.07999999835
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2996
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.6800000000051
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95539.20000000864
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057106
{"compaign_id":"36075","contact_id":"7270","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7270","uid":"u595","unique_id":"36075_7270_138-u595","ivrId":"3158","channelOTime":1742057056,"channelDTime":1742057104,"channelDuration":48,"cSTime":1742057081,"cETime":1742057104,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07322980862","server_ip":"118.185.137.196","insertTime":1742057104,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057060,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057081,"endTime":1742057104,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7270
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7270
            [uid] => u595
            [unique_id] => 36075_7270_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057056
            [channelDTime] => 1742057104
            [channelDuration] => 48
            [cSTime] => 1742057081
            [cETime] => 1742057104
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07322980862
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057104
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057060
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057081
                                    [endTime] => 1742057104
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2997
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.7600000000051
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29855.99999999835
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2997
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.7600000000051
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95539.12000000864
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057106
{"compaign_id":"36075","contact_id":"7332","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7332","uid":"u595","unique_id":"36075_7332_138-u595","ivrId":"3158","channelOTime":1742057087,"channelDTime":1742057105,"channelDuration":18,"cSTime":1742057097,"cETime":1742057105,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08887836253","server_ip":"118.185.137.196","insertTime":1742057105,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057088,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7332
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7332
            [uid] => u595
            [unique_id] => 36075_7332_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057087
            [channelDTime] => 1742057105
            [channelDuration] => 18
            [cSTime] => 1742057097
            [cETime] => 1742057105
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08887836253
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057105
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057088
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2999
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.9200000000051
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29855.83999999835
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 2999
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 239.9200000000051
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95538.96000000864
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057106
{"compaign_id":"36075","contact_id":"7334","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7334","uid":"u595","unique_id":"36075_7334_138-u595","ivrId":"3158","channelOTime":1742057087,"channelDTime":1742057106,"channelDuration":19,"cSTime":1742057100,"cETime":1742057106,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09010565266","server_ip":"118.185.137.196","insertTime":1742057106,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057090,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7334
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7334
            [uid] => u595
            [unique_id] => 36075_7334_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057087
            [channelDTime] => 1742057106
            [channelDuration] => 19
            [cSTime] => 1742057100
            [cETime] => 1742057106
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09010565266
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057106
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057090
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3000
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.00000000000512
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29855.759999998347
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3000
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.00000000000512
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95538.88000000863
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057108
{"compaign_id":"36075","contact_id":"7338","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7338","uid":"u595","unique_id":"36075_7338_138-u595","ivrId":"3158","channelOTime":1742057088,"channelDTime":1742057107,"channelDuration":19,"cSTime":1742057104,"cETime":1742057107,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08218729282","server_ip":"118.185.137.196","insertTime":1742057107,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057090,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7338
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7338
            [uid] => u595
            [unique_id] => 36075_7338_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057088
            [channelDTime] => 1742057107
            [channelDuration] => 19
            [cSTime] => 1742057104
            [cETime] => 1742057107
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08218729282
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057107
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057090
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3001
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.08000000000513
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29855.679999998345
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3001
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.08000000000513
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95538.80000000863
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057109
{"compaign_id":"36075","contact_id":"7313","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7313","uid":"u595","unique_id":"36075_7313_138-u595","ivrId":"3158","channelOTime":1742057083,"channelDTime":1742057107,"channelDuration":24,"cSTime":1742057091,"cETime":1742057107,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08797078202","server_ip":"118.185.137.196","insertTime":1742057107,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057085,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7313
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7313
            [uid] => u595
            [unique_id] => 36075_7313_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057083
            [channelDTime] => 1742057107
            [channelDuration] => 24
            [cSTime] => 1742057091
            [cETime] => 1742057107
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08797078202
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057107
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057085
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3002
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.16000000000514
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29855.599999998343
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3002
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.16000000000514
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95538.72000000863
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057109
{"compaign_id":"36075","contact_id":"7336","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7336","uid":"u595","unique_id":"36075_7336_138-u595","ivrId":"3158","channelOTime":1742057088,"channelDTime":1742057107,"channelDuration":19,"cSTime":1742057104,"cETime":1742057107,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08073121243","server_ip":"118.185.137.196","insertTime":1742057107,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057090,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7336
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7336
            [uid] => u595
            [unique_id] => 36075_7336_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057088
            [channelDTime] => 1742057107
            [channelDuration] => 19
            [cSTime] => 1742057104
            [cETime] => 1742057107
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08073121243
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057107
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057090
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3004
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.32000000000514
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29855.439999998343
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3004
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.32000000000514
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95538.56000000863
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057109
{"compaign_id":"36075","contact_id":"7354","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7354","uid":"u595","unique_id":"36075_7354_138-u595","ivrId":"3158","channelOTime":1742057093,"channelDTime":1742057108,"channelDuration":15,"cSTime":1742057101,"cETime":1742057108,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07007878379","server_ip":"118.185.137.196","insertTime":1742057108,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057096,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7354
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7354
            [uid] => u595
            [unique_id] => 36075_7354_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057093
            [channelDTime] => 1742057108
            [channelDuration] => 15
            [cSTime] => 1742057101
            [cETime] => 1742057108
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07007878379
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057108
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057096
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3005
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.40000000000515
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29855.35999999834
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3005
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.40000000000515
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95538.48000000863
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057110
{"compaign_id":"36075","contact_id":"7333","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7333","uid":"u595","unique_id":"36075_7333_138-u595","ivrId":"3158","channelOTime":1742057087,"channelDTime":1742057109,"channelDuration":22,"cSTime":1742057103,"cETime":1742057109,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09866057369","server_ip":"118.185.137.196","insertTime":1742057109,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057089,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7333
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7333
            [uid] => u595
            [unique_id] => 36075_7333_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057087
            [channelDTime] => 1742057109
            [channelDuration] => 22
            [cSTime] => 1742057103
            [cETime] => 1742057109
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09866057369
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057109
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057089
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3006
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.48000000000516
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29855.27999999834
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3006
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.48000000000516
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95538.40000000862
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057111
{"compaign_id":"36075","contact_id":"7302","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7302","uid":"u595","unique_id":"36075_7302_138-u595","ivrId":"3158","channelOTime":1742057081,"channelDTime":1742057110,"channelDuration":29,"cSTime":1742057090,"cETime":1742057110,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07859983188","server_ip":"118.185.137.196","insertTime":1742057110,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057082,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7302
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7302
            [uid] => u595
            [unique_id] => 36075_7302_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057081
            [channelDTime] => 1742057110
            [channelDuration] => 29
            [cSTime] => 1742057090
            [cETime] => 1742057110
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07859983188
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057110
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057082
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3007
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.56000000000518
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29855.199999998338
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3007
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.56000000000518
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95538.32000000862
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057112
{"compaign_id":"36075","contact_id":"7315","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7315","uid":"u595","unique_id":"36075_7315_138-u595","ivrId":"3158","channelOTime":1742057083,"channelDTime":1742057110,"channelDuration":27,"cSTime":1742057093,"cETime":1742057110,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07268856994","server_ip":"118.185.137.196","insertTime":1742057110,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057086,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7315
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7315
            [uid] => u595
            [unique_id] => 36075_7315_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057083
            [channelDTime] => 1742057110
            [channelDuration] => 27
            [cSTime] => 1742057093
            [cETime] => 1742057110
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07268856994
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057110
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057086
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3009
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.72000000000517
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29855.03999999834
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3009
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.72000000000517
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95538.16000000862
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057112
{"compaign_id":"36075","contact_id":"7388","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7388","uid":"u595","unique_id":"36075_7388_138-u595","ivrId":"3158","channelOTime":1742057100,"channelDTime":1742057111,"channelDuration":11,"cSTime":1742057107,"cETime":1742057111,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09005121863","server_ip":"118.185.137.196","insertTime":1742057111,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057102,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7388
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7388
            [uid] => u595
            [unique_id] => 36075_7388_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057100
            [channelDTime] => 1742057111
            [channelDuration] => 11
            [cSTime] => 1742057107
            [cETime] => 1742057111
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09005121863
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057111
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057102
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3011
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.88000000000517
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29854.87999999834
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3011
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.88000000000517
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95538.00000000861
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057113
{"compaign_id":"36075","contact_id":"7301","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7301","uid":"u595","unique_id":"36075_7301_138-u595","ivrId":"3158","channelOTime":1742057080,"channelDTime":1742057111,"channelDuration":31,"cSTime":1742057102,"cETime":1742057111,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09829565279","server_ip":"118.185.137.196","insertTime":1742057111,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057084,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7301
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7301
            [uid] => u595
            [unique_id] => 36075_7301_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057080
            [channelDTime] => 1742057111
            [channelDuration] => 31
            [cSTime] => 1742057102
            [cETime] => 1742057111
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09829565279
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057111
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057084
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3012
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.96000000000518
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29854.799999998337
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3012
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 240.96000000000518
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95537.92000000861
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057113
{"compaign_id":"36075","contact_id":"7303","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7303","uid":"u595","unique_id":"36075_7303_138-u595","ivrId":"3158","channelOTime":1742057081,"channelDTime":1742057111,"channelDuration":30,"cSTime":1742057106,"cETime":1742057111,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09315680596","server_ip":"118.185.137.196","insertTime":1742057111,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057084,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7303
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7303
            [uid] => u595
            [unique_id] => 36075_7303_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057081
            [channelDTime] => 1742057111
            [channelDuration] => 30
            [cSTime] => 1742057106
            [cETime] => 1742057111
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09315680596
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057111
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057084
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3013
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.0400000000052
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29854.719999998335
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3013
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.0400000000052
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95537.84000000861
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057113
{"compaign_id":"36075","contact_id":"7356","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7356","uid":"u595","unique_id":"36075_7356_138-u595","ivrId":"3158","channelOTime":1742057093,"channelDTime":1742057111,"channelDuration":18,"cSTime":1742057109,"cETime":1742057111,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07668139877","server_ip":"118.185.137.196","insertTime":1742057111,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057096,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7356
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7356
            [uid] => u595
            [unique_id] => 36075_7356_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057093
            [channelDTime] => 1742057111
            [channelDuration] => 18
            [cSTime] => 1742057109
            [cETime] => 1742057111
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07668139877
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057111
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057096
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3014
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.1200000000052
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29854.639999998333
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3014
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.1200000000052
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95537.76000000861
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057113
{"compaign_id":"36075","contact_id":"7375","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7375","uid":"u595","unique_id":"36075_7375_138-u595","ivrId":"3158","channelOTime":1742057097,"channelDTime":1742057113,"channelDuration":16,"cSTime":1742057107,"cETime":1742057113,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06376580446","server_ip":"118.185.137.196","insertTime":1742057113,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057099,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7375
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7375
            [uid] => u595
            [unique_id] => 36075_7375_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057097
            [channelDTime] => 1742057113
            [channelDuration] => 16
            [cSTime] => 1742057107
            [cETime] => 1742057113
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06376580446
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057113
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057099
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3015
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.20000000000522
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29854.55999999833
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3015
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.20000000000522
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95537.68000000861
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057115
{"compaign_id":"36075","contact_id":"7339","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7339","uid":"u595","unique_id":"36075_7339_138-u595","ivrId":"3158","channelOTime":1742057088,"channelDTime":1742057117,"channelDuration":29,"cSTime":1742057103,"cETime":1742057117,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07491039340","server_ip":"118.185.137.196","insertTime":1742057117,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7339
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7339
            [uid] => u595
            [unique_id] => 36075_7339_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057088
            [channelDTime] => 1742057117
            [channelDuration] => 29
            [cSTime] => 1742057103
            [cETime] => 1742057117
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07491039340
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057117
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3016
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.28000000000523
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29854.47999999833
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3016
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.28000000000523
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95537.6000000086
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057119
{"compaign_id":"36075","contact_id":"7322","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7322","uid":"u595","unique_id":"36075_7322_138-u595","ivrId":"3158","channelOTime":1742057085,"channelDTime":1742057117,"channelDuration":32,"cSTime":1742057096,"cETime":1742057117,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09866882793","server_ip":"118.185.137.196","insertTime":1742057117,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057089,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057096,"endTime":1742057119,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7322
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7322
            [uid] => u595
            [unique_id] => 36075_7322_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057085
            [channelDTime] => 1742057117
            [channelDuration] => 32
            [cSTime] => 1742057096
            [cETime] => 1742057117
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09866882793
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057117
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057089
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057096
                                    [endTime] => 1742057119
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3017
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.36000000000524
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29854.399999998328
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3017
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.36000000000524
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95537.5200000086
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057119
{"compaign_id":"36075","contact_id":"7350","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7350","uid":"u595","unique_id":"36075_7350_138-u595","ivrId":"3158","channelOTime":1742057092,"channelDTime":1742057118,"channelDuration":26,"cSTime":1742057105,"cETime":1742057118,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07649082052","server_ip":"118.185.137.196","insertTime":1742057118,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057095,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7350
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7350
            [uid] => u595
            [unique_id] => 36075_7350_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057092
            [channelDTime] => 1742057118
            [channelDuration] => 26
            [cSTime] => 1742057105
            [cETime] => 1742057118
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07649082052
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057118
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057095
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3019
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.52000000000524
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29854.239999998328
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3019
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.52000000000524
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95537.3600000086
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057119
{"compaign_id":"36075","contact_id":"7398","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7398","uid":"u595","unique_id":"36075_7398_138-u595","ivrId":"3158","channelOTime":1742057102,"channelDTime":1742057118,"channelDuration":16,"cSTime":1742057112,"cETime":1742057118,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06238947153","server_ip":"118.185.137.196","insertTime":1742057118,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057104,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7398
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7398
            [uid] => u595
            [unique_id] => 36075_7398_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057102
            [channelDTime] => 1742057118
            [channelDuration] => 16
            [cSTime] => 1742057112
            [cETime] => 1742057118
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06238947153
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057118
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057104
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3020
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.60000000000525
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29854.159999998326
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3020
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.60000000000525
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95537.2800000086
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057120
{"compaign_id":"36075","contact_id":"7396","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7396","uid":"u595","unique_id":"36075_7396_138-u595","ivrId":"3158","channelOTime":1742057101,"channelDTime":1742057119,"channelDuration":18,"cSTime":1742057108,"cETime":1742057119,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06006523008","server_ip":"118.185.137.196","insertTime":1742057119,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057104,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7396
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7396
            [uid] => u595
            [unique_id] => 36075_7396_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057101
            [channelDTime] => 1742057119
            [channelDuration] => 18
            [cSTime] => 1742057108
            [cETime] => 1742057119
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06006523008
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057119
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057104
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3021
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.68000000000526
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29854.079999998325
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3021
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.68000000000526
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95537.2000000086
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057120
{"compaign_id":"36075","contact_id":"7351","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7351","uid":"u595","unique_id":"36075_7351_138-u595","ivrId":"3158","channelOTime":1742057092,"channelDTime":1742057120,"channelDuration":28,"cSTime":1742057111,"cETime":1742057120,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06309536534","server_ip":"118.185.137.196","insertTime":1742057120,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057095,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7351
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7351
            [uid] => u595
            [unique_id] => 36075_7351_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057092
            [channelDTime] => 1742057120
            [channelDuration] => 28
            [cSTime] => 1742057111
            [cETime] => 1742057120
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06309536534
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057120
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057095
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3022
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.76000000000528
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29853.999999998323
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3022
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.76000000000528
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95537.1200000086
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057121
{"compaign_id":"36075","contact_id":"7347","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7347","uid":"u595","unique_id":"36075_7347_138-u595","ivrId":"3158","channelOTime":1742057090,"channelDTime":1742057121,"channelDuration":31,"cSTime":1742057103,"cETime":1742057121,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07842126658","server_ip":"118.185.137.196","insertTime":1742057121,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057092,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7347
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7347
            [uid] => u595
            [unique_id] => 36075_7347_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057090
            [channelDTime] => 1742057121
            [channelDuration] => 31
            [cSTime] => 1742057103
            [cETime] => 1742057121
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07842126658
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057121
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057092
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3023
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.8400000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29853.91999999832
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3023
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 241.8400000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95537.0400000086
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057122
{"compaign_id":"36075","contact_id":"7409","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7409","uid":"u595","unique_id":"36075_7409_138-u595","ivrId":"3158","channelOTime":1742057111,"channelDTime":1742057121,"channelDuration":10,"cSTime":1742057118,"cETime":1742057121,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07850801079","server_ip":"118.185.137.196","insertTime":1742057121,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057113,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7409
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7409
            [uid] => u595
            [unique_id] => 36075_7409_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057111
            [channelDTime] => 1742057121
            [channelDuration] => 10
            [cSTime] => 1742057118
            [cETime] => 1742057121
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07850801079
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057121
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057113
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3025
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.0000000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29853.75999999832
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3025
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.0000000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95536.88000000859
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057123
{"compaign_id":"36075","contact_id":"7346","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7346","uid":"u595","unique_id":"36075_7346_138-u595","ivrId":"3158","channelOTime":1742057090,"channelDTime":1742057122,"channelDuration":32,"cSTime":1742057099,"cETime":1742057122,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08219897623","server_ip":"118.185.137.196","insertTime":1742057122,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057095,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057099,"endTime":1742057118,"duration":19}],"#3":[{"startTime":1742057118,"endTime":1742057122,"duration":4}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7346
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7346
            [uid] => u595
            [unique_id] => 36075_7346_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057090
            [channelDTime] => 1742057122
            [channelDuration] => 32
            [cSTime] => 1742057099
            [cETime] => 1742057122
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08219897623
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057122
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057095
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057099
                                    [endTime] => 1742057118
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057118
                                    [endTime] => 1742057122
                                    [duration] => 4
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3026
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.0800000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29853.67999999832
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3026
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.0800000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95536.80000000859
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057123
{"compaign_id":"36075","contact_id":"7340","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7340","uid":"u595","unique_id":"36075_7340_138-u595","ivrId":"3158","channelOTime":1742057088,"channelDTime":1742057122,"channelDuration":34,"cSTime":1742057099,"cETime":1742057122,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09783369363","server_ip":"118.185.137.196","insertTime":1742057122,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057090,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057099,"endTime":1742057122,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7340
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7340
            [uid] => u595
            [unique_id] => 36075_7340_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057088
            [channelDTime] => 1742057122
            [channelDuration] => 34
            [cSTime] => 1742057099
            [cETime] => 1742057122
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09783369363
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057122
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057090
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057099
                                    [endTime] => 1742057122
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3028
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.2400000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29853.51999999832
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3028
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.2400000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95536.64000000859
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057124
{"compaign_id":"36075","contact_id":"7394","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7394","uid":"u595","unique_id":"36075_7394_138-u595","ivrId":"3158","channelOTime":1742057101,"channelDTime":1742057123,"channelDuration":22,"cSTime":1742057113,"cETime":1742057123,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06398835169","server_ip":"118.185.137.196","insertTime":1742057123,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057103,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7394
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7394
            [uid] => u595
            [unique_id] => 36075_7394_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057101
            [channelDTime] => 1742057123
            [channelDuration] => 22
            [cSTime] => 1742057113
            [cETime] => 1742057123
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06398835169
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057123
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057103
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3030
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.4000000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29853.35999999832
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3030
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.4000000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95536.48000000858
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057125
{"compaign_id":"36075","contact_id":"7376","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7376","uid":"u595","unique_id":"36075_7376_138-u595","ivrId":"3158","channelOTime":1742057097,"channelDTime":1742057124,"channelDuration":27,"cSTime":1742057110,"cETime":1742057124,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06397507136","server_ip":"118.185.137.196","insertTime":1742057124,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057101,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7376
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7376
            [uid] => u595
            [unique_id] => 36075_7376_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057097
            [channelDTime] => 1742057124
            [channelDuration] => 27
            [cSTime] => 1742057110
            [cETime] => 1742057124
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06397507136
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057124
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057101
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3031
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.4800000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29853.279999998318
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3031
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.4800000000053
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95536.40000000858
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057126
{"compaign_id":"36075","contact_id":"7413","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7413","uid":"u595","unique_id":"36075_7413_138-u595","ivrId":"3158","channelOTime":1742057112,"channelDTime":1742057124,"channelDuration":12,"cSTime":1742057117,"cETime":1742057124,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09427850734","server_ip":"118.185.137.196","insertTime":1742057124,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057114,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7413
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7413
            [uid] => u595
            [unique_id] => 36075_7413_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057112
            [channelDTime] => 1742057124
            [channelDuration] => 12
            [cSTime] => 1742057117
            [cETime] => 1742057124
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09427850734
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057124
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057114
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3032
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.56000000000532
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29853.199999998316
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3032
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.56000000000532
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95536.32000000858
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057126
{"compaign_id":"36075","contact_id":"7359","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7359","uid":"u595","unique_id":"36075_7359_138-u595","ivrId":"3158","channelOTime":1742057094,"channelDTime":1742057125,"channelDuration":31,"cSTime":1742057114,"cETime":1742057125,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07250465621","server_ip":"118.185.137.196","insertTime":1742057125,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057103,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7359
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7359
            [uid] => u595
            [unique_id] => 36075_7359_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057094
            [channelDTime] => 1742057125
            [channelDuration] => 31
            [cSTime] => 1742057114
            [cETime] => 1742057125
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07250465621
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057125
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057103
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3033
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.64000000000533
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29853.119999998315
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3033
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.64000000000533
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95536.24000000858
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057126
{"compaign_id":"36075","contact_id":"7436","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7436","uid":"u595","unique_id":"36075_7436_138-u595","ivrId":"3158","channelOTime":1742057116,"channelDTime":1742057126,"channelDuration":10,"cSTime":1742057123,"cETime":1742057126,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09330220080","server_ip":"118.185.137.196","insertTime":1742057126,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057118,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7436
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7436
            [uid] => u595
            [unique_id] => 36075_7436_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057116
            [channelDTime] => 1742057126
            [channelDuration] => 10
            [cSTime] => 1742057123
            [cETime] => 1742057126
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09330220080
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057126
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057118
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3034
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.72000000000534
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29853.039999998313
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3034
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.72000000000534
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95536.16000000857
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057128
{"compaign_id":"36075","contact_id":"7383","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7383","uid":"u595","unique_id":"36075_7383_138-u595","ivrId":"3158","channelOTime":1742057099,"channelDTime":1742057126,"channelDuration":27,"cSTime":1742057121,"cETime":1742057126,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07668098032","server_ip":"118.185.137.196","insertTime":1742057126,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057104,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7383
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7383
            [uid] => u595
            [unique_id] => 36075_7383_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057099
            [channelDTime] => 1742057126
            [channelDuration] => 27
            [cSTime] => 1742057121
            [cETime] => 1742057126
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07668098032
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057126
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057104
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3035
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.80000000000535
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29852.95999999831
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3035
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.80000000000535
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95536.08000000857
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057128
{"compaign_id":"36075","contact_id":"7408","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7408","uid":"u595","unique_id":"36075_7408_138-u595","ivrId":"3158","channelOTime":1742057111,"channelDTime":1742057127,"channelDuration":16,"cSTime":1742057124,"cETime":1742057127,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07489107211","server_ip":"118.185.137.196","insertTime":1742057127,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057112,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7408
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7408
            [uid] => u595
            [unique_id] => 36075_7408_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057111
            [channelDTime] => 1742057127
            [channelDuration] => 16
            [cSTime] => 1742057124
            [cETime] => 1742057127
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07489107211
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057127
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057112
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3036
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.88000000000537
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29852.87999999831
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3036
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.88000000000537
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95536.00000000857
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057128
{"compaign_id":"36075","contact_id":"7377","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7377","uid":"u595","unique_id":"36075_7377_138-u595","ivrId":"3158","channelOTime":1742057098,"channelDTime":1742057127,"channelDuration":29,"cSTime":1742057115,"cETime":1742057127,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07558388758","server_ip":"118.185.137.196","insertTime":1742057127,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057100,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7377
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7377
            [uid] => u595
            [unique_id] => 36075_7377_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057098
            [channelDTime] => 1742057127
            [channelDuration] => 29
            [cSTime] => 1742057115
            [cETime] => 1742057127
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07558388758
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057127
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057100
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3037
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.96000000000538
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29852.799999998308
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3037
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 242.96000000000538
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95535.92000000857
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057129
{"compaign_id":"36075","contact_id":"7305","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7305","uid":"u595","unique_id":"36075_7305_138-u595","ivrId":"3158","channelOTime":1742057081,"channelDTime":1742057129,"channelDuration":48,"cSTime":1742057105,"cETime":1742057129,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08287324987","server_ip":"118.185.137.196","insertTime":1742057129,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057083,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057105,"endTime":1742057129,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7305
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7305
            [uid] => u595
            [unique_id] => 36075_7305_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057081
            [channelDTime] => 1742057129
            [channelDuration] => 48
            [cSTime] => 1742057105
            [cETime] => 1742057129
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08287324987
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057129
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057083
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057105
                                    [endTime] => 1742057129
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3038
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.0400000000054
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29852.719999998306
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3038
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.0400000000054
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95535.84000000857
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057130
{"compaign_id":"36075","contact_id":"7371","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7371","uid":"u595","unique_id":"36075_7371_138-u595","ivrId":"3158","channelOTime":1742057096,"channelDTime":1742057129,"channelDuration":33,"cSTime":1742057111,"cETime":1742057129,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07010293492","server_ip":"118.185.137.196","insertTime":1742057129,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057099,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7371
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7371
            [uid] => u595
            [unique_id] => 36075_7371_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057096
            [channelDTime] => 1742057129
            [channelDuration] => 33
            [cSTime] => 1742057111
            [cETime] => 1742057129
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07010293492
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057129
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057099
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3040
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.2000000000054
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29852.559999998306
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3040
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.2000000000054
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95535.68000000856
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057131
{"compaign_id":"36075","contact_id":"7360","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7360","uid":"u595","unique_id":"36075_7360_138-u595","ivrId":"3158","channelOTime":1742057094,"channelDTime":1742057131,"channelDuration":37,"cSTime":1742057122,"cETime":1742057131,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09662612747","server_ip":"118.185.137.196","insertTime":1742057131,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057099,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7360
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7360
            [uid] => u595
            [unique_id] => 36075_7360_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057094
            [channelDTime] => 1742057131
            [channelDuration] => 37
            [cSTime] => 1742057122
            [cETime] => 1742057131
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09662612747
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057131
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057099
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3042
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.36000000000539
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29852.399999998306
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3042
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.36000000000539
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95535.52000000856
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057132
{"compaign_id":"36075","contact_id":"7416","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7416","uid":"u595","unique_id":"36075_7416_138-u595","ivrId":"3158","channelOTime":1742057112,"channelDTime":1742057131,"channelDuration":19,"cSTime":1742057122,"cETime":1742057131,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08770631466","server_ip":"118.185.137.196","insertTime":1742057131,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057115,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7416
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7416
            [uid] => u595
            [unique_id] => 36075_7416_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057112
            [channelDTime] => 1742057131
            [channelDuration] => 19
            [cSTime] => 1742057122
            [cETime] => 1742057131
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08770631466
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057131
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057115
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3043
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.4400000000054
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29852.319999998304
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3043
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.4400000000054
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95535.44000000856
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057132
{"compaign_id":"36075","contact_id":"7448","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7448","uid":"u595","unique_id":"36075_7448_138-u595","ivrId":"3158","channelOTime":1742057119,"channelDTime":1742057132,"channelDuration":13,"cSTime":1742057127,"cETime":1742057132,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09625335588","server_ip":"118.185.137.196","insertTime":1742057132,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057120,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7448
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7448
            [uid] => u595
            [unique_id] => 36075_7448_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057119
            [channelDTime] => 1742057132
            [channelDuration] => 13
            [cSTime] => 1742057127
            [cETime] => 1742057132
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09625335588
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057132
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057120
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3044
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.5200000000054
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29852.239999998303
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3044
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.5200000000054
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95535.36000000856
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057133
{"compaign_id":"36075","contact_id":"7424","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7424","uid":"u595","unique_id":"36075_7424_138-u595","ivrId":"3158","channelOTime":1742057114,"channelDTime":1742057132,"channelDuration":18,"cSTime":1742057125,"cETime":1742057132,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08929897966","server_ip":"118.185.137.196","insertTime":1742057132,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057115,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7424
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7424
            [uid] => u595
            [unique_id] => 36075_7424_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057114
            [channelDTime] => 1742057132
            [channelDuration] => 18
            [cSTime] => 1742057125
            [cETime] => 1742057132
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08929897966
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057132
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057115
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3045
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.60000000000542
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29852.1599999983
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3045
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.60000000000542
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95535.28000000856
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057133
{"compaign_id":"36075","contact_id":"7370","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7370","uid":"u595","unique_id":"36075_7370_138-u595","ivrId":"3158","channelOTime":1742057096,"channelDTime":1742057132,"channelDuration":36,"cSTime":1742057115,"cETime":1742057132,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07742084349","server_ip":"118.185.137.196","insertTime":1742057132,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057097,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7370
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7370
            [uid] => u595
            [unique_id] => 36075_7370_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057096
            [channelDTime] => 1742057132
            [channelDuration] => 36
            [cSTime] => 1742057115
            [cETime] => 1742057132
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07742084349
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057132
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057097
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3046
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.68000000000544
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29852.0799999983
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3046
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.68000000000544
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95535.20000000855
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057134
{"compaign_id":"36075","contact_id":"7412","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7412","uid":"u595","unique_id":"36075_7412_138-u595","ivrId":"3158","channelOTime":1742057112,"channelDTime":1742057134,"channelDuration":22,"cSTime":1742057130,"cETime":1742057134,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07846835519","server_ip":"118.185.137.196","insertTime":1742057134,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057115,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7412
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7412
            [uid] => u595
            [unique_id] => 36075_7412_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057112
            [channelDTime] => 1742057134
            [channelDuration] => 22
            [cSTime] => 1742057130
            [cETime] => 1742057134
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07846835519
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057134
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057115
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3048
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.84000000000543
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29851.9199999983
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3048
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.84000000000543
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95535.04000000855
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057136
{"compaign_id":"36075","contact_id":"7407","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7407","uid":"u595","unique_id":"36075_7407_138-u595","ivrId":"3158","channelOTime":1742057111,"channelDTime":1742057134,"channelDuration":23,"cSTime":1742057125,"cETime":1742057134,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07389013877","server_ip":"118.185.137.196","insertTime":1742057134,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057114,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7407
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7407
            [uid] => u595
            [unique_id] => 36075_7407_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057111
            [channelDTime] => 1742057134
            [channelDuration] => 23
            [cSTime] => 1742057125
            [cETime] => 1742057134
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07389013877
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057134
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057114
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3049
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.92000000000544
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29851.839999998298
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3049
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 243.92000000000544
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95534.96000000855
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057136
{"compaign_id":"36075","contact_id":"7392","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7392","uid":"u595","unique_id":"36075_7392_138-u595","ivrId":"3158","channelOTime":1742057101,"channelDTime":1742057135,"channelDuration":34,"cSTime":1742057119,"cETime":1742057135,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09622201420","server_ip":"118.185.137.196","insertTime":1742057135,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057104,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7392
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7392
            [uid] => u595
            [unique_id] => 36075_7392_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057101
            [channelDTime] => 1742057135
            [channelDuration] => 34
            [cSTime] => 1742057119
            [cETime] => 1742057135
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09622201420
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057135
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057104
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3050
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.00000000000546
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29851.759999998296
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3050
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.00000000000546
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95534.88000000855
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057137
{"compaign_id":"36075","contact_id":"7480","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7480","uid":"u595","unique_id":"36075_7480_138-u595","ivrId":"3158","channelOTime":1742057127,"channelDTime":1742057136,"channelDuration":9,"cSTime":1742057135,"cETime":1742057136,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07979752521","server_ip":"118.185.137.196","insertTime":1742057136,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057129,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7480
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7480
            [uid] => u595
            [unique_id] => 36075_7480_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057127
            [channelDTime] => 1742057136
            [channelDuration] => 9
            [cSTime] => 1742057135
            [cETime] => 1742057136
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07979752521
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057136
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057129
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3052
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.16000000000545
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29851.599999998296
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3052
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.16000000000545
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95534.72000000854
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057138
{"compaign_id":"36075","contact_id":"7454","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7454","uid":"u595","unique_id":"36075_7454_138-u595","ivrId":"3158","channelOTime":1742057122,"channelDTime":1742057137,"channelDuration":15,"cSTime":1742057127,"cETime":1742057137,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09161810852","server_ip":"118.185.137.196","insertTime":1742057137,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057124,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7454
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7454
            [uid] => u595
            [unique_id] => 36075_7454_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057122
            [channelDTime] => 1742057137
            [channelDuration] => 15
            [cSTime] => 1742057127
            [cETime] => 1742057137
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09161810852
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057137
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057124
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3053
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.24000000000547
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29851.519999998294
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3053
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.24000000000547
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95534.64000000854
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057139
{"compaign_id":"36075","contact_id":"7430","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7430","uid":"u595","unique_id":"36075_7430_138-u595","ivrId":"3158","channelOTime":1742057115,"channelDTime":1742057139,"channelDuration":24,"cSTime":1742057136,"cETime":1742057139,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09353482903","server_ip":"118.185.137.196","insertTime":1742057139,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057117,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7430
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7430
            [uid] => u595
            [unique_id] => 36075_7430_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057115
            [channelDTime] => 1742057139
            [channelDuration] => 24
            [cSTime] => 1742057136
            [cETime] => 1742057139
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09353482903
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057139
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057117
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3054
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.32000000000548
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29851.439999998292
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3054
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.32000000000548
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95534.56000000854
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057141
{"compaign_id":"36075","contact_id":"7482","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7482","uid":"u595","unique_id":"36075_7482_138-u595","ivrId":"3158","channelOTime":1742057127,"channelDTime":1742057140,"channelDuration":13,"cSTime":1742057137,"cETime":1742057140,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07013364244","server_ip":"118.185.137.196","insertTime":1742057140,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057129,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7482
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7482
            [uid] => u595
            [unique_id] => 36075_7482_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057127
            [channelDTime] => 1742057140
            [channelDuration] => 13
            [cSTime] => 1742057137
            [cETime] => 1742057140
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07013364244
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057140
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057129
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3055
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.4000000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29851.35999999829
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3055
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.4000000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95534.48000000854
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057142
{"compaign_id":"36075","contact_id":"7461","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7461","uid":"u595","unique_id":"36075_7461_138-u595","ivrId":"3158","channelOTime":1742057123,"channelDTime":1742057141,"channelDuration":18,"cSTime":1742057134,"cETime":1742057141,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07029324946","server_ip":"118.185.137.196","insertTime":1742057141,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057125,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7461
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7461
            [uid] => u595
            [unique_id] => 36075_7461_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057123
            [channelDTime] => 1742057141
            [channelDuration] => 18
            [cSTime] => 1742057134
            [cETime] => 1742057141
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07029324946
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057141
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057125
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3056
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.4800000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29851.27999999829
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3056
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.4800000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95534.40000000854
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057143
{"compaign_id":"36075","contact_id":"7486","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7486","uid":"u595","unique_id":"36075_7486_138-u595","ivrId":"3158","channelOTime":1742057128,"channelDTime":1742057142,"channelDuration":14,"cSTime":1742057138,"cETime":1742057142,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09128783932","server_ip":"118.185.137.196","insertTime":1742057142,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057132,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7486
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7486
            [uid] => u595
            [unique_id] => 36075_7486_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057128
            [channelDTime] => 1742057142
            [channelDuration] => 14
            [cSTime] => 1742057138
            [cETime] => 1742057142
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09128783932
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057142
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057132
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3057
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.56000000000552
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29851.199999998287
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3057
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.56000000000552
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95534.32000000853
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057144
{"compaign_id":"36075","contact_id":"7435","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7435","uid":"u595","unique_id":"36075_7435_138-u595","ivrId":"3158","channelOTime":1742057116,"channelDTime":1742057144,"channelDuration":28,"cSTime":1742057121,"cETime":1742057144,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09880359114","server_ip":"118.185.137.196","insertTime":1742057144,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057120,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057121,"endTime":1742057144,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7435
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7435
            [uid] => u595
            [unique_id] => 36075_7435_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057116
            [channelDTime] => 1742057144
            [channelDuration] => 28
            [cSTime] => 1742057121
            [cETime] => 1742057144
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09880359114
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057144
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057120
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057121
                                    [endTime] => 1742057144
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3058
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.64000000000553
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29851.119999998285
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3058
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.64000000000553
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95534.24000000853
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057146
{"compaign_id":"36075","contact_id":"7438","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7438","uid":"u595","unique_id":"36075_7438_138-u595","ivrId":"3158","channelOTime":1742057117,"channelDTime":1742057146,"channelDuration":29,"cSTime":1742057135,"cETime":1742057146,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07518074945","server_ip":"118.185.137.196","insertTime":1742057146,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057120,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7438
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7438
            [uid] => u595
            [unique_id] => 36075_7438_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057117
            [channelDTime] => 1742057146
            [channelDuration] => 29
            [cSTime] => 1742057135
            [cETime] => 1742057146
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07518074945
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057146
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057120
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3060
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.80000000000553
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29850.959999998286
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3060
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.80000000000553
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95534.08000000853
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057148
{"compaign_id":"36075","contact_id":"7477","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7477","uid":"u595","unique_id":"36075_7477_138-u595","ivrId":"3158","channelOTime":1742057126,"channelDTime":1742057146,"channelDuration":20,"cSTime":1742057138,"cETime":1742057146,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08144301854","server_ip":"118.185.137.196","insertTime":1742057146,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057128,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7477
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7477
            [uid] => u595
            [unique_id] => 36075_7477_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057126
            [channelDTime] => 1742057146
            [channelDuration] => 20
            [cSTime] => 1742057138
            [cETime] => 1742057146
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08144301854
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057146
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057128
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3061
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.88000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29850.879999998284
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3061
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.88000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95534.00000000853
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057148
{"compaign_id":"36075","contact_id":"7474","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7474","uid":"u595","unique_id":"36075_7474_138-u595","ivrId":"3158","channelOTime":1742057126,"channelDTime":1742057147,"channelDuration":21,"cSTime":1742057135,"cETime":1742057147,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08824243631","server_ip":"118.185.137.196","insertTime":1742057147,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057128,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7474
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7474
            [uid] => u595
            [unique_id] => 36075_7474_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057126
            [channelDTime] => 1742057147
            [channelDuration] => 21
            [cSTime] => 1742057135
            [cETime] => 1742057147
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08824243631
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057147
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057128
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3062
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.96000000000555
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29850.799999998282
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3062
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 244.96000000000555
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95533.92000000853
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057149
{"compaign_id":"36075","contact_id":"7499","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7499","uid":"u595","unique_id":"36075_7499_138-u595","ivrId":"3158","channelOTime":1742057131,"channelDTime":1742057148,"channelDuration":17,"cSTime":1742057146,"cETime":1742057148,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09897945787","server_ip":"118.185.137.196","insertTime":1742057148,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057133,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7499
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7499
            [uid] => u595
            [unique_id] => 36075_7499_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057131
            [channelDTime] => 1742057148
            [channelDuration] => 17
            [cSTime] => 1742057146
            [cETime] => 1742057148
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09897945787
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057148
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057133
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3063
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.04000000000556
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29850.71999999828
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3063
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.04000000000556
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95533.84000000852
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057149
{"compaign_id":"36075","contact_id":"7484","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7484","uid":"u595","unique_id":"36075_7484_138-u595","ivrId":"3158","channelOTime":1742057128,"channelDTime":1742057148,"channelDuration":20,"cSTime":1742057139,"cETime":1742057148,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08141011007","server_ip":"118.185.137.196","insertTime":1742057148,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057130,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7484
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7484
            [uid] => u595
            [unique_id] => 36075_7484_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057128
            [channelDTime] => 1742057148
            [channelDuration] => 20
            [cSTime] => 1742057139
            [cETime] => 1742057148
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08141011007
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057148
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057130
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3064
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.12000000000558
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29850.63999999828
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3064
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.12000000000558
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95533.76000000852
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057150
{"compaign_id":"36075","contact_id":"7452","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7452","uid":"u595","unique_id":"36075_7452_138-u595","ivrId":"3158","channelOTime":1742057121,"channelDTime":1742057149,"channelDuration":28,"cSTime":1742057144,"cETime":1742057149,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09177522771","server_ip":"118.185.137.196","insertTime":1742057149,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057123,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7452
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7452
            [uid] => u595
            [unique_id] => 36075_7452_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057121
            [channelDTime] => 1742057149
            [channelDuration] => 28
            [cSTime] => 1742057144
            [cETime] => 1742057149
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09177522771
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057149
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057123
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3065
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.2000000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29850.559999998277
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3065
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.2000000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95533.68000000852
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057151
{"compaign_id":"36075","contact_id":"7524","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7524","uid":"u595","unique_id":"36075_7524_138-u595","ivrId":"3158","channelOTime":1742057137,"channelDTime":1742057149,"channelDuration":12,"cSTime":1742057146,"cETime":1742057149,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09664744208","server_ip":"118.185.137.196","insertTime":1742057149,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057139,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7524
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7524
            [uid] => u595
            [unique_id] => 36075_7524_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057137
            [channelDTime] => 1742057149
            [channelDuration] => 12
            [cSTime] => 1742057146
            [cETime] => 1742057149
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09664744208
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057149
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057139
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3066
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.2800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29850.479999998275
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3066
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.2800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95533.60000000852
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057151
{"compaign_id":"36075","contact_id":"7502","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7502","uid":"u595","unique_id":"36075_7502_138-u595","ivrId":"3158","channelOTime":1742057133,"channelDTime":1742057150,"channelDuration":17,"cSTime":1742057142,"cETime":1742057150,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09977731415","server_ip":"118.185.137.196","insertTime":1742057150,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057135,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7502
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7502
            [uid] => u595
            [unique_id] => 36075_7502_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057133
            [channelDTime] => 1742057150
            [channelDuration] => 17
            [cSTime] => 1742057142
            [cETime] => 1742057150
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09977731415
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057150
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057135
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3067
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.3600000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29850.399999998273
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3067
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.3600000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95533.52000000852
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057151
{"compaign_id":"36075","contact_id":"7511","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7511","uid":"u595","unique_id":"36075_7511_138-u595","ivrId":"3158","channelOTime":1742057135,"channelDTime":1742057150,"channelDuration":15,"cSTime":1742057144,"cETime":1742057150,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07989832140","server_ip":"118.185.137.196","insertTime":1742057150,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057136,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7511
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7511
            [uid] => u595
            [unique_id] => 36075_7511_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057135
            [channelDTime] => 1742057150
            [channelDuration] => 15
            [cSTime] => 1742057144
            [cETime] => 1742057150
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07989832140
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057150
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057136
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3068
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.44000000000563
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29850.31999999827
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3068
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.44000000000563
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95533.44000000852
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057152
{"compaign_id":"36075","contact_id":"7495","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7495","uid":"u595","unique_id":"36075_7495_138-u595","ivrId":"3158","channelOTime":1742057130,"channelDTime":1742057151,"channelDuration":21,"cSTime":1742057141,"cETime":1742057151,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08658980864","server_ip":"118.185.137.196","insertTime":1742057151,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057132,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7495
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7495
            [uid] => u595
            [unique_id] => 36075_7495_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057130
            [channelDTime] => 1742057151
            [channelDuration] => 21
            [cSTime] => 1742057141
            [cETime] => 1742057151
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08658980864
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057151
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057132
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3069
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.52000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29850.23999999827
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3069
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.52000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95533.36000000851
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057153
{"compaign_id":"36075","contact_id":"7453","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7453","uid":"u595","unique_id":"36075_7453_138-u595","ivrId":"3158","channelOTime":1742057122,"channelDTime":1742057151,"channelDuration":29,"cSTime":1742057128,"cETime":1742057151,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09872490018","server_ip":"118.185.137.196","insertTime":1742057151,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057125,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057128,"endTime":1742057151,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7453
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7453
            [uid] => u595
            [unique_id] => 36075_7453_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057122
            [channelDTime] => 1742057151
            [channelDuration] => 29
            [cSTime] => 1742057128
            [cETime] => 1742057151
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09872490018
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057151
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057125
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057128
                                    [endTime] => 1742057151
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3070
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.60000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29850.159999998268
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3070
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.60000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95533.28000000851
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057153
{"compaign_id":"36075","contact_id":"7481","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7481","uid":"u595","unique_id":"36075_7481_138-u595","ivrId":"3158","channelOTime":1742057127,"channelDTime":1742057152,"channelDuration":25,"cSTime":1742057136,"cETime":1742057152,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09151255822","server_ip":"118.185.137.196","insertTime":1742057152,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057129,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7481
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7481
            [uid] => u595
            [unique_id] => 36075_7481_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057127
            [channelDTime] => 1742057152
            [channelDuration] => 25
            [cSTime] => 1742057136
            [cETime] => 1742057152
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09151255822
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057152
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057129
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3072
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.76000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29849.99999999827
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3072
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.76000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95533.12000000851
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057153
{"compaign_id":"36075","contact_id":"7455","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7455","uid":"u595","unique_id":"36075_7455_138-u595","ivrId":"3158","channelOTime":1742057122,"channelDTime":1742057152,"channelDuration":30,"cSTime":1742057130,"cETime":1742057152,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09745188700","server_ip":"118.185.137.196","insertTime":1742057152,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057124,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057130,"endTime":1742057146,"duration":16}],"#3":[{"startTime":1742057146,"endTime":1742057152,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7455
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7455
            [uid] => u595
            [unique_id] => 36075_7455_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057122
            [channelDTime] => 1742057152
            [channelDuration] => 30
            [cSTime] => 1742057130
            [cETime] => 1742057152
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09745188700
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057152
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057124
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057130
                                    [endTime] => 1742057146
                                    [duration] => 16
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057146
                                    [endTime] => 1742057152
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3074
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.92000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29849.83999999827
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3074
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 245.92000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95532.9600000085
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057154
{"compaign_id":"36075","contact_id":"7459","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7459","uid":"u595","unique_id":"36075_7459_138-u595","ivrId":"3158","channelOTime":1742057123,"channelDTime":1742057152,"channelDuration":29,"cSTime":1742057138,"cETime":1742057152,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09150205987","server_ip":"118.185.137.196","insertTime":1742057152,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057124,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7459
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7459
            [uid] => u595
            [unique_id] => 36075_7459_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057123
            [channelDTime] => 1742057152
            [channelDuration] => 29
            [cSTime] => 1742057138
            [cETime] => 1742057152
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09150205987
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057152
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057124
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3076
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.08000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29849.67999999827
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3076
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.08000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95532.8000000085
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057154
{"compaign_id":"36075","contact_id":"7431","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7431","uid":"u595","unique_id":"36075_7431_138-u595","ivrId":"3158","channelOTime":1742057115,"channelDTime":1742057153,"channelDuration":38,"cSTime":1742057130,"cETime":1742057153,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07742904266","server_ip":"118.185.137.196","insertTime":1742057153,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057119,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057130,"endTime":1742057153,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7431
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7431
            [uid] => u595
            [unique_id] => 36075_7431_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057115
            [channelDTime] => 1742057153
            [channelDuration] => 38
            [cSTime] => 1742057130
            [cETime] => 1742057153
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07742904266
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057153
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057119
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057130
                                    [endTime] => 1742057153
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3077
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.16000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29849.599999998267
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3077
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.16000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95532.7200000085
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057154
{"compaign_id":"36075","contact_id":"7439","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7439","uid":"u595","unique_id":"36075_7439_138-u595","ivrId":"3158","channelOTime":1742057117,"channelDTime":1742057153,"channelDuration":36,"cSTime":1742057137,"cETime":1742057153,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07087341466","server_ip":"118.185.137.196","insertTime":1742057153,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057119,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7439
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7439
            [uid] => u595
            [unique_id] => 36075_7439_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057117
            [channelDTime] => 1742057153
            [channelDuration] => 36
            [cSTime] => 1742057137
            [cETime] => 1742057153
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07087341466
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057153
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057119
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3079
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.32000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29849.439999998267
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3079
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.32000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95532.5600000085
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057155
{"compaign_id":"36075","contact_id":"7500","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7500","uid":"u595","unique_id":"36075_7500_138-u595","ivrId":"3158","channelOTime":1742057133,"channelDTime":1742057154,"channelDuration":21,"cSTime":1742057148,"cETime":1742057154,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07207863803","server_ip":"118.185.137.196","insertTime":1742057154,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057136,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7500
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7500
            [uid] => u595
            [unique_id] => 36075_7500_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057133
            [channelDTime] => 1742057154
            [channelDuration] => 21
            [cSTime] => 1742057148
            [cETime] => 1742057154
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07207863803
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057154
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057136
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3081
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.48000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29849.279999998267
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3081
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.48000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95532.40000000849
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057156
{"compaign_id":"36075","contact_id":"7445","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7445","uid":"u595","unique_id":"36075_7445_138-u595","ivrId":"3158","channelOTime":1742057118,"channelDTime":1742057155,"channelDuration":37,"cSTime":1742057141,"cETime":1742057155,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09963716191","server_ip":"118.185.137.196","insertTime":1742057155,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057121,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7445
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7445
            [uid] => u595
            [unique_id] => 36075_7445_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057118
            [channelDTime] => 1742057155
            [channelDuration] => 37
            [cSTime] => 1742057141
            [cETime] => 1742057155
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09963716191
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057155
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057121
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3082
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.56000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29849.199999998265
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3082
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.56000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95532.32000000849
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057156
{"compaign_id":"36075","contact_id":"7406","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7406","uid":"u595","unique_id":"36075_7406_138-u595","ivrId":"3158","channelOTime":1742057110,"channelDTime":1742057155,"channelDuration":45,"cSTime":1742057131,"cETime":1742057155,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09650676961","server_ip":"118.185.137.196","insertTime":1742057155,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057131,"endTime":1742057155,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7406
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7406
            [uid] => u595
            [unique_id] => 36075_7406_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057110
            [channelDTime] => 1742057155
            [channelDuration] => 45
            [cSTime] => 1742057131
            [cETime] => 1742057155
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09650676961
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057155
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057131
                                    [endTime] => 1742057155
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3083
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.64000000000567
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29849.119999998264
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3083
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.64000000000567
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95532.24000000849
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057156
{"compaign_id":"36075","contact_id":"7543","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7543","uid":"u595","unique_id":"36075_7543_138-u595","ivrId":"3158","channelOTime":1742057141,"channelDTime":1742057155,"channelDuration":14,"cSTime":1742057152,"cETime":1742057155,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08000425302","server_ip":"118.185.137.196","insertTime":1742057155,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057143,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7543
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7543
            [uid] => u595
            [unique_id] => 36075_7543_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057141
            [channelDTime] => 1742057155
            [channelDuration] => 14
            [cSTime] => 1742057152
            [cETime] => 1742057155
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08000425302
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057155
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057143
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3085
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.80000000000567
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29848.959999998264
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3085
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.80000000000567
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95532.08000000849
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057157
{"compaign_id":"36075","contact_id":"7568","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7568","uid":"u595","unique_id":"36075_7568_138-u595","ivrId":"3158","channelOTime":1742057148,"channelDTime":1742057155,"channelDuration":7,"cSTime":1742057153,"cETime":1742057155,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09875179996","server_ip":"118.185.137.196","insertTime":1742057155,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057150,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7568
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7568
            [uid] => u595
            [unique_id] => 36075_7568_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057148
            [channelDTime] => 1742057155
            [channelDuration] => 7
            [cSTime] => 1742057153
            [cETime] => 1742057155
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09875179996
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057155
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057150
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3086
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.88000000000568
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29848.879999998262
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3086
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.88000000000568
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95532.00000000848
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057157
{"compaign_id":"36075","contact_id":"7489","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7489","uid":"u595","unique_id":"36075_7489_138-u595","ivrId":"3158","channelOTime":1742057129,"channelDTime":1742057155,"channelDuration":26,"cSTime":1742057141,"cETime":1742057155,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07076408641","server_ip":"118.185.137.196","insertTime":1742057155,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057132,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7489
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7489
            [uid] => u595
            [unique_id] => 36075_7489_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057129
            [channelDTime] => 1742057155
            [channelDuration] => 26
            [cSTime] => 1742057141
            [cETime] => 1742057155
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07076408641
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057155
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057132
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3087
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.9600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29848.79999999826
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3087
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 246.9600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95531.92000000848
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057157
{"compaign_id":"36075","contact_id":"7494","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7494","uid":"u595","unique_id":"36075_7494_138-u595","ivrId":"3158","channelOTime":1742057130,"channelDTime":1742057156,"channelDuration":26,"cSTime":1742057137,"cETime":1742057156,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08878770033","server_ip":"118.185.137.196","insertTime":1742057156,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057131,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7494
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7494
            [uid] => u595
            [unique_id] => 36075_7494_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057130
            [channelDTime] => 1742057156
            [channelDuration] => 26
            [cSTime] => 1742057137
            [cETime] => 1742057156
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08878770033
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057156
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057131
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3088
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.0400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29848.71999999826
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3088
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.0400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95531.84000000848
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057158
{"compaign_id":"36075","contact_id":"7525","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7525","uid":"u595","unique_id":"36075_7525_138-u595","ivrId":"3158","channelOTime":1742057138,"channelDTime":1742057157,"channelDuration":19,"cSTime":1742057154,"cETime":1742057157,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08578859695","server_ip":"118.185.137.196","insertTime":1742057157,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057139,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7525
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7525
            [uid] => u595
            [unique_id] => 36075_7525_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057138
            [channelDTime] => 1742057157
            [channelDuration] => 19
            [cSTime] => 1742057154
            [cETime] => 1742057157
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08578859695
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057157
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057139
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3090
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.2000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29848.55999999826
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3090
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.2000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95531.68000000848
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057159
{"compaign_id":"36075","contact_id":"7553","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7553","uid":"u595","unique_id":"36075_7553_138-u595","ivrId":"3158","channelOTime":1742057145,"channelDTime":1742057157,"channelDuration":12,"cSTime":1742057154,"cETime":1742057157,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08726922057","server_ip":"118.185.137.196","insertTime":1742057157,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057148,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7553
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7553
            [uid] => u595
            [unique_id] => 36075_7553_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057145
            [channelDTime] => 1742057157
            [channelDuration] => 12
            [cSTime] => 1742057154
            [cETime] => 1742057157
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08726922057
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057157
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057148
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3091
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.2800000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29848.479999998257
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3091
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.2800000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95531.60000000848
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057159
{"compaign_id":"36075","contact_id":"7404","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7404","uid":"u595","unique_id":"36075_7404_138-u595","ivrId":"3158","channelOTime":1742057110,"channelDTime":1742057158,"channelDuration":48,"cSTime":1742057134,"cETime":1742057158,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09558470262","server_ip":"118.185.137.196","insertTime":1742057158,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057114,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057134,"endTime":1742057158,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7404
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7404
            [uid] => u595
            [unique_id] => 36075_7404_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057110
            [channelDTime] => 1742057158
            [channelDuration] => 48
            [cSTime] => 1742057134
            [cETime] => 1742057158
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09558470262
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057158
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057114
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057134
                                    [endTime] => 1742057158
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3092
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.36000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29848.399999998255
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3092
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.36000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95531.52000000847
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057159
{"compaign_id":"36075","contact_id":"7544","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7544","uid":"u595","unique_id":"36075_7544_138-u595","ivrId":"3158","channelOTime":1742057141,"channelDTime":1742057158,"channelDuration":17,"cSTime":1742057154,"cETime":1742057158,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09622511991","server_ip":"118.185.137.196","insertTime":1742057158,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057144,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7544
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7544
            [uid] => u595
            [unique_id] => 36075_7544_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057141
            [channelDTime] => 1742057158
            [channelDuration] => 17
            [cSTime] => 1742057154
            [cETime] => 1742057158
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09622511991
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057158
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057144
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3094
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.52000000000572
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29848.239999998255
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3094
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.52000000000572
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95531.36000000847
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057160
{"compaign_id":"36075","contact_id":"7487","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7487","uid":"u595","unique_id":"36075_7487_138-u595","ivrId":"3158","channelOTime":1742057128,"channelDTime":1742057159,"channelDuration":31,"cSTime":1742057136,"cETime":1742057159,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08891989891","server_ip":"118.185.137.196","insertTime":1742057159,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057130,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057136,"endTime":1742057159,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7487
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7487
            [uid] => u595
            [unique_id] => 36075_7487_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057128
            [channelDTime] => 1742057159
            [channelDuration] => 31
            [cSTime] => 1742057136
            [cETime] => 1742057159
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08891989891
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057159
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057130
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057136
                                    [endTime] => 1742057159
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3095
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.60000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29848.159999998254
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3095
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.60000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95531.28000000847
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057161
{"compaign_id":"36075","contact_id":"7444","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7444","uid":"u595","unique_id":"36075_7444_138-u595","ivrId":"3158","channelOTime":1742057118,"channelDTime":1742057160,"channelDuration":42,"cSTime":1742057136,"cETime":1742057160,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08799534991","server_ip":"118.185.137.196","insertTime":1742057160,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057120,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057136,"endTime":1742057160,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7444
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7444
            [uid] => u595
            [unique_id] => 36075_7444_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057118
            [channelDTime] => 1742057160
            [channelDuration] => 42
            [cSTime] => 1742057136
            [cETime] => 1742057160
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08799534991
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057160
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057120
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057136
                                    [endTime] => 1742057160
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3097
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.76000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29847.999999998254
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3097
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.76000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95531.12000000846
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057161
{"compaign_id":"36075","contact_id":"7571","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7571","uid":"u595","unique_id":"36075_7571_138-u595","ivrId":"3158","channelOTime":1742057149,"channelDTime":1742057160,"channelDuration":11,"cSTime":1742057156,"cETime":1742057160,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08851987148","server_ip":"118.185.137.196","insertTime":1742057160,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057150,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7571
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7571
            [uid] => u595
            [unique_id] => 36075_7571_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057149
            [channelDTime] => 1742057160
            [channelDuration] => 11
            [cSTime] => 1742057156
            [cETime] => 1742057160
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08851987148
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057160
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057150
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3099
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.92000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29847.839999998254
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3099
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 247.92000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95530.96000000846
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057162
2025-03-15 22:16:03[LOG]Starting Cron
2025-03-15 22:16:03[LOG]Process is already running
{"compaign_id":"36075","contact_id":"7523","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7523","uid":"u595","unique_id":"36075_7523_138-u595","ivrId":"3158","channelOTime":1742057137,"channelDTime":1742057162,"channelDuration":25,"cSTime":1742057158,"cETime":1742057162,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08296084345","server_ip":"118.185.137.196","insertTime":1742057162,"ivrData":{"#2":["2"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057139,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057158,"endTime":1742057163,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7523
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7523
            [uid] => u595
            [unique_id] => 36075_7523_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057137
            [channelDTime] => 1742057162
            [channelDuration] => 25
            [cSTime] => 1742057158
            [cETime] => 1742057162
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08296084345
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057162
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 2
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057139
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057158
                                    [endTime] => 1742057163
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3100
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.00000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29847.759999998252
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3100
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.00000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95530.88000000846
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057164
{"compaign_id":"36075","contact_id":"7573","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7573","uid":"u595","unique_id":"36075_7573_138-u595","ivrId":"3158","channelOTime":1742057149,"channelDTime":1742057163,"channelDuration":14,"cSTime":1742057157,"cETime":1742057163,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07680056514","server_ip":"118.185.137.196","insertTime":1742057163,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057152,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7573
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7573
            [uid] => u595
            [unique_id] => 36075_7573_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057149
            [channelDTime] => 1742057163
            [channelDuration] => 14
            [cSTime] => 1742057157
            [cETime] => 1742057163
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07680056514
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057163
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057152
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3101
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.08000000000575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29847.67999999825
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3101
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.08000000000575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95530.80000000846
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057165
{"compaign_id":"36075","contact_id":"7535","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7535","uid":"u595","unique_id":"36075_7535_138-u595","ivrId":"3158","channelOTime":1742057140,"channelDTime":1742057163,"channelDuration":23,"cSTime":1742057153,"cETime":1742057163,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07678351273","server_ip":"118.185.137.196","insertTime":1742057163,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057144,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7535
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7535
            [uid] => u595
            [unique_id] => 36075_7535_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057140
            [channelDTime] => 1742057163
            [channelDuration] => 23
            [cSTime] => 1742057153
            [cETime] => 1742057163
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07678351273
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057163
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057144
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3102
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.16000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29847.59999999825
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3102
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.16000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95530.72000000846
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057165
{"compaign_id":"36075","contact_id":"7509","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7509","uid":"u595","unique_id":"36075_7509_138-u595","ivrId":"3158","channelOTime":1742057134,"channelDTime":1742057163,"channelDuration":29,"cSTime":1742057146,"cETime":1742057163,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08008350390","server_ip":"118.185.137.196","insertTime":1742057163,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057137,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7509
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7509
            [uid] => u595
            [unique_id] => 36075_7509_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057134
            [channelDTime] => 1742057163
            [channelDuration] => 29
            [cSTime] => 1742057146
            [cETime] => 1742057163
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08008350390
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057163
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057137
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3103
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.24000000000578
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29847.519999998247
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3103
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.24000000000578
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95530.64000000845
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057165
{"compaign_id":"36075","contact_id":"7449","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7449","uid":"u595","unique_id":"36075_7449_138-u595","ivrId":"3158","channelOTime":1742057119,"channelDTime":1742057164,"channelDuration":45,"cSTime":1742057141,"cETime":1742057164,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08730890863","server_ip":"118.185.137.196","insertTime":1742057164,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057121,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057141,"endTime":1742057164,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7449
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7449
            [uid] => u595
            [unique_id] => 36075_7449_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057119
            [channelDTime] => 1742057164
            [channelDuration] => 45
            [cSTime] => 1742057141
            [cETime] => 1742057164
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08730890863
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057164
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057121
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057141
                                    [endTime] => 1742057164
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3105
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.40000000000578
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29847.359999998247
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3105
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.40000000000578
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95530.48000000845
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057166
{"compaign_id":"36075","contact_id":"7548","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7548","uid":"u595","unique_id":"36075_7548_138-u595","ivrId":"3158","channelOTime":1742057142,"channelDTime":1742057165,"channelDuration":23,"cSTime":1742057160,"cETime":1742057165,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09515975606","server_ip":"118.185.137.196","insertTime":1742057165,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057144,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7548
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7548
            [uid] => u595
            [unique_id] => 36075_7548_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057142
            [channelDTime] => 1742057165
            [channelDuration] => 23
            [cSTime] => 1742057160
            [cETime] => 1742057165
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09515975606
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057165
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057144
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3107
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.56000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29847.199999998247
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3107
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.56000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95530.32000000845
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057167
{"compaign_id":"36075","contact_id":"7512","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7512","uid":"u595","unique_id":"36075_7512_138-u595","ivrId":"3158","channelOTime":1742057135,"channelDTime":1742057166,"channelDuration":31,"cSTime":1742057142,"cETime":1742057166,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09159154819","server_ip":"118.185.137.196","insertTime":1742057166,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057136,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057142,"endTime":1742057166,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7512
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7512
            [uid] => u595
            [unique_id] => 36075_7512_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057135
            [channelDTime] => 1742057166
            [channelDuration] => 31
            [cSTime] => 1742057142
            [cETime] => 1742057166
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09159154819
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057166
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057136
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057142
                                    [endTime] => 1742057166
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3108
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.64000000000578
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29847.119999998245
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3108
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.64000000000578
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95530.24000000845
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057167
{"compaign_id":"36075","contact_id":"7564","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7564","uid":"u595","unique_id":"36075_7564_138-u595","ivrId":"3158","channelOTime":1742057147,"channelDTime":1742057166,"channelDuration":19,"cSTime":1742057160,"cETime":1742057166,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07300185510","server_ip":"118.185.137.196","insertTime":1742057166,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057149,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7564
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7564
            [uid] => u595
            [unique_id] => 36075_7564_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057147
            [channelDTime] => 1742057166
            [channelDuration] => 19
            [cSTime] => 1742057160
            [cETime] => 1742057166
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07300185510
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057166
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057149
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3110
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.80000000000578
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29846.959999998246
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3110
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.80000000000578
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95530.08000000844
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057168
{"compaign_id":"36075","contact_id":"7506","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7506","uid":"u595","unique_id":"36075_7506_138-u595","ivrId":"3158","channelOTime":1742057134,"channelDTime":1742057166,"channelDuration":32,"cSTime":1742057142,"cETime":1742057166,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09198449599","server_ip":"118.185.137.196","insertTime":1742057166,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057136,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057142,"endTime":1742057161,"duration":19}],"#3":[{"startTime":1742057161,"endTime":1742057166,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7506
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7506
            [uid] => u595
            [unique_id] => 36075_7506_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057134
            [channelDTime] => 1742057166
            [channelDuration] => 32
            [cSTime] => 1742057142
            [cETime] => 1742057166
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09198449599
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057166
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057136
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057142
                                    [endTime] => 1742057161
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057161
                                    [endTime] => 1742057166
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3111
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.8800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29846.879999998244
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3111
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 248.8800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95530.00000000844
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057168
{"compaign_id":"36075","contact_id":"7583","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7583","uid":"u595","unique_id":"36075_7583_138-u595","ivrId":"3158","channelOTime":1742057151,"channelDTime":1742057167,"channelDuration":16,"cSTime":1742057156,"cETime":1742057167,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07618500016","server_ip":"118.185.137.196","insertTime":1742057167,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057153,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7583
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7583
            [uid] => u595
            [unique_id] => 36075_7583_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057151
            [channelDTime] => 1742057167
            [channelDuration] => 16
            [cSTime] => 1742057156
            [cETime] => 1742057167
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07618500016
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057167
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057153
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3113
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.0400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29846.719999998244
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3113
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.0400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95529.84000000844
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057169
{"compaign_id":"36075","contact_id":"7599","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7599","uid":"u595","unique_id":"36075_7599_138-u595","ivrId":"3158","channelOTime":1742057154,"channelDTime":1742057167,"channelDuration":13,"cSTime":1742057160,"cETime":1742057167,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09667920406","server_ip":"118.185.137.196","insertTime":1742057167,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057156,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7599
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7599
            [uid] => u595
            [unique_id] => 36075_7599_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057154
            [channelDTime] => 1742057167
            [channelDuration] => 13
            [cSTime] => 1742057160
            [cETime] => 1742057167
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09667920406
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057167
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057156
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3114
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.1200000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29846.639999998242
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3114
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.1200000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95529.76000000843
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057169
{"compaign_id":"36075","contact_id":"7521","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7521","uid":"u595","unique_id":"36075_7521_138-u595","ivrId":"3158","channelOTime":1742057137,"channelDTime":1742057168,"channelDuration":31,"cSTime":1742057145,"cETime":1742057168,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07500541863","server_ip":"118.185.137.196","insertTime":1742057168,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057139,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057145,"endTime":1742057168,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7521
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7521
            [uid] => u595
            [unique_id] => 36075_7521_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057137
            [channelDTime] => 1742057168
            [channelDuration] => 31
            [cSTime] => 1742057145
            [cETime] => 1742057168
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07500541863
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057168
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057139
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057145
                                    [endTime] => 1742057168
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3115
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.20000000000582
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29846.55999999824
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3115
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.20000000000582
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95529.68000000843
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057170
{"compaign_id":"36075","contact_id":"7567","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7567","uid":"u595","unique_id":"36075_7567_138-u595","ivrId":"3158","channelOTime":1742057148,"channelDTime":1742057169,"channelDuration":21,"cSTime":1742057162,"cETime":1742057169,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07090704375","server_ip":"118.185.137.196","insertTime":1742057169,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057151,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7567
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7567
            [uid] => u595
            [unique_id] => 36075_7567_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057148
            [channelDTime] => 1742057169
            [channelDuration] => 21
            [cSTime] => 1742057162
            [cETime] => 1742057169
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07090704375
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057169
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057151
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3117
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.3600000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29846.39999999824
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3117
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.3600000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95529.52000000843
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057170
{"compaign_id":"36075","contact_id":"7585","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7585","uid":"u595","unique_id":"36075_7585_138-u595","ivrId":"3158","channelOTime":1742057151,"channelDTime":1742057169,"channelDuration":18,"cSTime":1742057166,"cETime":1742057169,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09640088148","server_ip":"118.185.137.196","insertTime":1742057169,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057154,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7585
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7585
            [uid] => u595
            [unique_id] => 36075_7585_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057151
            [channelDTime] => 1742057169
            [channelDuration] => 18
            [cSTime] => 1742057166
            [cETime] => 1742057169
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09640088148
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057169
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057154
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3118
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.44000000000582
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29846.31999999824
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3118
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.44000000000582
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95529.44000000843
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057171
{"compaign_id":"36075","contact_id":"7528","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7528","uid":"u595","unique_id":"36075_7528_138-u595","ivrId":"3158","channelOTime":1742057138,"channelDTime":1742057169,"channelDuration":31,"cSTime":1742057146,"cETime":1742057169,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06309586020","server_ip":"118.185.137.196","insertTime":1742057169,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057141,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057146,"endTime":1742057169,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7528
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7528
            [uid] => u595
            [unique_id] => 36075_7528_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057138
            [channelDTime] => 1742057169
            [channelDuration] => 31
            [cSTime] => 1742057146
            [cETime] => 1742057169
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06309586020
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057169
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057141
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057146
                                    [endTime] => 1742057169
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3119
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.52000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29846.239999998237
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3119
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.52000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95529.36000000843
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057171
{"compaign_id":"36075","contact_id":"7579","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7579","uid":"u595","unique_id":"36075_7579_138-u595","ivrId":"3158","channelOTime":1742057150,"channelDTime":1742057169,"channelDuration":19,"cSTime":1742057163,"cETime":1742057169,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08397975236","server_ip":"118.185.137.196","insertTime":1742057169,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057152,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7579
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7579
            [uid] => u595
            [unique_id] => 36075_7579_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057150
            [channelDTime] => 1742057169
            [channelDuration] => 19
            [cSTime] => 1742057163
            [cETime] => 1742057169
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08397975236
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057169
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057152
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3121
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.68000000000583
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29846.079999998237
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3121
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.68000000000583
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95529.20000000842
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057171
{"compaign_id":"36075","contact_id":"7505","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7505","uid":"u595","unique_id":"36075_7505_138-u595","ivrId":"3158","channelOTime":1742057134,"channelDTime":1742057169,"channelDuration":35,"cSTime":1742057164,"cETime":1742057169,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07818933409","server_ip":"118.185.137.196","insertTime":1742057169,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057137,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7505
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7505
            [uid] => u595
            [unique_id] => 36075_7505_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057134
            [channelDTime] => 1742057169
            [channelDuration] => 35
            [cSTime] => 1742057164
            [cETime] => 1742057169
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07818933409
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057169
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057137
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3122
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.76000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29845.999999998236
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3122
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.76000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95529.12000000842
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057171
{"compaign_id":"36075","contact_id":"7469","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7469","uid":"u595","unique_id":"36075_7469_138-u595","ivrId":"3158","channelOTime":1742057125,"channelDTime":1742057172,"channelDuration":47,"cSTime":1742057150,"cETime":1742057172,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09801859895","server_ip":"118.185.137.196","insertTime":1742057172,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057128,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057150,"endTime":1742057174,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7469
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7469
            [uid] => u595
            [unique_id] => 36075_7469_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057125
            [channelDTime] => 1742057172
            [channelDuration] => 47
            [cSTime] => 1742057150
            [cETime] => 1742057172
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09801859895
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057172
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057128
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057150
                                    [endTime] => 1742057174
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3123
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.84000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29845.919999998234
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3123
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 249.84000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95529.04000000842
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057174
{"compaign_id":"36075","contact_id":"7503","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7503","uid":"u595","unique_id":"36075_7503_138-u595","ivrId":"3158","channelOTime":1742057133,"channelDTime":1742057175,"channelDuration":42,"cSTime":1742057152,"cETime":1742057175,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09136983333","server_ip":"118.185.137.196","insertTime":1742057175,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057136,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057152,"endTime":1742057175,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7503
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7503
            [uid] => u595
            [unique_id] => 36075_7503_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057133
            [channelDTime] => 1742057175
            [channelDuration] => 42
            [cSTime] => 1742057152
            [cETime] => 1742057175
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09136983333
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057175
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057136
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057152
                                    [endTime] => 1742057175
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3125
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.00000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29845.759999998234
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3125
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.00000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95528.88000000842
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057177
{"compaign_id":"36075","contact_id":"7532","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7532","uid":"u595","unique_id":"36075_7532_138-u595","ivrId":"3158","channelOTime":1742057139,"channelDTime":1742057176,"channelDuration":37,"cSTime":1742057164,"cETime":1742057176,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07795703275","server_ip":"118.185.137.196","insertTime":1742057176,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057142,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7532
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7532
            [uid] => u595
            [unique_id] => 36075_7532_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057139
            [channelDTime] => 1742057176
            [channelDuration] => 37
            [cSTime] => 1742057164
            [cETime] => 1742057176
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07795703275
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057176
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057142
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3127
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.16000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29845.599999998234
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3127
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.16000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95528.72000000841
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057177
{"compaign_id":"36075","contact_id":"7577","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7577","uid":"u595","unique_id":"36075_7577_138-u595","ivrId":"3158","channelOTime":1742057150,"channelDTime":1742057178,"channelDuration":28,"cSTime":1742057155,"cETime":1742057178,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08809744904","server_ip":"118.185.137.196","insertTime":1742057178,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057151,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057155,"endTime":1742057178,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7577
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7577
            [uid] => u595
            [unique_id] => 36075_7577_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057150
            [channelDTime] => 1742057178
            [channelDuration] => 28
            [cSTime] => 1742057155
            [cETime] => 1742057178
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08809744904
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057178
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057151
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057155
                                    [endTime] => 1742057178
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3128
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.24000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29845.519999998232
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3128
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.24000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95528.64000000841
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057180
{"compaign_id":"36075","contact_id":"7562","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7562","uid":"u595","unique_id":"36075_7562_138-u595","ivrId":"3158","channelOTime":1742057147,"channelDTime":1742057178,"channelDuration":31,"cSTime":1742057172,"cETime":1742057178,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09014253194","server_ip":"118.185.137.196","insertTime":1742057178,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057150,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7562
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7562
            [uid] => u595
            [unique_id] => 36075_7562_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057147
            [channelDTime] => 1742057178
            [channelDuration] => 31
            [cSTime] => 1742057172
            [cETime] => 1742057178
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09014253194
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057178
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057150
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3130
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.40000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29845.359999998233
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3130
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.40000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95528.4800000084
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057180
{"compaign_id":"36075","contact_id":"7510","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7510","uid":"u595","unique_id":"36075_7510_138-u595","ivrId":"3158","channelOTime":1742057135,"channelDTime":1742057179,"channelDuration":44,"cSTime":1742057155,"cETime":1742057179,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09365138093","server_ip":"118.185.137.196","insertTime":1742057179,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057136,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057155,"endTime":1742057179,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7510
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7510
            [uid] => u595
            [unique_id] => 36075_7510_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057135
            [channelDTime] => 1742057179
            [channelDuration] => 44
            [cSTime] => 1742057155
            [cETime] => 1742057179
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09365138093
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057179
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057136
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057155
                                    [endTime] => 1742057179
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3131
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.48000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29845.27999999823
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3131
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.48000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95528.4000000084
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057180
{"compaign_id":"36075","contact_id":"7593","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7593","uid":"u595","unique_id":"36075_7593_138-u595","ivrId":"3158","channelOTime":1742057153,"channelDTime":1742057179,"channelDuration":26,"cSTime":1742057173,"cETime":1742057179,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09131859037","server_ip":"118.185.137.196","insertTime":1742057179,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057157,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7593
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7593
            [uid] => u595
            [unique_id] => 36075_7593_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057153
            [channelDTime] => 1742057179
            [channelDuration] => 26
            [cSTime] => 1742057173
            [cETime] => 1742057179
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09131859037
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057179
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057157
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3133
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.64000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29845.11999999823
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3133
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.64000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95528.2400000084
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057181
{"compaign_id":"36075","contact_id":"7597","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7597","uid":"u595","unique_id":"36075_7597_138-u595","ivrId":"3158","channelOTime":1742057154,"channelDTime":1742057180,"channelDuration":26,"cSTime":1742057168,"cETime":1742057180,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08839046015","server_ip":"118.185.137.196","insertTime":1742057180,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057157,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7597
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7597
            [uid] => u595
            [unique_id] => 36075_7597_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057154
            [channelDTime] => 1742057180
            [channelDuration] => 26
            [cSTime] => 1742057168
            [cETime] => 1742057180
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08839046015
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057180
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057157
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3134
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.72000000000588
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29845.03999999823
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3134
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.72000000000588
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95528.1600000084
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057181
{"compaign_id":"36075","contact_id":"7534","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7534","uid":"u595","unique_id":"36075_7534_138-u595","ivrId":"3158","channelOTime":1742057139,"channelDTime":1742057180,"channelDuration":41,"cSTime":1742057156,"cETime":1742057180,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08707352234","server_ip":"118.185.137.196","insertTime":1742057180,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057141,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057156,"endTime":1742057180,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7534
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7534
            [uid] => u595
            [unique_id] => 36075_7534_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057139
            [channelDTime] => 1742057180
            [channelDuration] => 41
            [cSTime] => 1742057156
            [cETime] => 1742057180
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08707352234
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057180
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057141
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057156
                                    [endTime] => 1742057180
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3135
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.8000000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29844.959999998227
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3135
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.8000000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95528.0800000084
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057182
{"compaign_id":"36075","contact_id":"7576","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7576","uid":"u595","unique_id":"36075_7576_138-u595","ivrId":"3158","channelOTime":1742057150,"channelDTime":1742057182,"channelDuration":32,"cSTime":1742057167,"cETime":1742057182,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09014038380","server_ip":"118.185.137.196","insertTime":1742057182,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057152,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7576
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7576
            [uid] => u595
            [unique_id] => 36075_7576_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057150
            [channelDTime] => 1742057182
            [channelDuration] => 32
            [cSTime] => 1742057167
            [cETime] => 1742057182
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09014038380
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057182
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057152
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3137
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.9600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29844.799999998228
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3137
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 250.9600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95527.9200000084
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057184
{"compaign_id":"36075","contact_id":"7546","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7546","uid":"u595","unique_id":"36075_7546_138-u595","ivrId":"3158","channelOTime":1742057142,"channelDTime":1742057184,"channelDuration":42,"cSTime":1742057160,"cETime":1742057184,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09043882135","server_ip":"118.185.137.196","insertTime":1742057184,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057145,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057160,"endTime":1742057184,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7546
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7546
            [uid] => u595
            [unique_id] => 36075_7546_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057142
            [channelDTime] => 1742057184
            [channelDuration] => 42
            [cSTime] => 1742057160
            [cETime] => 1742057184
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09043882135
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057184
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057145
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057160
                                    [endTime] => 1742057184
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3138
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.0400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29844.719999998226
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3138
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.0400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95527.8400000084
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057185
{"compaign_id":"36075","contact_id":"7540","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7540","uid":"u595","unique_id":"36075_7540_138-u595","ivrId":"3158","channelOTime":1742057141,"channelDTime":1742057184,"channelDuration":43,"cSTime":1742057167,"cETime":1742057184,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06200297055","server_ip":"118.185.137.196","insertTime":1742057184,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057147,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7540
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7540
            [uid] => u595
            [unique_id] => 36075_7540_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057141
            [channelDTime] => 1742057184
            [channelDuration] => 43
            [cSTime] => 1742057167
            [cETime] => 1742057184
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06200297055
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057184
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057147
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3140
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.2000000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29844.559999998226
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3140
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.2000000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95527.68000000839
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057186
{"compaign_id":"36075","contact_id":"7587","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7587","uid":"u595","unique_id":"36075_7587_138-u595","ivrId":"3158","channelOTime":1742057152,"channelDTime":1742057184,"channelDuration":32,"cSTime":1742057180,"cETime":1742057184,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09569430902","server_ip":"118.185.137.196","insertTime":1742057184,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057153,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7587
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7587
            [uid] => u595
            [unique_id] => 36075_7587_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057152
            [channelDTime] => 1742057184
            [channelDuration] => 32
            [cSTime] => 1742057180
            [cETime] => 1742057184
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09569430902
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057184
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057153
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3142
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.3600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29844.399999998226
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3142
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.3600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95527.52000000839
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057186
{"compaign_id":"36075","contact_id":"7596","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7596","uid":"u595","unique_id":"36075_7596_138-u595","ivrId":"3158","channelOTime":1742057154,"channelDTime":1742057185,"channelDuration":31,"cSTime":1742057168,"cETime":1742057185,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09763760253","server_ip":"118.185.137.196","insertTime":1742057185,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057156,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7596
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7596
            [uid] => u595
            [unique_id] => 36075_7596_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057154
            [channelDTime] => 1742057185
            [channelDuration] => 31
            [cSTime] => 1742057168
            [cETime] => 1742057185
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09763760253
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057185
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057156
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3143
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.4400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29844.319999998224
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3143
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.4400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95527.44000000838
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057186
{"compaign_id":"36075","contact_id":"7581","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7581","uid":"u595","unique_id":"36075_7581_138-u595","ivrId":"3158","channelOTime":1742057151,"channelDTime":1742057185,"channelDuration":34,"cSTime":1742057178,"cETime":1742057185,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07093133513","server_ip":"118.185.137.196","insertTime":1742057185,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057153,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7581
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7581
            [uid] => u595
            [unique_id] => 36075_7581_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057151
            [channelDTime] => 1742057185
            [channelDuration] => 34
            [cSTime] => 1742057178
            [cETime] => 1742057185
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07093133513
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057185
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057153
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3145
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.6000000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29844.159999998225
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3145
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.6000000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95527.28000000838
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057187
{"compaign_id":"36075","contact_id":"7586","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7586","uid":"u595","unique_id":"36075_7586_138-u595","ivrId":"3158","channelOTime":1742057152,"channelDTime":1742057186,"channelDuration":34,"cSTime":1742057171,"cETime":1742057186,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08759575227","server_ip":"118.185.137.196","insertTime":1742057186,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057155,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7586
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7586
            [uid] => u595
            [unique_id] => 36075_7586_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057152
            [channelDTime] => 1742057186
            [channelDuration] => 34
            [cSTime] => 1742057171
            [cETime] => 1742057186
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08759575227
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057186
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057155
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3146
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.68000000000592
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29844.079999998223
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3146
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.68000000000592
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95527.20000000838
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057187
{"compaign_id":"36075","contact_id":"7547","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7547","uid":"u595","unique_id":"36075_7547_138-u595","ivrId":"3158","channelOTime":1742057142,"channelDTime":1742057188,"channelDuration":46,"cSTime":1742057164,"cETime":1742057188,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06206165743","server_ip":"118.185.137.196","insertTime":1742057188,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057159,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057164,"endTime":1742057188,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7547
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7547
            [uid] => u595
            [unique_id] => 36075_7547_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057142
            [channelDTime] => 1742057188
            [channelDuration] => 46
            [cSTime] => 1742057164
            [cETime] => 1742057188
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06206165743
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057188
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057159
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057164
                                    [endTime] => 1742057188
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3147
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.76000000000593
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29843.99999999822
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3147
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.76000000000593
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95527.12000000838
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057189
{"compaign_id":"36075","contact_id":"7618","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7618","uid":"u595","unique_id":"36075_7618_138-u595","ivrId":"3158","channelOTime":1742057171,"channelDTime":1742057188,"channelDuration":17,"cSTime":1742057184,"cETime":1742057188,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08521296434","server_ip":"118.185.137.196","insertTime":1742057188,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057173,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7618
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7618
            [uid] => u595
            [unique_id] => 36075_7618_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057171
            [channelDTime] => 1742057188
            [channelDuration] => 17
            [cSTime] => 1742057184
            [cETime] => 1742057188
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08521296434
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057188
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057173
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3149
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.92000000000593
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29843.83999999822
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3149
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 251.92000000000593
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95526.96000000837
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057190
{"compaign_id":"36075","contact_id":"7559","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7559","uid":"u595","unique_id":"36075_7559_138-u595","ivrId":"3158","channelOTime":1742057146,"channelDTime":1742057189,"channelDuration":43,"cSTime":1742057165,"cETime":1742057189,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09703003605","server_ip":"118.185.137.196","insertTime":1742057189,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057151,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057165,"endTime":1742057189,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7559
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7559
            [uid] => u595
            [unique_id] => 36075_7559_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057146
            [channelDTime] => 1742057189
            [channelDuration] => 43
            [cSTime] => 1742057165
            [cETime] => 1742057189
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09703003605
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057189
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057151
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057165
                                    [endTime] => 1742057189
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3150
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.00000000000594
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29843.75999999822
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3150
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.00000000000594
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95526.88000000837
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057190
{"compaign_id":"36075","contact_id":"7652","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7652","uid":"u595","unique_id":"36075_7652_138-u595","ivrId":"3158","channelOTime":1742057179,"channelDTime":1742057191,"channelDuration":12,"cSTime":1742057188,"cETime":1742057191,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09845663093","server_ip":"118.185.137.196","insertTime":1742057191,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057182,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7652
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7652
            [uid] => u595
            [unique_id] => 36075_7652_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057179
            [channelDTime] => 1742057191
            [channelDuration] => 12
            [cSTime] => 1742057188
            [cETime] => 1742057191
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09845663093
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057191
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057182
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3152
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.16000000000594
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29843.59999999822
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3152
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.16000000000594
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95526.72000000837
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057192
{"compaign_id":"36075","contact_id":"7664","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7664","uid":"u595","unique_id":"36075_7664_138-u595","ivrId":"3158","channelOTime":1742057183,"channelDTime":1742057191,"channelDuration":8,"cSTime":1742057187,"cETime":1742057191,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09799876880","server_ip":"118.185.137.196","insertTime":1742057191,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057186,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7664
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7664
            [uid] => u595
            [unique_id] => 36075_7664_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057183
            [channelDTime] => 1742057191
            [channelDuration] => 8
            [cSTime] => 1742057187
            [cETime] => 1742057191
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09799876880
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057191
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057186
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3153
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.24000000000595
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29843.519999998218
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3153
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.24000000000595
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95526.64000000837
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057193
{"compaign_id":"36075","contact_id":"7612","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7612","uid":"u595","unique_id":"36075_7612_138-u595","ivrId":"3158","channelOTime":1742057170,"channelDTime":1742057191,"channelDuration":21,"cSTime":1742057180,"cETime":1742057191,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09960698086","server_ip":"118.185.137.196","insertTime":1742057191,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057171,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7612
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7612
            [uid] => u595
            [unique_id] => 36075_7612_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057170
            [channelDTime] => 1742057191
            [channelDuration] => 21
            [cSTime] => 1742057180
            [cETime] => 1742057191
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09960698086
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057191
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057171
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3154
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.32000000000596
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29843.439999998216
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3154
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.32000000000596
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95526.56000000837
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057193
{"compaign_id":"36075","contact_id":"7605","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7605","uid":"u595","unique_id":"36075_7605_138-u595","ivrId":"3158","channelOTime":1742057168,"channelDTime":1742057191,"channelDuration":23,"cSTime":1742057180,"cETime":1742057191,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08328866893","server_ip":"118.185.137.196","insertTime":1742057191,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057171,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7605
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7605
            [uid] => u595
            [unique_id] => 36075_7605_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057168
            [channelDTime] => 1742057191
            [channelDuration] => 23
            [cSTime] => 1742057180
            [cETime] => 1742057191
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08328866893
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057191
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057171
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3155
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.40000000000597
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29843.359999998214
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3155
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.40000000000597
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95526.48000000836
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057193
{"compaign_id":"36075","contact_id":"7538","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7538","uid":"u595","unique_id":"36075_7538_138-u595","ivrId":"3158","channelOTime":1742057140,"channelDTime":1742057192,"channelDuration":52,"cSTime":1742057168,"cETime":1742057192,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07738656192","server_ip":"118.185.137.196","insertTime":1742057192,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057143,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057168,"endTime":1742057192,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7538
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7538
            [uid] => u595
            [unique_id] => 36075_7538_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057140
            [channelDTime] => 1742057192
            [channelDuration] => 52
            [cSTime] => 1742057168
            [cETime] => 1742057192
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07738656192
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057192
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057143
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057168
                                    [endTime] => 1742057192
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3156
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.480000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29843.279999998213
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3156
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.480000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95526.40000000836
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057193
{"compaign_id":"36075","contact_id":"7640","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7640","uid":"u595","unique_id":"36075_7640_138-u595","ivrId":"3158","channelOTime":1742057175,"channelDTime":1742057192,"channelDuration":17,"cSTime":1742057184,"cETime":1742057192,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09528465675","server_ip":"118.185.137.196","insertTime":1742057192,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057178,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7640
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7640
            [uid] => u595
            [unique_id] => 36075_7640_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057175
            [channelDTime] => 1742057192
            [channelDuration] => 17
            [cSTime] => 1742057184
            [cETime] => 1742057192
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09528465675
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057192
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057178
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3158
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.64000000000598
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29843.119999998213
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3158
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.64000000000598
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95526.24000000836
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057193
{"compaign_id":"36075","contact_id":"7666","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7666","uid":"u595","unique_id":"36075_7666_138-u595","ivrId":"3158","channelOTime":1742057183,"channelDTime":1742057193,"channelDuration":10,"cSTime":1742057189,"cETime":1742057193,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09542436471","server_ip":"118.185.137.196","insertTime":1742057193,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057185,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7666
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7666
            [uid] => u595
            [unique_id] => 36075_7666_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057183
            [channelDTime] => 1742057193
            [channelDuration] => 10
            [cSTime] => 1742057189
            [cETime] => 1742057193
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09542436471
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057193
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057185
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3159
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.720000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29843.03999999821
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3159
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.720000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95526.16000000836
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057195
{"compaign_id":"36075","contact_id":"7620","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7620","uid":"u595","unique_id":"36075_7620_138-u595","ivrId":"3158","channelOTime":1742057171,"channelDTime":1742057194,"channelDuration":23,"cSTime":1742057178,"cETime":1742057194,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08709207443","server_ip":"118.185.137.196","insertTime":1742057194,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057173,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7620
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7620
            [uid] => u595
            [unique_id] => 36075_7620_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057171
            [channelDTime] => 1742057194
            [channelDuration] => 23
            [cSTime] => 1742057178
            [cETime] => 1742057194
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08709207443
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057194
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057173
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3160
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.800000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29842.95999999821
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3160
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.800000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95526.08000000835
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057196
{"compaign_id":"36075","contact_id":"7591","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7591","uid":"u595","unique_id":"36075_7591_138-u595","ivrId":"3158","channelOTime":1742057153,"channelDTime":1742057195,"channelDuration":42,"cSTime":1742057171,"cETime":1742057195,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08319847396","server_ip":"118.185.137.196","insertTime":1742057195,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057154,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057171,"endTime":1742057195,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7591
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7591
            [uid] => u595
            [unique_id] => 36075_7591_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057153
            [channelDTime] => 1742057195
            [channelDuration] => 42
            [cSTime] => 1742057171
            [cETime] => 1742057195
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08319847396
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057195
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057154
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057171
                                    [endTime] => 1742057195
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3162
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.960000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29842.79999999821
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3162
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 252.960000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95525.92000000835
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057196
{"compaign_id":"36075","contact_id":"7631","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7631","uid":"u595","unique_id":"36075_7631_138-u595","ivrId":"3158","channelOTime":1742057173,"channelDTime":1742057195,"channelDuration":22,"cSTime":1742057181,"cETime":1742057195,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08287055617","server_ip":"118.185.137.196","insertTime":1742057195,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057175,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7631
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7631
            [uid] => u595
            [unique_id] => 36075_7631_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057173
            [channelDTime] => 1742057195
            [channelDuration] => 22
            [cSTime] => 1742057181
            [cETime] => 1742057195
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08287055617
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057195
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057175
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3164
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.120000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29842.63999999821
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3164
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.120000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95525.76000000835
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057196
{"compaign_id":"36075","contact_id":"7641","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7641","uid":"u595","unique_id":"36075_7641_138-u595","ivrId":"3158","channelOTime":1742057176,"channelDTime":1742057195,"channelDuration":19,"cSTime":1742057188,"cETime":1742057195,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08309286068","server_ip":"118.185.137.196","insertTime":1742057195,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057179,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7641
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7641
            [uid] => u595
            [unique_id] => 36075_7641_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057176
            [channelDTime] => 1742057195
            [channelDuration] => 19
            [cSTime] => 1742057188
            [cETime] => 1742057195
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08309286068
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057195
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057179
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3165
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.200000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29842.559999998208
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3165
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.200000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95525.68000000835
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057197
{"compaign_id":"36075","contact_id":"7617","total_duration":"1","answer_duration":1,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7617","uid":"u595","unique_id":"36075_7617_138-u595","ivrId":"3158","channelOTime":1742057171,"channelDTime":1742057195,"channelDuration":24,"cSTime":1742057194,"cETime":1742057195,"cDuration":1,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08131852924","server_ip":"118.185.137.196","insertTime":1742057195,"ivrData":{"#2":["*"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057174,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057194,"endTime":1742057195,"duration":1}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7617
    [total_duration] => 1
    [answer_duration] => 1
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7617
            [uid] => u595
            [unique_id] => 36075_7617_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057171
            [channelDTime] => 1742057195
            [channelDuration] => 24
            [cSTime] => 1742057194
            [cETime] => 1742057195
            [cDuration] => 1
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08131852924
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057195
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => *
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057174
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057194
                                    [endTime] => 1742057195
                                    [duration] => 1
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3166
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.28000000000603
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29842.479999998206
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3166
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.28000000000603
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95525.60000000834
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057197
{"compaign_id":"36075","contact_id":"7650","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7650","uid":"u595","unique_id":"36075_7650_138-u595","ivrId":"3158","channelOTime":1742057179,"channelDTime":1742057196,"channelDuration":17,"cSTime":1742057192,"cETime":1742057196,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08261800658","server_ip":"118.185.137.196","insertTime":1742057196,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057181,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7650
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7650
            [uid] => u595
            [unique_id] => 36075_7650_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057179
            [channelDTime] => 1742057196
            [channelDuration] => 17
            [cSTime] => 1742057192
            [cETime] => 1742057196
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08261800658
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057196
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057181
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3167
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.36000000000604
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29842.399999998204
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3167
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.36000000000604
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95525.52000000834
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057197
{"compaign_id":"36075","contact_id":"7663","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7663","uid":"u595","unique_id":"36075_7663_138-u595","ivrId":"3158","channelOTime":1742057182,"channelDTime":1742057197,"channelDuration":15,"cSTime":1742057192,"cETime":1742057197,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08130509374","server_ip":"118.185.137.196","insertTime":1742057197,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057185,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7663
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7663
            [uid] => u595
            [unique_id] => 36075_7663_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057182
            [channelDTime] => 1742057197
            [channelDuration] => 15
            [cSTime] => 1742057192
            [cETime] => 1742057197
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08130509374
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057197
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057185
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3168
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.44000000000605
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29842.319999998203
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3168
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.44000000000605
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95525.44000000834
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057199
{"compaign_id":"36075","contact_id":"7582","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7582","uid":"u595","unique_id":"36075_7582_138-u595","ivrId":"3158","channelOTime":1742057151,"channelDTime":1742057198,"channelDuration":47,"cSTime":1742057174,"cETime":1742057198,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"06296939964","server_ip":"118.185.137.196","insertTime":1742057198,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057152,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057174,"endTime":1742057193,"duration":19}],"#3":[{"startTime":1742057193,"endTime":1742057198,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7582
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7582
            [uid] => u595
            [unique_id] => 36075_7582_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057151
            [channelDTime] => 1742057198
            [channelDuration] => 47
            [cSTime] => 1742057174
            [cETime] => 1742057198
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 06296939964
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057198
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057152
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057174
                                    [endTime] => 1742057193
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057193
                                    [endTime] => 1742057198
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3169
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.52000000000606
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29842.2399999982
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3169
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.52000000000606
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95525.36000000834
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057200
{"compaign_id":"36075","contact_id":"7667","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7667","uid":"u595","unique_id":"36075_7667_138-u595","ivrId":"3158","channelOTime":1742057183,"channelDTime":1742057199,"channelDuration":16,"cSTime":1742057187,"cETime":1742057199,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07982693384","server_ip":"118.185.137.196","insertTime":1742057199,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057184,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7667
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7667
            [uid] => u595
            [unique_id] => 36075_7667_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057183
            [channelDTime] => 1742057199
            [channelDuration] => 16
            [cSTime] => 1742057187
            [cETime] => 1742057199
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07982693384
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057199
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057184
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3171
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.68000000000606
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29842.0799999982
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3171
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.68000000000606
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95525.20000000834
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057200
{"compaign_id":"36075","contact_id":"7606","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7606","uid":"u595","unique_id":"36075_7606_138-u595","ivrId":"3158","channelOTime":1742057168,"channelDTime":1742057201,"channelDuration":33,"cSTime":1742057185,"cETime":1742057201,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08732030773","server_ip":"118.185.137.196","insertTime":1742057201,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057171,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7606
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7606
            [uid] => u595
            [unique_id] => 36075_7606_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057168
            [channelDTime] => 1742057201
            [channelDuration] => 33
            [cSTime] => 1742057185
            [cETime] => 1742057201
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08732030773
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057201
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057171
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3172
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.76000000000607
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29841.9999999982
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3172
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.76000000000607
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95525.12000000833
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057202
{"compaign_id":"36075","contact_id":"7630","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7630","uid":"u595","unique_id":"36075_7630_138-u595","ivrId":"3158","channelOTime":1742057173,"channelDTime":1742057203,"channelDuration":30,"cSTime":1742057180,"cETime":1742057203,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08305819837","server_ip":"118.185.137.196","insertTime":1742057203,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057176,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057180,"endTime":1742057203,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7630
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7630
            [uid] => u595
            [unique_id] => 36075_7630_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057173
            [channelDTime] => 1742057203
            [channelDuration] => 30
            [cSTime] => 1742057180
            [cETime] => 1742057203
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08305819837
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057203
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057176
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057180
                                    [endTime] => 1742057203
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3174
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.92000000000607
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29841.8399999982
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3174
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 253.92000000000607
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95524.96000000833
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057205
{"compaign_id":"36075","contact_id":"7636","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7636","uid":"u595","unique_id":"36075_7636_138-u595","ivrId":"3158","channelOTime":1742057174,"channelDTime":1742057203,"channelDuration":29,"cSTime":1742057188,"cETime":1742057203,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09542544537","server_ip":"118.185.137.196","insertTime":1742057203,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057176,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7636
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7636
            [uid] => u595
            [unique_id] => 36075_7636_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057174
            [channelDTime] => 1742057203
            [channelDuration] => 29
            [cSTime] => 1742057188
            [cETime] => 1742057203
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09542544537
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057203
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057176
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3176
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.08000000000607
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29841.6799999982
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3176
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.08000000000607
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95524.80000000833
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057205
{"compaign_id":"36075","contact_id":"7688","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7688","uid":"u595","unique_id":"36075_7688_138-u595","ivrId":"3158","channelOTime":1742057187,"channelDTime":1742057205,"channelDuration":18,"cSTime":1742057199,"cETime":1742057205,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09167869796","server_ip":"118.185.137.196","insertTime":1742057205,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057194,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7688
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7688
            [uid] => u595
            [unique_id] => 36075_7688_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057187
            [channelDTime] => 1742057205
            [channelDuration] => 18
            [cSTime] => 1742057199
            [cETime] => 1742057205
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09167869796
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057205
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057194
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3177
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.16000000000608
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29841.599999998198
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3177
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.16000000000608
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95524.72000000832
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057207
{"compaign_id":"36075","contact_id":"7658","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7658","uid":"u595","unique_id":"36075_7658_138-u595","ivrId":"3158","channelOTime":1742057181,"channelDTime":1742057207,"channelDuration":26,"cSTime":1742057193,"cETime":1742057207,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08269640157","server_ip":"118.185.137.196","insertTime":1742057207,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057183,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7658
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7658
            [uid] => u595
            [unique_id] => 36075_7658_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057181
            [channelDTime] => 1742057207
            [channelDuration] => 26
            [cSTime] => 1742057193
            [cETime] => 1742057207
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08269640157
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057207
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057183
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3178
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.2400000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29841.519999998196
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3178
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.2400000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95524.64000000832
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057209
{"compaign_id":"36075","contact_id":"7633","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7633","uid":"u595","unique_id":"36075_7633_138-u595","ivrId":"3158","channelOTime":1742057174,"channelDTime":1742057207,"channelDuration":33,"cSTime":1742057188,"cETime":1742057207,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09399532390","server_ip":"118.185.137.196","insertTime":1742057207,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057177,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7633
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7633
            [uid] => u595
            [unique_id] => 36075_7633_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057174
            [channelDTime] => 1742057207
            [channelDuration] => 33
            [cSTime] => 1742057188
            [cETime] => 1742057207
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09399532390
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057207
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057177
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3179
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.3200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29841.439999998194
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3179
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.3200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95524.56000000832
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057209
{"compaign_id":"36075","contact_id":"7735","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7735","uid":"u595","unique_id":"36075_7735_138-u595","ivrId":"3158","channelOTime":1742057198,"channelDTime":1742057208,"channelDuration":10,"cSTime":1742057205,"cETime":1742057208,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07993645990","server_ip":"118.185.137.196","insertTime":1742057208,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057199,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7735
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7735
            [uid] => u595
            [unique_id] => 36075_7735_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057198
            [channelDTime] => 1742057208
            [channelDuration] => 10
            [cSTime] => 1742057205
            [cETime] => 1742057208
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07993645990
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057208
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057199
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3181
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.4800000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29841.279999998194
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3181
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.4800000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95524.40000000832
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057210
{"compaign_id":"36075","contact_id":"7646","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7646","uid":"u595","unique_id":"36075_7646_138-u595","ivrId":"3158","channelOTime":1742057177,"channelDTime":1742057209,"channelDuration":32,"cSTime":1742057194,"cETime":1742057209,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07894284389","server_ip":"118.185.137.196","insertTime":1742057209,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057186,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7646
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7646
            [uid] => u595
            [unique_id] => 36075_7646_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057177
            [channelDTime] => 1742057209
            [channelDuration] => 32
            [cSTime] => 1742057194
            [cETime] => 1742057209
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07894284389
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057209
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057186
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3182
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.5600000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29841.199999998193
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3182
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.5600000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95524.32000000832
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057210
{"compaign_id":"36075","contact_id":"7651","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7651","uid":"u595","unique_id":"36075_7651_138-u595","ivrId":"3158","channelOTime":1742057179,"channelDTime":1742057209,"channelDuration":30,"cSTime":1742057198,"cETime":1742057209,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09113829156","server_ip":"118.185.137.196","insertTime":1742057209,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057180,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7651
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7651
            [uid] => u595
            [unique_id] => 36075_7651_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057179
            [channelDTime] => 1742057209
            [channelDuration] => 30
            [cSTime] => 1742057198
            [cETime] => 1742057209
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09113829156
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057209
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057180
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3183
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.64000000000613
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29841.11999999819
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3183
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.64000000000613
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95524.24000000831
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057211
{"compaign_id":"36075","contact_id":"7721","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7721","uid":"u595","unique_id":"36075_7721_138-u595","ivrId":"3158","channelOTime":1742057195,"channelDTime":1742057209,"channelDuration":14,"cSTime":1742057207,"cETime":1742057209,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09324797990","server_ip":"118.185.137.196","insertTime":1742057209,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057197,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7721
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7721
            [uid] => u595
            [unique_id] => 36075_7721_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057195
            [channelDTime] => 1742057209
            [channelDuration] => 14
            [cSTime] => 1742057207
            [cETime] => 1742057209
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09324797990
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057209
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057197
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3184
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.72000000000614
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29841.03999999819
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3184
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.72000000000614
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95524.16000000831
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057211
{"compaign_id":"36075","contact_id":"7709","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7709","uid":"u595","unique_id":"36075_7709_138-u595","ivrId":"3158","channelOTime":1742057192,"channelDTime":1742057210,"channelDuration":18,"cSTime":1742057206,"cETime":1742057210,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09110373289","server_ip":"118.185.137.196","insertTime":1742057210,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057195,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7709
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7709
            [uid] => u595
            [unique_id] => 36075_7709_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057192
            [channelDTime] => 1742057210
            [channelDuration] => 18
            [cSTime] => 1742057206
            [cETime] => 1742057210
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09110373289
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057210
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057195
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3185
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.80000000000615
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29840.959999998187
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3185
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.80000000000615
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95524.08000000831
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057212
{"compaign_id":"36075","contact_id":"7626","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7626","uid":"u595","unique_id":"36075_7626_138-u595","ivrId":"3158","channelOTime":1742057172,"channelDTime":1742057210,"channelDuration":38,"cSTime":1742057187,"cETime":1742057210,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09152375610","server_ip":"118.185.137.196","insertTime":1742057210,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057173,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057187,"endTime":1742057210,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7626
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7626
            [uid] => u595
            [unique_id] => 36075_7626_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057172
            [channelDTime] => 1742057210
            [channelDuration] => 38
            [cSTime] => 1742057187
            [cETime] => 1742057210
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09152375610
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057210
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057173
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057187
                                    [endTime] => 1742057210
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3186
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.88000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29840.879999998186
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3186
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 254.88000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95524.00000000831
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057212
{"compaign_id":"36075","contact_id":"7629","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7629","uid":"u595","unique_id":"36075_7629_138-u595","ivrId":"3158","channelOTime":1742057173,"channelDTime":1742057212,"channelDuration":39,"cSTime":1742057188,"cETime":1742057212,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06205570600","server_ip":"118.185.137.196","insertTime":1742057212,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057175,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057188,"endTime":1742057212,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7629
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7629
            [uid] => u595
            [unique_id] => 36075_7629_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057173
            [channelDTime] => 1742057212
            [channelDuration] => 39
            [cSTime] => 1742057188
            [cETime] => 1742057212
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06205570600
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057212
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057175
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057188
                                    [endTime] => 1742057212
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3188
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.04000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29840.719999998186
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3188
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.04000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95523.8400000083
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057213
{"compaign_id":"36075","contact_id":"7738","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7738","uid":"u595","unique_id":"36075_7738_138-u595","ivrId":"3158","channelOTime":1742057198,"channelDTime":1742057212,"channelDuration":14,"cSTime":1742057206,"cETime":1742057212,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07004211425","server_ip":"118.185.137.196","insertTime":1742057212,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057201,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7738
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7738
            [uid] => u595
            [unique_id] => 36075_7738_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057198
            [channelDTime] => 1742057212
            [channelDuration] => 14
            [cSTime] => 1742057206
            [cETime] => 1742057212
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07004211425
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057212
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057201
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3190
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.20000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29840.559999998186
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3190
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.20000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95523.6800000083
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057214
{"compaign_id":"36075","contact_id":"7672","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7672","uid":"u595","unique_id":"36075_7672_138-u595","ivrId":"3158","channelOTime":1742057184,"channelDTime":1742057212,"channelDuration":28,"cSTime":1742057203,"cETime":1742057212,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07036081178","server_ip":"118.185.137.196","insertTime":1742057212,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057188,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7672
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7672
            [uid] => u595
            [unique_id] => 36075_7672_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057184
            [channelDTime] => 1742057212
            [channelDuration] => 28
            [cSTime] => 1742057203
            [cETime] => 1742057212
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07036081178
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057212
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057188
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3191
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.28000000000617
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29840.479999998184
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3191
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.28000000000617
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95523.6000000083
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057214
{"compaign_id":"36075","contact_id":"7643","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7643","uid":"u595","unique_id":"36075_7643_138-u595","ivrId":"3158","channelOTime":1742057176,"channelDTime":1742057212,"channelDuration":36,"cSTime":1742057194,"cETime":1742057212,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09727206492","server_ip":"118.185.137.196","insertTime":1742057212,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057178,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7643
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7643
            [uid] => u595
            [unique_id] => 36075_7643_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057176
            [channelDTime] => 1742057212
            [channelDuration] => 36
            [cSTime] => 1742057194
            [cETime] => 1742057212
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09727206492
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057212
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057178
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3192
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.36000000000618
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29840.399999998182
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3192
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.36000000000618
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95523.5200000083
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057214
{"compaign_id":"36075","contact_id":"7698","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7698","uid":"u595","unique_id":"36075_7698_138-u595","ivrId":"3158","channelOTime":1742057189,"channelDTime":1742057213,"channelDuration":24,"cSTime":1742057207,"cETime":1742057213,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08464092896","server_ip":"118.185.137.196","insertTime":1742057213,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057191,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7698
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7698
            [uid] => u595
            [unique_id] => 36075_7698_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057189
            [channelDTime] => 1742057213
            [channelDuration] => 24
            [cSTime] => 1742057207
            [cETime] => 1742057213
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08464092896
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057213
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057191
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3194
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.52000000000618
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29840.239999998183
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3194
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.52000000000618
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95523.3600000083
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057214
{"compaign_id":"36075","contact_id":"7680","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7680","uid":"u595","unique_id":"36075_7680_138-u595","ivrId":"3158","channelOTime":1742057186,"channelDTime":1742057213,"channelDuration":27,"cSTime":1742057200,"cETime":1742057213,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08271528807","server_ip":"118.185.137.196","insertTime":1742057213,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057188,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7680
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7680
            [uid] => u595
            [unique_id] => 36075_7680_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057186
            [channelDTime] => 1742057213
            [channelDuration] => 27
            [cSTime] => 1742057200
            [cETime] => 1742057213
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08271528807
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057213
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057188
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3195
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.6000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29840.15999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3195
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.6000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95523.2800000083
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057215
{"compaign_id":"36075","contact_id":"7699","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7699","uid":"u595","unique_id":"36075_7699_138-u595","ivrId":"3158","channelOTime":1742057190,"channelDTime":1742057213,"channelDuration":23,"cSTime":1742057197,"cETime":1742057213,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07483370776","server_ip":"118.185.137.196","insertTime":1742057213,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057191,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7699
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7699
            [uid] => u595
            [unique_id] => 36075_7699_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057190
            [channelDTime] => 1742057213
            [channelDuration] => 23
            [cSTime] => 1742057197
            [cETime] => 1742057213
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07483370776
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057213
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057191
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3196
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.6800000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29840.07999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3196
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.6800000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95523.20000000829
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057215
{"compaign_id":"36075","contact_id":"7660","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7660","uid":"u595","unique_id":"36075_7660_138-u595","ivrId":"3158","channelOTime":1742057182,"channelDTime":1742057214,"channelDuration":32,"cSTime":1742057190,"cETime":1742057214,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07028177113","server_ip":"118.185.137.196","insertTime":1742057214,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057183,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057190,"endTime":1742057214,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7660
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7660
            [uid] => u595
            [unique_id] => 36075_7660_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057182
            [channelDTime] => 1742057214
            [channelDuration] => 32
            [cSTime] => 1742057190
            [cETime] => 1742057214
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07028177113
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057214
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057183
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057190
                                    [endTime] => 1742057214
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3198
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.8400000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29839.91999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3198
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 255.8400000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95523.04000000829
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057215
{"compaign_id":"36075","contact_id":"7609","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7609","uid":"u595","unique_id":"36075_7609_138-u595","ivrId":"3158","channelOTime":1742057169,"channelDTime":1742057215,"channelDuration":46,"cSTime":1742057192,"cETime":1742057215,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09918954002","server_ip":"118.185.137.196","insertTime":1742057215,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057172,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057192,"endTime":1742057215,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7609
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7609
            [uid] => u595
            [unique_id] => 36075_7609_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057169
            [channelDTime] => 1742057215
            [channelDuration] => 46
            [cSTime] => 1742057192
            [cETime] => 1742057215
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09918954002
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057215
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057172
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057192
                                    [endTime] => 1742057215
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3200
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.0000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29839.75999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3200
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.0000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95522.88000000828
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057217
{"compaign_id":"36075","contact_id":"7676","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7676","uid":"u595","unique_id":"36075_7676_138-u595","ivrId":"3158","channelOTime":1742057185,"channelDTime":1742057215,"channelDuration":30,"cSTime":1742057192,"cETime":1742057215,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09845773353","server_ip":"118.185.137.196","insertTime":1742057215,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057188,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057192,"endTime":1742057215,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7676
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7676
            [uid] => u595
            [unique_id] => 36075_7676_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057185
            [channelDTime] => 1742057215
            [channelDuration] => 30
            [cSTime] => 1742057192
            [cETime] => 1742057215
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09845773353
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057215
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057188
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057192
                                    [endTime] => 1742057215
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3202
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.1600000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29839.59999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3202
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.1600000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95522.72000000828
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057217
{"compaign_id":"36075","contact_id":"7616","total_duration":"27","answer_duration":27,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7616","uid":"u595","unique_id":"36075_7616_138-u595","ivrId":"3158","channelOTime":1742057170,"channelDTime":1742057216,"channelDuration":46,"cSTime":1742057189,"cETime":1742057216,"cDuration":27,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09773606586","server_ip":"118.185.137.196","insertTime":1742057216,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057172,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057189,"endTime":1742057211,"duration":22}],"#3":[{"startTime":1742057211,"endTime":1742057216,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7616
    [total_duration] => 27
    [answer_duration] => 27
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7616
            [uid] => u595
            [unique_id] => 36075_7616_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057170
            [channelDTime] => 1742057216
            [channelDuration] => 46
            [cSTime] => 1742057189
            [cETime] => 1742057216
            [cDuration] => 27
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09773606586
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057216
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057172
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057189
                                    [endTime] => 1742057211
                                    [duration] => 22
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057211
                                    [endTime] => 1742057216
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3204
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.32000000000625
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29839.43999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3204
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.32000000000625
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95522.56000000828
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057218
{"compaign_id":"36075","contact_id":"7656","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7656","uid":"u595","unique_id":"36075_7656_138-u595","ivrId":"3158","channelOTime":1742057181,"channelDTime":1742057217,"channelDuration":36,"cSTime":1742057196,"cETime":1742057217,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07038354316","server_ip":"118.185.137.196","insertTime":1742057217,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057184,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7656
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7656
            [uid] => u595
            [unique_id] => 36075_7656_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057181
            [channelDTime] => 1742057217
            [channelDuration] => 36
            [cSTime] => 1742057196
            [cETime] => 1742057217
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07038354316
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057217
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057184
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3206
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.48000000000627
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29839.27999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3206
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.48000000000627
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95522.40000000827
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057219
{"compaign_id":"36075","contact_id":"7717","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7717","uid":"u595","unique_id":"36075_7717_138-u595","ivrId":"3158","channelOTime":1742057194,"channelDTime":1742057218,"channelDuration":24,"cSTime":1742057208,"cETime":1742057218,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07570806811","server_ip":"118.185.137.196","insertTime":1742057218,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057196,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7717
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7717
            [uid] => u595
            [unique_id] => 36075_7717_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057194
            [channelDTime] => 1742057218
            [channelDuration] => 24
            [cSTime] => 1742057208
            [cETime] => 1742057218
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07570806811
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057218
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057196
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3208
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.6400000000063
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29839.11999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3208
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.6400000000063
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95522.24000000827
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057219
{"compaign_id":"36075","contact_id":"7746","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7746","uid":"u595","unique_id":"36075_7746_138-u595","ivrId":"3158","channelOTime":1742057200,"channelDTime":1742057218,"channelDuration":18,"cSTime":1742057208,"cETime":1742057218,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09913029999","server_ip":"118.185.137.196","insertTime":1742057218,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057201,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7746
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7746
            [uid] => u595
            [unique_id] => 36075_7746_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057200
            [channelDTime] => 1742057218
            [channelDuration] => 18
            [cSTime] => 1742057208
            [cETime] => 1742057218
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09913029999
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057218
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057201
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3209
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.7200000000063
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29839.03999999818
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3209
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.7200000000063
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95522.16000000827
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057220
{"compaign_id":"36075","contact_id":"7757","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7757","uid":"u595","unique_id":"36075_7757_138-u595","ivrId":"3158","channelOTime":1742057204,"channelDTime":1742057218,"channelDuration":14,"cSTime":1742057212,"cETime":1742057218,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09176003030","server_ip":"118.185.137.196","insertTime":1742057218,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057206,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7757
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7757
            [uid] => u595
            [unique_id] => 36075_7757_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057204
            [channelDTime] => 1742057218
            [channelDuration] => 14
            [cSTime] => 1742057212
            [cETime] => 1742057218
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09176003030
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057218
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057206
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3210
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.80000000000626
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29838.959999998176
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3210
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.80000000000626
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95522.08000000827
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057220
{"compaign_id":"36075","contact_id":"7741","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7741","uid":"u595","unique_id":"36075_7741_138-u595","ivrId":"3158","channelOTime":1742057199,"channelDTime":1742057219,"channelDuration":20,"cSTime":1742057212,"cETime":1742057219,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09807000380","server_ip":"118.185.137.196","insertTime":1742057219,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057200,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7741
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7741
            [uid] => u595
            [unique_id] => 36075_7741_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057199
            [channelDTime] => 1742057219
            [channelDuration] => 20
            [cSTime] => 1742057212
            [cETime] => 1742057219
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09807000380
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057219
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057200
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3211
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.88000000000625
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29838.879999998175
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3211
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.88000000000625
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95522.00000000827
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057220
{"compaign_id":"36075","contact_id":"7729","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7729","uid":"u595","unique_id":"36075_7729_138-u595","ivrId":"3158","channelOTime":1742057196,"channelDTime":1742057219,"channelDuration":23,"cSTime":1742057205,"cETime":1742057219,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09322079194","server_ip":"118.185.137.196","insertTime":1742057219,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057199,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7729
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7729
            [uid] => u595
            [unique_id] => 36075_7729_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057196
            [channelDTime] => 1742057219
            [channelDuration] => 23
            [cSTime] => 1742057205
            [cETime] => 1742057219
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09322079194
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057219
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057199
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3212
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.96000000000623
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29838.799999998173
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3212
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 256.96000000000623
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95521.92000000826
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057221
{"compaign_id":"36075","contact_id":"7728","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7728","uid":"u595","unique_id":"36075_7728_138-u595","ivrId":"3158","channelOTime":1742057196,"channelDTime":1742057219,"channelDuration":23,"cSTime":1742057207,"cETime":1742057219,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09706003008","server_ip":"118.185.137.196","insertTime":1742057219,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057200,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7728
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7728
            [uid] => u595
            [unique_id] => 36075_7728_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057196
            [channelDTime] => 1742057219
            [channelDuration] => 23
            [cSTime] => 1742057207
            [cETime] => 1742057219
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09706003008
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057219
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057200
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3213
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.0400000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29838.71999999817
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3213
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.0400000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95521.84000000826
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057221
{"compaign_id":"36075","contact_id":"7702","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7702","uid":"u595","unique_id":"36075_7702_138-u595","ivrId":"3158","channelOTime":1742057191,"channelDTime":1742057219,"channelDuration":28,"cSTime":1742057204,"cETime":1742057219,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06301405109","server_ip":"118.185.137.196","insertTime":1742057219,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057192,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7702
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7702
            [uid] => u595
            [unique_id] => 36075_7702_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057191
            [channelDTime] => 1742057219
            [channelDuration] => 28
            [cSTime] => 1742057204
            [cETime] => 1742057219
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06301405109
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057219
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057192
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3214
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.1200000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29838.63999999817
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3214
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.1200000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95521.76000000826
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057221
{"compaign_id":"36075","contact_id":"7722","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7722","uid":"u595","unique_id":"36075_7722_138-u595","ivrId":"3158","channelOTime":1742057195,"channelDTime":1742057220,"channelDuration":25,"cSTime":1742057209,"cETime":1742057220,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08498057713","server_ip":"118.185.137.196","insertTime":1742057220,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057198,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7722
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7722
            [uid] => u595
            [unique_id] => 36075_7722_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057195
            [channelDTime] => 1742057220
            [channelDuration] => 25
            [cSTime] => 1742057209
            [cETime] => 1742057220
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08498057713
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057220
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057198
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3215
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.2000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29838.559999998168
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3215
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.2000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95521.68000000826
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057221
2025-03-15 22:17:02[LOG]Starting Cron
2025-03-15 22:17:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"7773","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7773","uid":"u595","unique_id":"36075_7773_138-u595","ivrId":"3158","channelOTime":1742057207,"channelDTime":1742057220,"channelDuration":13,"cSTime":1742057217,"cETime":1742057220,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07029603422","server_ip":"118.185.137.196","insertTime":1742057220,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057210,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7773
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7773
            [uid] => u595
            [unique_id] => 36075_7773_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057207
            [channelDTime] => 1742057220
            [channelDuration] => 13
            [cSTime] => 1742057217
            [cETime] => 1742057220
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07029603422
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057220
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057210
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3216
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.28000000000617
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29838.479999998166
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3216
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.28000000000617
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95521.60000000826
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057222
{"compaign_id":"36075","contact_id":"7788","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7788","uid":"u595","unique_id":"36075_7788_138-u595","ivrId":"3158","channelOTime":1742057210,"channelDTime":1742057220,"channelDuration":10,"cSTime":1742057215,"cETime":1742057220,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08106155438","server_ip":"118.185.137.196","insertTime":1742057220,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057212,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7788
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7788
            [uid] => u595
            [unique_id] => 36075_7788_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057210
            [channelDTime] => 1742057220
            [channelDuration] => 10
            [cSTime] => 1742057215
            [cETime] => 1742057220
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08106155438
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057220
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057212
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3217
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.36000000000615
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29838.399999998164
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3217
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.36000000000615
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95521.52000000826
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057222
{"compaign_id":"36075","contact_id":"7639","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7639","uid":"u595","unique_id":"36075_7639_138-u595","ivrId":"3158","channelOTime":1742057175,"channelDTime":1742057221,"channelDuration":46,"cSTime":1742057201,"cETime":1742057221,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08853524144","server_ip":"118.185.137.196","insertTime":1742057221,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057177,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7639
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7639
            [uid] => u595
            [unique_id] => 36075_7639_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057175
            [channelDTime] => 1742057221
            [channelDuration] => 46
            [cSTime] => 1742057201
            [cETime] => 1742057221
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08853524144
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057221
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057177
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3218
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.44000000000614
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29838.319999998163
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3218
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.44000000000614
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95521.44000000825
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057222
{"compaign_id":"36075","contact_id":"7732","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7732","uid":"u595","unique_id":"36075_7732_138-u595","ivrId":"3158","channelOTime":1742057197,"channelDTime":1742057221,"channelDuration":24,"cSTime":1742057205,"cETime":1742057221,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08328862473","server_ip":"118.185.137.196","insertTime":1742057221,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057199,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7732
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7732
            [uid] => u595
            [unique_id] => 36075_7732_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057197
            [channelDTime] => 1742057221
            [channelDuration] => 24
            [cSTime] => 1742057205
            [cETime] => 1742057221
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08328862473
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057221
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057199
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3220
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.60000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29838.159999998163
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3220
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.60000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95521.28000000825
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057223
{"compaign_id":"36075","contact_id":"7774","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7774","uid":"u595","unique_id":"36075_7774_138-u595","ivrId":"3158","channelOTime":1742057207,"channelDTime":1742057222,"channelDuration":15,"cSTime":1742057215,"cETime":1742057222,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09992218858","server_ip":"118.185.137.196","insertTime":1742057222,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057210,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7774
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7774
            [uid] => u595
            [unique_id] => 36075_7774_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057207
            [channelDTime] => 1742057222
            [channelDuration] => 15
            [cSTime] => 1742057215
            [cETime] => 1742057222
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09992218858
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057222
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057210
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3222
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.7600000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29837.999999998163
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3222
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.7600000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95521.12000000825
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057224
{"compaign_id":"36075","contact_id":"7767","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7767","uid":"u595","unique_id":"36075_7767_138-u595","ivrId":"3158","channelOTime":1742057206,"channelDTime":1742057223,"channelDuration":17,"cSTime":1742057219,"cETime":1742057223,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08300624792","server_ip":"118.185.137.196","insertTime":1742057223,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057208,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7767
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7767
            [uid] => u595
            [unique_id] => 36075_7767_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057206
            [channelDTime] => 1742057223
            [channelDuration] => 17
            [cSTime] => 1742057219
            [cETime] => 1742057223
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08300624792
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057223
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057208
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3223
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.84000000000617
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29837.91999999816
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3223
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.84000000000617
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95521.04000000824
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057224
{"compaign_id":"36075","contact_id":"7719","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7719","uid":"u595","unique_id":"36075_7719_138-u595","ivrId":"3158","channelOTime":1742057194,"channelDTime":1742057223,"channelDuration":29,"cSTime":1742057200,"cETime":1742057223,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08451966445","server_ip":"118.185.137.196","insertTime":1742057223,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057196,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057200,"endTime":1742057223,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7719
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7719
            [uid] => u595
            [unique_id] => 36075_7719_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057194
            [channelDTime] => 1742057223
            [channelDuration] => 29
            [cSTime] => 1742057200
            [cETime] => 1742057223
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08451966445
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057223
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057196
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057200
                                    [endTime] => 1742057223
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3224
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.92000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29837.83999999816
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3224
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 257.92000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95520.96000000824
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057225
{"compaign_id":"36075","contact_id":"7718","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7718","uid":"u595","unique_id":"36075_7718_138-u595","ivrId":"3158","channelOTime":1742057194,"channelDTime":1742057225,"channelDuration":31,"cSTime":1742057210,"cETime":1742057225,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07744947848","server_ip":"118.185.137.196","insertTime":1742057225,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057198,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7718
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7718
            [uid] => u595
            [unique_id] => 36075_7718_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057194
            [channelDTime] => 1742057225
            [channelDuration] => 31
            [cSTime] => 1742057210
            [cETime] => 1742057225
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07744947848
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057225
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057198
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3226
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.0800000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29837.67999999816
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3226
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.0800000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95520.80000000824
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057227
{"compaign_id":"36075","contact_id":"7755","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7755","uid":"u595","unique_id":"36075_7755_138-u595","ivrId":"3158","channelOTime":1742057204,"channelDTime":1742057225,"channelDuration":21,"cSTime":1742057220,"cETime":1742057225,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09305230209","server_ip":"118.185.137.196","insertTime":1742057225,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057206,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7755
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7755
            [uid] => u595
            [unique_id] => 36075_7755_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057204
            [channelDTime] => 1742057225
            [channelDuration] => 21
            [cSTime] => 1742057220
            [cETime] => 1742057225
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09305230209
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057225
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057206
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3227
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.16000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29837.599999998158
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3227
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.16000000000616
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95520.72000000824
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057227
{"compaign_id":"36075","contact_id":"7750","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7750","uid":"u595","unique_id":"36075_7750_138-u595","ivrId":"3158","channelOTime":1742057203,"channelDTime":1742057225,"channelDuration":22,"cSTime":1742057209,"cETime":1742057225,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09652606797","server_ip":"118.185.137.196","insertTime":1742057225,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057204,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7750
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7750
            [uid] => u595
            [unique_id] => 36075_7750_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057203
            [channelDTime] => 1742057225
            [channelDuration] => 22
            [cSTime] => 1742057209
            [cETime] => 1742057225
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09652606797
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057225
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057204
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3228
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.24000000000615
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29837.519999998156
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3228
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.24000000000615
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95520.64000000824
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057227
{"compaign_id":"36075","contact_id":"7673","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7673","uid":"u595","unique_id":"36075_7673_138-u595","ivrId":"3158","channelOTime":1742057184,"channelDTime":1742057226,"channelDuration":42,"cSTime":1742057202,"cETime":1742057226,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09884048951","server_ip":"118.185.137.196","insertTime":1742057226,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057187,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057202,"endTime":1742057226,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7673
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7673
            [uid] => u595
            [unique_id] => 36075_7673_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057184
            [channelDTime] => 1742057226
            [channelDuration] => 42
            [cSTime] => 1742057202
            [cETime] => 1742057226
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09884048951
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057226
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057187
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057202
                                    [endTime] => 1742057226
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3230
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.4000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29837.359999998156
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3230
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.4000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95520.48000000823
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057227
{"compaign_id":"36075","contact_id":"7754","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7754","uid":"u595","unique_id":"36075_7754_138-u595","ivrId":"3158","channelOTime":1742057203,"channelDTime":1742057228,"channelDuration":25,"cSTime":1742057209,"cETime":1742057228,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07462037301","server_ip":"118.185.137.196","insertTime":1742057228,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057205,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7754
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7754
            [uid] => u595
            [unique_id] => 36075_7754_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057203
            [channelDTime] => 1742057228
            [channelDuration] => 25
            [cSTime] => 1742057209
            [cETime] => 1742057228
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07462037301
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057228
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057205
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3232
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.5600000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29837.199999998156
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3232
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.5600000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95520.32000000823
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057230
{"compaign_id":"36075","contact_id":"7827","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7827","uid":"u595","unique_id":"36075_7827_138-u595","ivrId":"3158","channelOTime":1742057220,"channelDTime":1742057229,"channelDuration":9,"cSTime":1742057226,"cETime":1742057229,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08130508171","server_ip":"118.185.137.196","insertTime":1742057229,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057225,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7827
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7827
            [uid] => u595
            [unique_id] => 36075_7827_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057220
            [channelDTime] => 1742057229
            [channelDuration] => 9
            [cSTime] => 1742057226
            [cETime] => 1742057229
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08130508171
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057229
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057225
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3234
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.7200000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29837.039999998156
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3234
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.7200000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95520.16000000823
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057231
{"compaign_id":"36075","contact_id":"7747","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7747","uid":"u595","unique_id":"36075_7747_138-u595","ivrId":"3158","channelOTime":1742057200,"channelDTime":1742057229,"channelDuration":29,"cSTime":1742057213,"cETime":1742057229,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09828455990","server_ip":"118.185.137.196","insertTime":1742057229,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057202,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7747
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7747
            [uid] => u595
            [unique_id] => 36075_7747_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057200
            [channelDTime] => 1742057229
            [channelDuration] => 29
            [cSTime] => 1742057213
            [cETime] => 1742057229
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09828455990
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057229
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057202
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3235
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.8000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29836.959999998155
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3235
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.8000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95520.08000000822
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057231
{"compaign_id":"36075","contact_id":"7744","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7744","uid":"u595","unique_id":"36075_7744_138-u595","ivrId":"3158","channelOTime":1742057199,"channelDTime":1742057231,"channelDuration":32,"cSTime":1742057220,"cETime":1742057231,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09884911004","server_ip":"118.185.137.196","insertTime":1742057231,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057202,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7744
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7744
            [uid] => u595
            [unique_id] => 36075_7744_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057199
            [channelDTime] => 1742057231
            [channelDuration] => 32
            [cSTime] => 1742057220
            [cETime] => 1742057231
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09884911004
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057231
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057202
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3237
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.96000000000623
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29836.799999998155
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3237
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 258.96000000000623
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95519.92000000822
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057232
{"compaign_id":"36075","contact_id":"7791","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7791","uid":"u595","unique_id":"36075_7791_138-u595","ivrId":"3158","channelOTime":1742057211,"channelDTime":1742057231,"channelDuration":20,"cSTime":1742057217,"cETime":1742057231,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08304996874","server_ip":"118.185.137.196","insertTime":1742057231,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057212,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7791
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7791
            [uid] => u595
            [unique_id] => 36075_7791_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057211
            [channelDTime] => 1742057231
            [channelDuration] => 20
            [cSTime] => 1742057217
            [cETime] => 1742057231
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08304996874
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057231
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057212
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3238
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.0400000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29836.719999998153
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3238
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.0400000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95519.84000000822
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057233
{"compaign_id":"36075","contact_id":"7799","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7799","uid":"u595","unique_id":"36075_7799_138-u595","ivrId":"3158","channelOTime":1742057212,"channelDTime":1742057231,"channelDuration":19,"cSTime":1742057227,"cETime":1742057231,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07972744830","server_ip":"118.185.137.196","insertTime":1742057231,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057215,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7799
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7799
            [uid] => u595
            [unique_id] => 36075_7799_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057212
            [channelDTime] => 1742057231
            [channelDuration] => 19
            [cSTime] => 1742057227
            [cETime] => 1742057231
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07972744830
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057231
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057215
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3239
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.1200000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29836.63999999815
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3239
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.1200000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95519.76000000822
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057233
{"compaign_id":"36075","contact_id":"7829","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7829","uid":"u595","unique_id":"36075_7829_138-u595","ivrId":"3158","channelOTime":1742057220,"channelDTime":1742057232,"channelDuration":12,"cSTime":1742057229,"cETime":1742057232,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06393394573","server_ip":"118.185.137.196","insertTime":1742057232,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057222,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7829
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7829
            [uid] => u595
            [unique_id] => 36075_7829_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057220
            [channelDTime] => 1742057232
            [channelDuration] => 12
            [cSTime] => 1742057229
            [cETime] => 1742057232
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06393394573
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057232
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057222
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3240
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.2000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29836.55999999815
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3240
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.2000000000062
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95519.68000000821
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057234
{"compaign_id":"36075","contact_id":"7805","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7805","uid":"u595","unique_id":"36075_7805_138-u595","ivrId":"3158","channelOTime":1742057215,"channelDTime":1742057232,"channelDuration":17,"cSTime":1742057228,"cETime":1742057232,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07448660222","server_ip":"118.185.137.196","insertTime":1742057232,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057217,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7805
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7805
            [uid] => u595
            [unique_id] => 36075_7805_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057215
            [channelDTime] => 1742057232
            [channelDuration] => 17
            [cSTime] => 1742057228
            [cETime] => 1742057232
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07448660222
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057232
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057217
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3241
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.28000000000617
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29836.479999998148
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3241
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.28000000000617
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95519.60000000821
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057234
{"compaign_id":"36075","contact_id":"7798","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7798","uid":"u595","unique_id":"36075_7798_138-u595","ivrId":"3158","channelOTime":1742057212,"channelDTime":1742057232,"channelDuration":20,"cSTime":1742057230,"cETime":1742057232,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09650669775","server_ip":"118.185.137.196","insertTime":1742057232,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057215,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7798
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7798
            [uid] => u595
            [unique_id] => 36075_7798_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057212
            [channelDTime] => 1742057232
            [channelDuration] => 20
            [cSTime] => 1742057230
            [cETime] => 1742057232
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09650669775
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057232
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057215
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3242
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.36000000000615
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29836.399999998146
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3242
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.36000000000615
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95519.52000000821
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057234
{"compaign_id":"36075","contact_id":"7820","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7820","uid":"u595","unique_id":"36075_7820_138-u595","ivrId":"3158","channelOTime":1742057218,"channelDTime":1742057232,"channelDuration":14,"cSTime":1742057224,"cETime":1742057232,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08590055101","server_ip":"118.185.137.196","insertTime":1742057232,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057222,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7820
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7820
            [uid] => u595
            [unique_id] => 36075_7820_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057218
            [channelDTime] => 1742057232
            [channelDuration] => 14
            [cSTime] => 1742057224
            [cETime] => 1742057232
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08590055101
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057232
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057222
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3243
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.44000000000614
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29836.319999998144
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3243
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.44000000000614
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95519.44000000821
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057234
{"compaign_id":"36075","contact_id":"7751","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7751","uid":"u595","unique_id":"36075_7751_138-u595","ivrId":"3158","channelOTime":1742057203,"channelDTime":1742057233,"channelDuration":30,"cSTime":1742057227,"cETime":1742057233,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09003811910","server_ip":"118.185.137.196","insertTime":1742057233,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057206,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7751
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7751
            [uid] => u595
            [unique_id] => 36075_7751_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057203
            [channelDTime] => 1742057233
            [channelDuration] => 30
            [cSTime] => 1742057227
            [cETime] => 1742057233
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09003811910
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057233
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057206
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3244
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.5200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29836.239999998143
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3244
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.5200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95519.36000000821
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057235
{"compaign_id":"36075","contact_id":"7824","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7824","uid":"u595","unique_id":"36075_7824_138-u595","ivrId":"3158","channelOTime":1742057219,"channelDTime":1742057233,"channelDuration":14,"cSTime":1742057229,"cETime":1742057233,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06372628610","server_ip":"118.185.137.196","insertTime":1742057233,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057222,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7824
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7824
            [uid] => u595
            [unique_id] => 36075_7824_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057219
            [channelDTime] => 1742057233
            [channelDuration] => 14
            [cSTime] => 1742057229
            [cETime] => 1742057233
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06372628610
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057233
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057222
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3245
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.6000000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29836.15999999814
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3245
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.6000000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95519.2800000082
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057235
{"compaign_id":"36075","contact_id":"7832","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7832","uid":"u595","unique_id":"36075_7832_138-u595","ivrId":"3158","channelOTime":1742057221,"channelDTime":1742057236,"channelDuration":15,"cSTime":1742057229,"cETime":1742057236,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09877149488","server_ip":"118.185.137.196","insertTime":1742057236,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057223,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7832
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7832
            [uid] => u595
            [unique_id] => 36075_7832_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057221
            [channelDTime] => 1742057236
            [channelDuration] => 15
            [cSTime] => 1742057229
            [cETime] => 1742057236
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09877149488
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057236
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057223
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3246
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.6800000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29836.07999999814
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3246
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.6800000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95519.2000000082
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057238
{"compaign_id":"36075","contact_id":"7783","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7783","uid":"u595","unique_id":"36075_7783_138-u595","ivrId":"3158","channelOTime":1742057209,"channelDTime":1742057237,"channelDuration":28,"cSTime":1742057214,"cETime":1742057237,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09914201579","server_ip":"118.185.137.196","insertTime":1742057237,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057210,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057214,"endTime":1742057237,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7783
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7783
            [uid] => u595
            [unique_id] => 36075_7783_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057209
            [channelDTime] => 1742057237
            [channelDuration] => 28
            [cSTime] => 1742057214
            [cETime] => 1742057237
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09914201579
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057237
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057210
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057214
                                    [endTime] => 1742057237
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3247
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.7600000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29835.999999998137
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3247
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.7600000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95519.1200000082
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057239
{"compaign_id":"36075","contact_id":"7720","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7720","uid":"u595","unique_id":"36075_7720_138-u595","ivrId":"3158","channelOTime":1742057195,"channelDTime":1742057239,"channelDuration":44,"cSTime":1742057219,"cETime":1742057239,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09311524259","server_ip":"118.185.137.196","insertTime":1742057239,"ivrData":{"#2":["9"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057198,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057219,"endTime":1742057239,"duration":20}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7720
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7720
            [uid] => u595
            [unique_id] => 36075_7720_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057195
            [channelDTime] => 1742057239
            [channelDuration] => 44
            [cSTime] => 1742057219
            [cETime] => 1742057239
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09311524259
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057239
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 9
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057198
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057219
                                    [endTime] => 1742057239
                                    [duration] => 20
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3249
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.9200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29835.839999998138
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3249
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 259.9200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95518.9600000082
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057240
{"compaign_id":"36075","contact_id":"7837","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7837","uid":"u595","unique_id":"36075_7837_138-u595","ivrId":"3158","channelOTime":1742057222,"channelDTime":1742057239,"channelDuration":17,"cSTime":1742057229,"cETime":1742057239,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08888614920","server_ip":"118.185.137.196","insertTime":1742057239,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057226,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7837
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7837
            [uid] => u595
            [unique_id] => 36075_7837_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057222
            [channelDTime] => 1742057239
            [channelDuration] => 17
            [cSTime] => 1742057229
            [cETime] => 1742057239
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08888614920
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057239
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057226
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3251
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.0800000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29835.679999998138
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3251
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.0800000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95518.8000000082
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057241
{"compaign_id":"36075","contact_id":"7823","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7823","uid":"u595","unique_id":"36075_7823_138-u595","ivrId":"3158","channelOTime":1742057219,"channelDTime":1742057241,"channelDuration":22,"cSTime":1742057226,"cETime":1742057241,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07439576885","server_ip":"118.185.137.196","insertTime":1742057241,"ivrData":{"#2":["A"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057220,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057226,"endTime":1742057241,"duration":15}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7823
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7823
            [uid] => u595
            [unique_id] => 36075_7823_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057219
            [channelDTime] => 1742057241
            [channelDuration] => 22
            [cSTime] => 1742057226
            [cETime] => 1742057241
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07439576885
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057241
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => A
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057220
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057226
                                    [endTime] => 1742057241
                                    [duration] => 15
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3252
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.1600000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29835.599999998136
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3252
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.1600000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95518.7200000082
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057243
{"compaign_id":"36075","contact_id":"7861","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7861","uid":"u595","unique_id":"36075_7861_138-u595","ivrId":"3158","channelOTime":1742057229,"channelDTime":1742057241,"channelDuration":12,"cSTime":1742057236,"cETime":1742057241,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09060418234","server_ip":"118.185.137.196","insertTime":1742057241,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057231,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7861
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7861
            [uid] => u595
            [unique_id] => 36075_7861_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057229
            [channelDTime] => 1742057241
            [channelDuration] => 12
            [cSTime] => 1742057236
            [cETime] => 1742057241
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09060418234
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057241
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057231
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3253
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.2400000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29835.519999998134
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3253
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.2400000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95518.64000000819
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057243
{"compaign_id":"36075","contact_id":"7785","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7785","uid":"u595","unique_id":"36075_7785_138-u595","ivrId":"3158","channelOTime":1742057210,"channelDTime":1742057242,"channelDuration":32,"cSTime":1742057218,"cETime":1742057242,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09973126512","server_ip":"118.185.137.196","insertTime":1742057242,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057213,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057218,"endTime":1742057242,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7785
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7785
            [uid] => u595
            [unique_id] => 36075_7785_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057210
            [channelDTime] => 1742057242
            [channelDuration] => 32
            [cSTime] => 1742057218
            [cETime] => 1742057242
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09973126512
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057242
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057213
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057218
                                    [endTime] => 1742057242
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3254
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.3200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29835.439999998132
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3254
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.3200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95518.56000000819
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057244
{"compaign_id":"36075","contact_id":"7840","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7840","uid":"u595","unique_id":"36075_7840_138-u595","ivrId":"3158","channelOTime":1742057222,"channelDTime":1742057243,"channelDuration":21,"cSTime":1742057237,"cETime":1742057243,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08239162186","server_ip":"118.185.137.196","insertTime":1742057243,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057225,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7840
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7840
            [uid] => u595
            [unique_id] => 36075_7840_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057222
            [channelDTime] => 1742057243
            [channelDuration] => 21
            [cSTime] => 1742057237
            [cETime] => 1742057243
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08239162186
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057243
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057225
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3256
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.4800000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29835.279999998133
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3256
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.4800000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95518.40000000819
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057244
{"compaign_id":"36075","contact_id":"7793","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7793","uid":"u595","unique_id":"36075_7793_138-u595","ivrId":"3158","channelOTime":1742057211,"channelDTime":1742057243,"channelDuration":32,"cSTime":1742057219,"cETime":1742057243,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09023237853","server_ip":"118.185.137.196","insertTime":1742057243,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057213,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057219,"endTime":1742057243,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7793
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7793
            [uid] => u595
            [unique_id] => 36075_7793_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057211
            [channelDTime] => 1742057243
            [channelDuration] => 32
            [cSTime] => 1742057219
            [cETime] => 1742057243
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09023237853
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057243
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057213
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057219
                                    [endTime] => 1742057243
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3257
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.5600000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29835.19999999813
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3257
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.5600000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95518.32000000819
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057245
{"compaign_id":"36075","contact_id":"7811","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7811","uid":"u595","unique_id":"36075_7811_138-u595","ivrId":"3158","channelOTime":1742057217,"channelDTime":1742057243,"channelDuration":26,"cSTime":1742057236,"cETime":1742057243,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09686941271","server_ip":"118.185.137.196","insertTime":1742057243,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057224,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7811
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7811
            [uid] => u595
            [unique_id] => 36075_7811_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057217
            [channelDTime] => 1742057243
            [channelDuration] => 26
            [cSTime] => 1742057236
            [cETime] => 1742057243
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09686941271
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057243
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057224
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3259
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.7200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29835.03999999813
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3259
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.7200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95518.16000000818
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057245
{"compaign_id":"36075","contact_id":"7763","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7763","uid":"u595","unique_id":"36075_7763_138-u595","ivrId":"3158","channelOTime":1742057205,"channelDTime":1742057244,"channelDuration":39,"cSTime":1742057221,"cETime":1742057244,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"09569047834","server_ip":"118.185.137.196","insertTime":1742057244,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057208,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057221,"endTime":1742057238,"duration":17}],"#3":[{"startTime":1742057238,"endTime":1742057244,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7763
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7763
            [uid] => u595
            [unique_id] => 36075_7763_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057205
            [channelDTime] => 1742057244
            [channelDuration] => 39
            [cSTime] => 1742057221
            [cETime] => 1742057244
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 09569047834
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057244
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057208
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057221
                                    [endTime] => 1742057238
                                    [duration] => 17
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057238
                                    [endTime] => 1742057244
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3260
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.8000000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29834.95999999813
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3260
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.8000000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95518.08000000818
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057246
{"compaign_id":"36075","contact_id":"7864","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7864","uid":"u595","unique_id":"36075_7864_138-u595","ivrId":"3158","channelOTime":1742057229,"channelDTime":1742057244,"channelDuration":15,"cSTime":1742057240,"cETime":1742057244,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06280715233","server_ip":"118.185.137.196","insertTime":1742057244,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057232,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7864
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7864
            [uid] => u595
            [unique_id] => 36075_7864_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057229
            [channelDTime] => 1742057244
            [channelDuration] => 15
            [cSTime] => 1742057240
            [cETime] => 1742057244
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06280715233
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057244
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057232
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3262
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.9600000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29834.79999999813
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3262
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 260.9600000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95517.92000000818
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057246
{"compaign_id":"36075","contact_id":"7866","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7866","uid":"u595","unique_id":"36075_7866_138-u595","ivrId":"3158","channelOTime":1742057230,"channelDTime":1742057244,"channelDuration":14,"cSTime":1742057238,"cETime":1742057244,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07203042883","server_ip":"118.185.137.196","insertTime":1742057244,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057231,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7866
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7866
            [uid] => u595
            [unique_id] => 36075_7866_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057230
            [channelDTime] => 1742057244
            [channelDuration] => 14
            [cSTime] => 1742057238
            [cETime] => 1742057244
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07203042883
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057244
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057231
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3263
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.0400000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29834.719999998128
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3263
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.0400000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95517.84000000817
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057246
{"compaign_id":"36075","contact_id":"7871","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7871","uid":"u595","unique_id":"36075_7871_138-u595","ivrId":"3158","channelOTime":1742057231,"channelDTime":1742057244,"channelDuration":13,"cSTime":1742057237,"cETime":1742057244,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09731304875","server_ip":"118.185.137.196","insertTime":1742057244,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057233,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7871
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7871
            [uid] => u595
            [unique_id] => 36075_7871_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057231
            [channelDTime] => 1742057244
            [channelDuration] => 13
            [cSTime] => 1742057237
            [cETime] => 1742057244
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09731304875
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057244
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057233
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3264
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.1200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29834.639999998126
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3264
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.1200000000061
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95517.76000000817
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057246
{"compaign_id":"36075","contact_id":"7885","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7885","uid":"u595","unique_id":"36075_7885_138-u595","ivrId":"3158","channelOTime":1742057233,"channelDTime":1742057246,"channelDuration":13,"cSTime":1742057241,"cETime":1742057246,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06300657953","server_ip":"118.185.137.196","insertTime":1742057246,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057235,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7885
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7885
            [uid] => u595
            [unique_id] => 36075_7885_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057233
            [channelDTime] => 1742057246
            [channelDuration] => 13
            [cSTime] => 1742057241
            [cETime] => 1742057246
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06300657953
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057246
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057235
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3265
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.20000000000607
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29834.559999998124
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3265
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.20000000000607
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95517.68000000817
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057248
{"compaign_id":"36075","contact_id":"7895","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7895","uid":"u595","unique_id":"36075_7895_138-u595","ivrId":"3158","channelOTime":1742057235,"channelDTime":1742057246,"channelDuration":11,"cSTime":1742057243,"cETime":1742057246,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07879754327","server_ip":"118.185.137.196","insertTime":1742057246,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057237,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7895
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7895
            [uid] => u595
            [unique_id] => 36075_7895_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057235
            [channelDTime] => 1742057246
            [channelDuration] => 11
            [cSTime] => 1742057243
            [cETime] => 1742057246
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07879754327
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057246
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057237
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3266
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.28000000000605
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29834.479999998122
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3266
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.28000000000605
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95517.60000000817
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057248
{"compaign_id":"36075","contact_id":"7854","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7854","uid":"u595","unique_id":"36075_7854_138-u595","ivrId":"3158","channelOTime":1742057227,"channelDTime":1742057246,"channelDuration":19,"cSTime":1742057239,"cETime":1742057246,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09099307018","server_ip":"118.185.137.196","insertTime":1742057246,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057229,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7854
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7854
            [uid] => u595
            [unique_id] => 36075_7854_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057227
            [channelDTime] => 1742057246
            [channelDuration] => 19
            [cSTime] => 1742057239
            [cETime] => 1742057246
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09099307018
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057246
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057229
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3267
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.36000000000604
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29834.39999999812
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3267
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.36000000000604
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95517.52000000817
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057248
{"compaign_id":"36075","contact_id":"7890","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7890","uid":"u595","unique_id":"36075_7890_138-u595","ivrId":"3158","channelOTime":1742057234,"channelDTime":1742057247,"channelDuration":13,"cSTime":1742057240,"cETime":1742057247,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09779015803","server_ip":"118.185.137.196","insertTime":1742057247,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057236,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7890
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7890
            [uid] => u595
            [unique_id] => 36075_7890_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057234
            [channelDTime] => 1742057247
            [channelDuration] => 13
            [cSTime] => 1742057240
            [cETime] => 1742057247
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09779015803
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057247
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057236
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3268
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.440000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29834.31999999812
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3268
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.440000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95517.44000000817
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057248
{"compaign_id":"36075","contact_id":"7758","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7758","uid":"u595","unique_id":"36075_7758_138-u595","ivrId":"3158","channelOTime":1742057204,"channelDTime":1742057247,"channelDuration":43,"cSTime":1742057229,"cETime":1742057247,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09009590687","server_ip":"118.185.137.196","insertTime":1742057247,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057206,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7758
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7758
            [uid] => u595
            [unique_id] => 36075_7758_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057204
            [channelDTime] => 1742057247
            [channelDuration] => 43
            [cSTime] => 1742057229
            [cETime] => 1742057247
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09009590687
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057247
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057206
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3269
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.520000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29834.239999998117
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3269
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.520000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95517.36000000816
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057249
{"compaign_id":"36075","contact_id":"7862","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7862","uid":"u595","unique_id":"36075_7862_138-u595","ivrId":"3158","channelOTime":1742057229,"channelDTime":1742057247,"channelDuration":18,"cSTime":1742057244,"cETime":1742057247,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09993566610","server_ip":"118.185.137.196","insertTime":1742057247,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057233,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7862
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7862
            [uid] => u595
            [unique_id] => 36075_7862_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057229
            [channelDTime] => 1742057247
            [channelDuration] => 18
            [cSTime] => 1742057244
            [cETime] => 1742057247
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09993566610
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057247
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057233
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3271
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.68000000000603
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29834.079999998117
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3271
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.68000000000603
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95517.20000000816
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057249
{"compaign_id":"36075","contact_id":"7851","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7851","uid":"u595","unique_id":"36075_7851_138-u595","ivrId":"3158","channelOTime":1742057227,"channelDTime":1742057248,"channelDuration":21,"cSTime":1742057245,"cETime":1742057248,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09949161336","server_ip":"118.185.137.196","insertTime":1742057248,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057230,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7851
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7851
            [uid] => u595
            [unique_id] => 36075_7851_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057227
            [channelDTime] => 1742057248
            [channelDuration] => 21
            [cSTime] => 1742057245
            [cETime] => 1742057248
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09949161336
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057248
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057230
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3272
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.760000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29833.999999998116
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3272
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.760000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95517.12000000816
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057250
{"compaign_id":"36075","contact_id":"7841","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7841","uid":"u595","unique_id":"36075_7841_138-u595","ivrId":"3158","channelOTime":1742057223,"channelDTime":1742057248,"channelDuration":25,"cSTime":1742057237,"cETime":1742057248,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08423766552","server_ip":"118.185.137.196","insertTime":1742057248,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057225,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7841
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7841
            [uid] => u595
            [unique_id] => 36075_7841_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057223
            [channelDTime] => 1742057248
            [channelDuration] => 25
            [cSTime] => 1742057237
            [cETime] => 1742057248
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08423766552
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057248
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057225
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3273
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.840000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29833.919999998114
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3273
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.840000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95517.04000000816
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057250
{"compaign_id":"36075","contact_id":"7863","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7863","uid":"u595","unique_id":"36075_7863_138-u595","ivrId":"3158","channelOTime":1742057229,"channelDTime":1742057249,"channelDuration":20,"cSTime":1742057238,"cETime":1742057249,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08967430795","server_ip":"118.185.137.196","insertTime":1742057249,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057231,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7863
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7863
            [uid] => u595
            [unique_id] => 36075_7863_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057229
            [channelDTime] => 1742057249
            [channelDuration] => 20
            [cSTime] => 1742057238
            [cETime] => 1742057249
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08967430795
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057249
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057231
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3274
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.920000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29833.839999998112
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3274
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 261.920000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95516.96000000816
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057251
{"compaign_id":"36075","contact_id":"7819","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7819","uid":"u595","unique_id":"36075_7819_138-u595","ivrId":"3158","channelOTime":1742057218,"channelDTime":1742057250,"channelDuration":32,"cSTime":1742057226,"cETime":1742057250,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08708886221","server_ip":"118.185.137.196","insertTime":1742057250,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057220,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057226,"endTime":1742057250,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7819
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7819
            [uid] => u595
            [unique_id] => 36075_7819_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057218
            [channelDTime] => 1742057250
            [channelDuration] => 32
            [cSTime] => 1742057226
            [cETime] => 1742057250
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08708886221
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057250
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057220
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057226
                                    [endTime] => 1742057250
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3275
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.00000000000597
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29833.75999999811
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3275
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.00000000000597
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95516.88000000815
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057251
{"compaign_id":"36075","contact_id":"7876","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7876","uid":"u595","unique_id":"36075_7876_138-u595","ivrId":"3158","channelOTime":1742057232,"channelDTime":1742057250,"channelDuration":18,"cSTime":1742057246,"cETime":1742057250,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09496707078","server_ip":"118.185.137.196","insertTime":1742057250,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057233,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7876
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7876
            [uid] => u595
            [unique_id] => 36075_7876_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057232
            [channelDTime] => 1742057250
            [channelDuration] => 18
            [cSTime] => 1742057246
            [cETime] => 1742057250
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09496707078
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057250
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057233
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3277
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.160000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29833.59999999811
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3277
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.160000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95516.72000000815
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057252
{"compaign_id":"36075","contact_id":"7813","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7813","uid":"u595","unique_id":"36075_7813_138-u595","ivrId":"3158","channelOTime":1742057217,"channelDTime":1742057250,"channelDuration":33,"cSTime":1742057227,"cETime":1742057250,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06200425846","server_ip":"118.185.137.196","insertTime":1742057250,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057220,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057227,"endTime":1742057250,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7813
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7813
            [uid] => u595
            [unique_id] => 36075_7813_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057217
            [channelDTime] => 1742057250
            [channelDuration] => 33
            [cSTime] => 1742057227
            [cETime] => 1742057250
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06200425846
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057250
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057220
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057227
                                    [endTime] => 1742057250
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3278
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.240000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29833.51999999811
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3278
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.240000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95516.64000000815
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057252
{"compaign_id":"36075","contact_id":"7812","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7812","uid":"u595","unique_id":"36075_7812_138-u595","ivrId":"3158","channelOTime":1742057217,"channelDTime":1742057251,"channelDuration":34,"cSTime":1742057227,"cETime":1742057251,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09330340292","server_ip":"118.185.137.196","insertTime":1742057251,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057220,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057227,"endTime":1742057251,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7812
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7812
            [uid] => u595
            [unique_id] => 36075_7812_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057217
            [channelDTime] => 1742057251
            [channelDuration] => 34
            [cSTime] => 1742057227
            [cETime] => 1742057251
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09330340292
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057251
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057220
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057227
                                    [endTime] => 1742057251
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3280
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.400000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29833.35999999811
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3280
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.400000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95516.48000000814
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057252
{"compaign_id":"36075","contact_id":"7822","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7822","uid":"u595","unique_id":"36075_7822_138-u595","ivrId":"3158","channelOTime":1742057219,"channelDTime":1742057251,"channelDuration":32,"cSTime":1742057228,"cETime":1742057251,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07652837847","server_ip":"118.185.137.196","insertTime":1742057251,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057221,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057228,"endTime":1742057245,"duration":17}],"#3":[{"startTime":1742057245,"endTime":1742057251,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7822
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7822
            [uid] => u595
            [unique_id] => 36075_7822_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057219
            [channelDTime] => 1742057251
            [channelDuration] => 32
            [cSTime] => 1742057228
            [cETime] => 1742057251
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07652837847
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057251
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057221
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057228
                                    [endTime] => 1742057245
                                    [duration] => 17
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057245
                                    [endTime] => 1742057251
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3282
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.560000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29833.19999999811
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3282
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.560000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95516.32000000814
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057253
{"compaign_id":"36075","contact_id":"7891","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7891","uid":"u595","unique_id":"36075_7891_138-u595","ivrId":"3158","channelOTime":1742057235,"channelDTime":1742057252,"channelDuration":17,"cSTime":1742057249,"cETime":1742057252,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08802066295","server_ip":"118.185.137.196","insertTime":1742057252,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057239,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7891
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7891
            [uid] => u595
            [unique_id] => 36075_7891_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057235
            [channelDTime] => 1742057252
            [channelDuration] => 17
            [cSTime] => 1742057249
            [cETime] => 1742057252
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08802066295
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057252
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057239
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3284
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.72000000000605
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29833.03999999811
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3284
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.72000000000605
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95516.16000000814
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057253
{"compaign_id":"36075","contact_id":"7777","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7777","uid":"u595","unique_id":"36075_7777_138-u595","ivrId":"3158","channelOTime":1742057208,"channelDTime":1742057253,"channelDuration":45,"cSTime":1742057231,"cETime":1742057253,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09309103271","server_ip":"118.185.137.196","insertTime":1742057253,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057210,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057231,"endTime":1742057255,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7777
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7777
            [uid] => u595
            [unique_id] => 36075_7777_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057208
            [channelDTime] => 1742057253
            [channelDuration] => 45
            [cSTime] => 1742057231
            [cETime] => 1742057253
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09309103271
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057253
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057210
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057231
                                    [endTime] => 1742057255
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3285
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.80000000000604
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29832.959999998107
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3285
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.80000000000604
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95516.08000000814
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057255
{"compaign_id":"36075","contact_id":"7830","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7830","uid":"u595","unique_id":"36075_7830_138-u595","ivrId":"3158","channelOTime":1742057220,"channelDTime":1742057254,"channelDuration":34,"cSTime":1742057241,"cETime":1742057254,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09411296264","server_ip":"118.185.137.196","insertTime":1742057254,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057223,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7830
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7830
            [uid] => u595
            [unique_id] => 36075_7830_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057220
            [channelDTime] => 1742057254
            [channelDuration] => 34
            [cSTime] => 1742057241
            [cETime] => 1742057254
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09411296264
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057254
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057223
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3287
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.96000000000606
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29832.799999998108
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3287
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 262.96000000000606
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95515.92000000813
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057256
{"compaign_id":"36075","contact_id":"7853","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7853","uid":"u595","unique_id":"36075_7853_138-u595","ivrId":"3158","channelOTime":1742057227,"channelDTime":1742057254,"channelDuration":27,"cSTime":1742057240,"cETime":1742057254,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06398147745","server_ip":"118.185.137.196","insertTime":1742057254,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057230,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7853
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7853
            [uid] => u595
            [unique_id] => 36075_7853_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057227
            [channelDTime] => 1742057254
            [channelDuration] => 27
            [cSTime] => 1742057240
            [cETime] => 1742057254
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06398147745
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057254
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057230
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3288
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.04000000000605
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29832.719999998106
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3288
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.04000000000605
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95515.84000000813
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057256
{"compaign_id":"36075","contact_id":"7909","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7909","uid":"u595","unique_id":"36075_7909_138-u595","ivrId":"3158","channelOTime":1742057240,"channelDTime":1742057255,"channelDuration":15,"cSTime":1742057250,"cETime":1742057255,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09451436647","server_ip":"118.185.137.196","insertTime":1742057255,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057242,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7909
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7909
            [uid] => u595
            [unique_id] => 36075_7909_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057240
            [channelDTime] => 1742057255
            [channelDuration] => 15
            [cSTime] => 1742057250
            [cETime] => 1742057255
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09451436647
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057255
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057242
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3289
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.12000000000603
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29832.639999998104
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3289
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.12000000000603
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95515.76000000813
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057256
{"compaign_id":"36075","contact_id":"7925","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7925","uid":"u595","unique_id":"36075_7925_138-u595","ivrId":"3158","channelOTime":1742057243,"channelDTime":1742057256,"channelDuration":13,"cSTime":1742057254,"cETime":1742057256,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09088905935","server_ip":"118.185.137.196","insertTime":1742057256,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057244,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7925
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7925
            [uid] => u595
            [unique_id] => 36075_7925_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057243
            [channelDTime] => 1742057256
            [channelDuration] => 13
            [cSTime] => 1742057254
            [cETime] => 1742057256
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09088905935
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057256
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057244
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3290
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.200000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29832.559999998102
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3290
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.200000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95515.68000000813
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057258
{"compaign_id":"36075","contact_id":"7948","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7948","uid":"u595","unique_id":"36075_7948_138-u595","ivrId":"3158","channelOTime":1742057248,"channelDTime":1742057257,"channelDuration":9,"cSTime":1742057254,"cETime":1742057257,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08141737272","server_ip":"118.185.137.196","insertTime":1742057257,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057250,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7948
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7948
            [uid] => u595
            [unique_id] => 36075_7948_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057248
            [channelDTime] => 1742057257
            [channelDuration] => 9
            [cSTime] => 1742057254
            [cETime] => 1742057257
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08141737272
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057257
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057250
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3291
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.280000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29832.4799999981
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3291
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.280000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95515.60000000813
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057259
{"compaign_id":"36075","contact_id":"7887","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7887","uid":"u595","unique_id":"36075_7887_138-u595","ivrId":"3158","channelOTime":1742057234,"channelDTime":1742057258,"channelDuration":24,"cSTime":1742057254,"cETime":1742057258,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07337830200","server_ip":"118.185.137.196","insertTime":1742057258,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057236,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7887
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7887
            [uid] => u595
            [unique_id] => 36075_7887_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057234
            [channelDTime] => 1742057258
            [channelDuration] => 24
            [cSTime] => 1742057254
            [cETime] => 1742057258
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07337830200
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057258
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057236
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3292
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.360000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29832.3999999981
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3292
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.360000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95515.52000000812
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057259
{"compaign_id":"36075","contact_id":"7899","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7899","uid":"u595","unique_id":"36075_7899_138-u595","ivrId":"3158","channelOTime":1742057236,"channelDTime":1742057259,"channelDuration":23,"cSTime":1742057249,"cETime":1742057259,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08851608554","server_ip":"118.185.137.196","insertTime":1742057259,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057241,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7899
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7899
            [uid] => u595
            [unique_id] => 36075_7899_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057236
            [channelDTime] => 1742057259
            [channelDuration] => 23
            [cSTime] => 1742057249
            [cETime] => 1742057259
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08851608554
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057259
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057241
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3293
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.44000000000597
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29832.319999998097
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3293
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.44000000000597
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95515.44000000812
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057261
{"compaign_id":"36075","contact_id":"7845","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7845","uid":"u595","unique_id":"36075_7845_138-u595","ivrId":"3158","channelOTime":1742057223,"channelDTime":1742057260,"channelDuration":37,"cSTime":1742057236,"cETime":1742057260,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08144563447","server_ip":"118.185.137.196","insertTime":1742057260,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057225,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057236,"endTime":1742057260,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7845
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7845
            [uid] => u595
            [unique_id] => 36075_7845_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057223
            [channelDTime] => 1742057260
            [channelDuration] => 37
            [cSTime] => 1742057236
            [cETime] => 1742057260
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08144563447
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057260
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057225
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057236
                                    [endTime] => 1742057260
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3294
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.52000000000595
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29832.239999998095
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3294
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.52000000000595
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95515.36000000812
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057262
{"compaign_id":"36075","contact_id":"7924","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7924","uid":"u595","unique_id":"36075_7924_138-u595","ivrId":"3158","channelOTime":1742057243,"channelDTime":1742057260,"channelDuration":17,"cSTime":1742057257,"cETime":1742057260,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09335899680","server_ip":"118.185.137.196","insertTime":1742057260,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057248,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7924
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7924
            [uid] => u595
            [unique_id] => 36075_7924_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057243
            [channelDTime] => 1742057260
            [channelDuration] => 17
            [cSTime] => 1742057257
            [cETime] => 1742057260
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09335899680
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057260
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057248
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3296
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.680000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29832.079999998095
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3296
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.680000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95515.20000000812
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057262
{"compaign_id":"36075","contact_id":"7835","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7835","uid":"u595","unique_id":"36075_7835_138-u595","ivrId":"3158","channelOTime":1742057221,"channelDTime":1742057261,"channelDuration":40,"cSTime":1742057238,"cETime":1742057261,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09899994918","server_ip":"118.185.137.196","insertTime":1742057261,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057226,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057238,"endTime":1742057261,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7835
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7835
            [uid] => u595
            [unique_id] => 36075_7835_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057221
            [channelDTime] => 1742057261
            [channelDuration] => 40
            [cSTime] => 1742057238
            [cETime] => 1742057261
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09899994918
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057261
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057226
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057238
                                    [endTime] => 1742057261
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3297
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.76000000000596
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29831.999999998094
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3297
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.76000000000596
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95515.12000000812
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057263
{"compaign_id":"36075","contact_id":"7913","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7913","uid":"u595","unique_id":"36075_7913_138-u595","ivrId":"3158","channelOTime":1742057241,"channelDTime":1742057263,"channelDuration":22,"cSTime":1742057256,"cETime":1742057263,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09996300492","server_ip":"118.185.137.196","insertTime":1742057263,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057243,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7913
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7913
            [uid] => u595
            [unique_id] => 36075_7913_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057241
            [channelDTime] => 1742057263
            [channelDuration] => 22
            [cSTime] => 1742057256
            [cETime] => 1742057263
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09996300492
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057263
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057243
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3299
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.920000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29831.839999998094
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3299
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 263.920000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.96000000811
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057265
{"compaign_id":"36075","contact_id":"7914","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7914","uid":"u595","unique_id":"36075_7914_138-u595","ivrId":"3158","channelOTime":1742057241,"channelDTime":1742057264,"channelDuration":23,"cSTime":1742057259,"cETime":1742057264,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09971690177","server_ip":"118.185.137.196","insertTime":1742057264,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057244,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7914
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7914
            [uid] => u595
            [unique_id] => 36075_7914_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057241
            [channelDTime] => 1742057264
            [channelDuration] => 23
            [cSTime] => 1742057259
            [cETime] => 1742057264
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09971690177
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057264
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057244
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3300
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.00000000000597
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29831.759999998092
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3300
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.00000000000597
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.88000000811
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057265
{"compaign_id":"36075","contact_id":"7828","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7828","uid":"u595","unique_id":"36075_7828_138-u595","ivrId":"3158","channelOTime":1742057220,"channelDTime":1742057264,"channelDuration":44,"cSTime":1742057242,"cETime":1742057264,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08962429498","server_ip":"118.185.137.196","insertTime":1742057264,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057222,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057242,"endTime":1742057265,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7828
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7828
            [uid] => u595
            [unique_id] => 36075_7828_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057220
            [channelDTime] => 1742057264
            [channelDuration] => 44
            [cSTime] => 1742057242
            [cETime] => 1742057264
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08962429498
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057264
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057222
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057242
                                    [endTime] => 1742057265
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3301
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.08000000000595
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29831.67999999809
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3301
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.08000000000595
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.80000000811
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057266
{"compaign_id":"36075","contact_id":"7886","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7886","uid":"u595","unique_id":"36075_7886_138-u595","ivrId":"3158","channelOTime":1742057234,"channelDTime":1742057265,"channelDuration":31,"cSTime":1742057256,"cETime":1742057265,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09922542934","server_ip":"118.185.137.196","insertTime":1742057265,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057235,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7886
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7886
            [uid] => u595
            [unique_id] => 36075_7886_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057234
            [channelDTime] => 1742057265
            [channelDuration] => 31
            [cSTime] => 1742057256
            [cETime] => 1742057265
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09922542934
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057265
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057235
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3303
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.240000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29831.51999999809
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3303
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.240000000006
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.6400000081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057266
{"compaign_id":"36075","contact_id":"7941","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7941","uid":"u595","unique_id":"36075_7941_138-u595","ivrId":"3158","channelOTime":1742057246,"channelDTime":1742057266,"channelDuration":20,"cSTime":1742057261,"cETime":1742057266,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09000026823","server_ip":"118.185.137.196","insertTime":1742057266,"ivrData":{"#2":["8"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057248,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057261,"endTime":1742057266,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7941
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7941
            [uid] => u595
            [unique_id] => 36075_7941_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057246
            [channelDTime] => 1742057266
            [channelDuration] => 20
            [cSTime] => 1742057261
            [cETime] => 1742057266
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09000026823
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057266
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 8
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057248
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057261
                                    [endTime] => 1742057266
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3304
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.32000000000596
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29831.43999999809
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3304
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.32000000000596
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.5600000081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057267
{"compaign_id":"36075","contact_id":"7900","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7900","uid":"u595","unique_id":"36075_7900_138-u595","ivrId":"3158","channelOTime":1742057238,"channelDTime":1742057267,"channelDuration":29,"cSTime":1742057260,"cETime":1742057267,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08435472242","server_ip":"118.185.137.196","insertTime":1742057267,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057240,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7900
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7900
            [uid] => u595
            [unique_id] => 36075_7900_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057238
            [channelDTime] => 1742057267
            [channelDuration] => 29
            [cSTime] => 1742057260
            [cETime] => 1742057267
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08435472242
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057267
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057240
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3305
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.40000000000595
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29831.359999998087
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3305
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.40000000000595
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.4800000081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057268
{"compaign_id":"36075","contact_id":"7877","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7877","uid":"u595","unique_id":"36075_7877_138-u595","ivrId":"3158","channelOTime":1742057232,"channelDTime":1742057268,"channelDuration":36,"cSTime":1742057258,"cETime":1742057268,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09348275726","server_ip":"118.185.137.196","insertTime":1742057268,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057236,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7877
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7877
            [uid] => u595
            [unique_id] => 36075_7877_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057232
            [channelDTime] => 1742057268
            [channelDuration] => 36
            [cSTime] => 1742057258
            [cETime] => 1742057268
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09348275726
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057268
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057236
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3306
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.48000000000593
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29831.279999998085
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3306
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.48000000000593
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.4000000081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057269
{"compaign_id":"36075","contact_id":"7978","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7978","uid":"u595","unique_id":"36075_7978_138-u595","ivrId":"3158","channelOTime":1742057256,"channelDTime":1742057268,"channelDuration":12,"cSTime":1742057265,"cETime":1742057268,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08595533621","server_ip":"118.185.137.196","insertTime":1742057268,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057257,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7978
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7978
            [uid] => u595
            [unique_id] => 36075_7978_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057256
            [channelDTime] => 1742057268
            [channelDuration] => 12
            [cSTime] => 1742057265
            [cETime] => 1742057268
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08595533621
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057268
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057257
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3307
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.5600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29831.199999998084
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3307
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.5600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.3200000081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057270
{"compaign_id":"36075","contact_id":"7911","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7911","uid":"u595","unique_id":"36075_7911_138-u595","ivrId":"3158","channelOTime":1742057240,"channelDTime":1742057270,"channelDuration":30,"cSTime":1742057263,"cETime":1742057270,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09113367792","server_ip":"118.185.137.196","insertTime":1742057270,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057243,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7911
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7911
            [uid] => u595
            [unique_id] => 36075_7911_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057240
            [channelDTime] => 1742057270
            [channelDuration] => 30
            [cSTime] => 1742057263
            [cETime] => 1742057270
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09113367792
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057270
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057243
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3308
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.6400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29831.11999999808
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3308
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.6400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.2400000081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057271
{"compaign_id":"36075","contact_id":"7960","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7960","uid":"u595","unique_id":"36075_7960_138-u595","ivrId":"3158","channelOTime":1742057252,"channelDTime":1742057270,"channelDuration":18,"cSTime":1742057261,"cETime":1742057270,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08712402243","server_ip":"118.185.137.196","insertTime":1742057270,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057254,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7960
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7960
            [uid] => u595
            [unique_id] => 36075_7960_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057252
            [channelDTime] => 1742057270
            [channelDuration] => 18
            [cSTime] => 1742057261
            [cETime] => 1742057270
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08712402243
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057270
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057254
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3309
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.7200000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29831.03999999808
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3309
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.7200000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.1600000081
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057272
{"compaign_id":"36075","contact_id":"7955","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7955","uid":"u595","unique_id":"36075_7955_138-u595","ivrId":"3158","channelOTime":1742057251,"channelDTime":1742057271,"channelDuration":20,"cSTime":1742057260,"cETime":1742057271,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08459650757","server_ip":"118.185.137.196","insertTime":1742057271,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057253,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7955
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7955
            [uid] => u595
            [unique_id] => 36075_7955_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057251
            [channelDTime] => 1742057271
            [channelDuration] => 20
            [cSTime] => 1742057260
            [cETime] => 1742057271
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08459650757
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057271
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057253
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3310
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.80000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29830.95999999808
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3310
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.80000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.08000000809
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057273
{"compaign_id":"36075","contact_id":"7908","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7908","uid":"u595","unique_id":"36075_7908_138-u595","ivrId":"3158","channelOTime":1742057240,"channelDTime":1742057271,"channelDuration":31,"cSTime":1742057253,"cETime":1742057271,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09015279675","server_ip":"118.185.137.196","insertTime":1742057271,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057243,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7908
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7908
            [uid] => u595
            [unique_id] => 36075_7908_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057240
            [channelDTime] => 1742057271
            [channelDuration] => 31
            [cSTime] => 1742057253
            [cETime] => 1742057271
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09015279675
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057271
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057243
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3311
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.88000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29830.879999998077
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3311
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 264.88000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95514.00000000809
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057273
{"compaign_id":"36075","contact_id":"7950","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7950","uid":"u595","unique_id":"36075_7950_138-u595","ivrId":"3158","channelOTime":1742057250,"channelDTime":1742057272,"channelDuration":22,"cSTime":1742057264,"cETime":1742057272,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06376947768","server_ip":"118.185.137.196","insertTime":1742057272,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057251,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7950
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7950
            [uid] => u595
            [unique_id] => 36075_7950_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057250
            [channelDTime] => 1742057272
            [channelDuration] => 22
            [cSTime] => 1742057264
            [cETime] => 1742057272
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06376947768
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057272
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057251
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3313
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.0400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29830.719999998077
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3313
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.0400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95513.84000000809
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057274
{"compaign_id":"36075","contact_id":"7939","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7939","uid":"u595","unique_id":"36075_7939_138-u595","ivrId":"3158","channelOTime":1742057246,"channelDTime":1742057274,"channelDuration":28,"cSTime":1742057268,"cETime":1742057274,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08822059609","server_ip":"118.185.137.196","insertTime":1742057274,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057249,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7939
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7939
            [uid] => u595
            [unique_id] => 36075_7939_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057246
            [channelDTime] => 1742057274
            [channelDuration] => 28
            [cSTime] => 1742057268
            [cETime] => 1742057274
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08822059609
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057274
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057249
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3314
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.12000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29830.639999998075
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3314
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.12000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95513.76000000809
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057275
{"compaign_id":"36075","contact_id":"7957","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7957","uid":"u595","unique_id":"36075_7957_138-u595","ivrId":"3158","channelOTime":1742057251,"channelDTime":1742057275,"channelDuration":24,"cSTime":1742057270,"cETime":1742057275,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06295010270","server_ip":"118.185.137.196","insertTime":1742057275,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057254,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7957
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7957
            [uid] => u595
            [unique_id] => 36075_7957_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057251
            [channelDTime] => 1742057275
            [channelDuration] => 24
            [cSTime] => 1742057270
            [cETime] => 1742057275
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06295010270
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057275
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057254
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3315
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.20000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29830.559999998073
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3315
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.20000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95513.68000000808
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057276
{"compaign_id":"36075","contact_id":"7915","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7915","uid":"u595","unique_id":"36075_7915_138-u595","ivrId":"3158","channelOTime":1742057241,"channelDTime":1742057275,"channelDuration":34,"cSTime":1742057255,"cETime":1742057275,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08521876681","server_ip":"118.185.137.196","insertTime":1742057275,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":0,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7915
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7915
            [uid] => u595
            [unique_id] => 36075_7915_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057241
            [channelDTime] => 1742057275
            [channelDuration] => 34
            [cSTime] => 1742057255
            [cETime] => 1742057275
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08521876681
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057275
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 0
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3316
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.2800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29830.47999999807
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3316
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.2800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95513.60000000808
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057276
{"compaign_id":"36075","contact_id":"7934","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7934","uid":"u595","unique_id":"36075_7934_138-u595","ivrId":"3158","channelOTime":1742057245,"channelDTime":1742057276,"channelDuration":31,"cSTime":1742057268,"cETime":1742057276,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09058974083","server_ip":"118.185.137.196","insertTime":1742057276,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057255,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7934
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7934
            [uid] => u595
            [unique_id] => 36075_7934_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057245
            [channelDTime] => 1742057276
            [channelDuration] => 31
            [cSTime] => 1742057268
            [cETime] => 1742057276
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09058974083
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057276
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057255
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3318
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.44000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29830.31999999807
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3318
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.44000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95513.44000000808
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057278
{"compaign_id":"36075","contact_id":"8026","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8026","uid":"u595","unique_id":"36075_8026_138-u595","ivrId":"3158","channelOTime":1742057267,"channelDTime":1742057276,"channelDuration":9,"cSTime":1742057274,"cETime":1742057276,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06383368286","server_ip":"118.185.137.196","insertTime":1742057276,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057269,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8026
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8026
            [uid] => u595
            [unique_id] => 36075_8026_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057267
            [channelDTime] => 1742057276
            [channelDuration] => 9
            [cSTime] => 1742057274
            [cETime] => 1742057276
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06383368286
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057276
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057269
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3319
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.52000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29830.23999999807
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3319
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.52000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95513.36000000808
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057278
{"compaign_id":"36075","contact_id":"7932","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7932","uid":"u595","unique_id":"36075_7932_138-u595","ivrId":"3158","channelOTime":1742057245,"channelDTime":1742057277,"channelDuration":32,"cSTime":1742057262,"cETime":1742057277,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08051620087","server_ip":"118.185.137.196","insertTime":1742057277,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057246,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7932
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7932
            [uid] => u595
            [unique_id] => 36075_7932_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057245
            [channelDTime] => 1742057277
            [channelDuration] => 32
            [cSTime] => 1742057262
            [cETime] => 1742057277
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08051620087
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057277
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057246
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3320
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.6000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29830.159999998068
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3320
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.6000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95513.28000000808
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057278
{"compaign_id":"36075","contact_id":"7958","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7958","uid":"u595","unique_id":"36075_7958_138-u595","ivrId":"3158","channelOTime":1742057252,"channelDTime":1742057279,"channelDuration":27,"cSTime":1742057268,"cETime":1742057279,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07055246512","server_ip":"118.185.137.196","insertTime":1742057279,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057254,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7958
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7958
            [uid] => u595
            [unique_id] => 36075_7958_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057252
            [channelDTime] => 1742057279
            [channelDuration] => 27
            [cSTime] => 1742057268
            [cETime] => 1742057279
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07055246512
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057279
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057254
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3321
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.6800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29830.079999998066
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3321
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.6800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95513.20000000807
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057281
{"compaign_id":"36075","contact_id":"8036","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8036","uid":"u595","unique_id":"36075_8036_138-u595","ivrId":"3158","channelOTime":1742057269,"channelDTime":1742057280,"channelDuration":11,"cSTime":1742057274,"cETime":1742057280,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07007588355","server_ip":"118.185.137.196","insertTime":1742057280,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057271,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8036
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8036
            [uid] => u595
            [unique_id] => 36075_8036_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057269
            [channelDTime] => 1742057280
            [channelDuration] => 11
            [cSTime] => 1742057274
            [cETime] => 1742057280
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07007588355
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057280
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057271
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found 2025-03-15 22:18:02[LOG]Starting Cron
2025-03-15 22:18:02[LOG]Process is already running
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3322
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.7600000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29829.999999998065
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3322
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.7600000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95513.12000000807
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057282
{"compaign_id":"36075","contact_id":"7987","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7987","uid":"u595","unique_id":"36075_7987_138-u595","ivrId":"3158","channelOTime":1742057257,"channelDTime":1742057281,"channelDuration":24,"cSTime":1742057264,"cETime":1742057281,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08341010255","server_ip":"118.185.137.196","insertTime":1742057281,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057259,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7987
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7987
            [uid] => u595
            [unique_id] => 36075_7987_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057257
            [channelDTime] => 1742057281
            [channelDuration] => 24
            [cSTime] => 1742057264
            [cETime] => 1742057281
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08341010255
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057281
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057259
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3323
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.8400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29829.919999998063
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3323
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 265.8400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95513.04000000807
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057283
{"compaign_id":"36075","contact_id":"7991","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7991","uid":"u595","unique_id":"36075_7991_138-u595","ivrId":"3158","channelOTime":1742057258,"channelDTime":1742057281,"channelDuration":23,"cSTime":1742057276,"cETime":1742057281,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07905907676","server_ip":"118.185.137.196","insertTime":1742057281,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057259,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7991
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7991
            [uid] => u595
            [unique_id] => 36075_7991_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057258
            [channelDTime] => 1742057281
            [channelDuration] => 23
            [cSTime] => 1742057276
            [cETime] => 1742057281
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07905907676
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057281
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057259
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3325
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.0000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29829.759999998063
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3325
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.0000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95512.88000000807
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057283
{"compaign_id":"36075","contact_id":"8027","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8027","uid":"u595","unique_id":"36075_8027_138-u595","ivrId":"3158","channelOTime":1742057268,"channelDTime":1742057282,"channelDuration":14,"cSTime":1742057274,"cETime":1742057282,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09820819032","server_ip":"118.185.137.196","insertTime":1742057282,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057270,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8027
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8027
            [uid] => u595
            [unique_id] => 36075_8027_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057268
            [channelDTime] => 1742057282
            [channelDuration] => 14
            [cSTime] => 1742057274
            [cETime] => 1742057282
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09820819032
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057282
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057270
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3326
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.0800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29829.67999999806
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3326
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.0800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95512.80000000806
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057283
{"compaign_id":"36075","contact_id":"7936","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7936","uid":"u595","unique_id":"36075_7936_138-u595","ivrId":"3158","channelOTime":1742057245,"channelDTime":1742057282,"channelDuration":37,"cSTime":1742057265,"cETime":1742057282,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09742631162","server_ip":"118.185.137.196","insertTime":1742057282,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057248,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7936
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7936
            [uid] => u595
            [unique_id] => 36075_7936_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057245
            [channelDTime] => 1742057282
            [channelDuration] => 37
            [cSTime] => 1742057265
            [cETime] => 1742057282
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09742631162
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057282
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057248
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3327
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.16000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29829.59999999806
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3327
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.16000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95512.72000000806
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057283
{"compaign_id":"36075","contact_id":"7956","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7956","uid":"u595","unique_id":"36075_7956_138-u595","ivrId":"3158","channelOTime":1742057251,"channelDTime":1742057282,"channelDuration":31,"cSTime":1742057265,"cETime":1742057282,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09767953472","server_ip":"118.185.137.196","insertTime":1742057282,"ivrData":{"#2":["A"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057253,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057265,"endTime":1742057282,"duration":17}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7956
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7956
            [uid] => u595
            [unique_id] => 36075_7956_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057251
            [channelDTime] => 1742057282
            [channelDuration] => 31
            [cSTime] => 1742057265
            [cETime] => 1742057282
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09767953472
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057282
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => A
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057253
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057265
                                    [endTime] => 1742057282
                                    [duration] => 17
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3329
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.3200000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29829.43999999806
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3329
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.3200000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95512.56000000806
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057284
{"compaign_id":"36075","contact_id":"8008","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8008","uid":"u595","unique_id":"36075_8008_138-u595","ivrId":"3158","channelOTime":1742057264,"channelDTime":1742057282,"channelDuration":18,"cSTime":1742057278,"cETime":1742057282,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09902562524","server_ip":"118.185.137.196","insertTime":1742057282,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057268,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8008
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8008
            [uid] => u595
            [unique_id] => 36075_8008_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057264
            [channelDTime] => 1742057282
            [channelDuration] => 18
            [cSTime] => 1742057278
            [cETime] => 1742057282
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09902562524
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057282
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057268
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3331
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.4800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29829.27999999806
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3331
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.4800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95512.40000000806
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057284
{"compaign_id":"36075","contact_id":"7975","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7975","uid":"u595","unique_id":"36075_7975_138-u595","ivrId":"3158","channelOTime":1742057255,"channelDTime":1742057282,"channelDuration":27,"cSTime":1742057273,"cETime":1742057282,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09528363856","server_ip":"118.185.137.196","insertTime":1742057282,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057257,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7975
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7975
            [uid] => u595
            [unique_id] => 36075_7975_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057255
            [channelDTime] => 1742057282
            [channelDuration] => 27
            [cSTime] => 1742057273
            [cETime] => 1742057282
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09528363856
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057282
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057257
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3332
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.5600000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29829.199999998058
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3332
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.5600000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95512.32000000805
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057284
{"compaign_id":"36075","contact_id":"8041","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8041","uid":"u595","unique_id":"36075_8041_138-u595","ivrId":"3158","channelOTime":1742057270,"channelDTime":1742057282,"channelDuration":12,"cSTime":1742057279,"cETime":1742057282,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09670993670","server_ip":"118.185.137.196","insertTime":1742057282,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057272,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8041
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8041
            [uid] => u595
            [unique_id] => 36075_8041_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057270
            [channelDTime] => 1742057282
            [channelDuration] => 12
            [cSTime] => 1742057279
            [cETime] => 1742057282
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09670993670
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057282
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057272
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3333
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.6400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29829.119999998056
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3333
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.6400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95512.24000000805
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057284
{"compaign_id":"36075","contact_id":"7996","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7996","uid":"u595","unique_id":"36075_7996_138-u595","ivrId":"3158","channelOTime":1742057259,"channelDTime":1742057282,"channelDuration":23,"cSTime":1742057271,"cETime":1742057282,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08882126576","server_ip":"118.185.137.196","insertTime":1742057282,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057262,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7996
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7996
            [uid] => u595
            [unique_id] => 36075_7996_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057259
            [channelDTime] => 1742057282
            [channelDuration] => 23
            [cSTime] => 1742057271
            [cETime] => 1742057282
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08882126576
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057282
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057262
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3334
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.72000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29829.039999998055
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3334
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.72000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95512.16000000805
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057284
{"compaign_id":"36075","contact_id":"7988","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7988","uid":"u595","unique_id":"36075_7988_138-u595","ivrId":"3158","channelOTime":1742057258,"channelDTime":1742057285,"channelDuration":27,"cSTime":1742057276,"cETime":1742057285,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08368648912","server_ip":"118.185.137.196","insertTime":1742057285,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057262,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7988
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7988
            [uid] => u595
            [unique_id] => 36075_7988_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057258
            [channelDTime] => 1742057285
            [channelDuration] => 27
            [cSTime] => 1742057276
            [cETime] => 1742057285
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08368648912
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057285
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057262
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3335
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.80000000000575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29828.959999998053
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3335
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.80000000000575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95512.08000000805
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057287
{"compaign_id":"36075","contact_id":"8000","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8000","uid":"u595","unique_id":"36075_8000_138-u595","ivrId":"3158","channelOTime":1742057262,"channelDTime":1742057285,"channelDuration":23,"cSTime":1742057270,"cETime":1742057285,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09699908538","server_ip":"118.185.137.196","insertTime":1742057285,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057264,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8000
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8000
            [uid] => u595
            [unique_id] => 36075_8000_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057262
            [channelDTime] => 1742057285
            [channelDuration] => 23
            [cSTime] => 1742057270
            [cETime] => 1742057285
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09699908538
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057285
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057264
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3336
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.88000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29828.87999999805
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3336
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.88000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95512.00000000805
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057287
{"compaign_id":"36075","contact_id":"7990","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7990","uid":"u595","unique_id":"36075_7990_138-u595","ivrId":"3158","channelOTime":1742057258,"channelDTime":1742057286,"channelDuration":28,"cSTime":1742057277,"cETime":1742057286,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08761814636","server_ip":"118.185.137.196","insertTime":1742057286,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057263,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7990
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7990
            [uid] => u595
            [unique_id] => 36075_7990_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057258
            [channelDTime] => 1742057286
            [channelDuration] => 28
            [cSTime] => 1742057277
            [cETime] => 1742057286
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08761814636
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057286
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057263
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3337
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.9600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29828.79999999805
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3337
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 266.9600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95511.92000000805
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057288
{"compaign_id":"36075","contact_id":"8017","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8017","uid":"u595","unique_id":"36075_8017_138-u595","ivrId":"3158","channelOTime":1742057266,"channelDTime":1742057286,"channelDuration":20,"cSTime":1742057282,"cETime":1742057286,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07037098626","server_ip":"118.185.137.196","insertTime":1742057286,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057268,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8017
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8017
            [uid] => u595
            [unique_id] => 36075_8017_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057266
            [channelDTime] => 1742057286
            [channelDuration] => 20
            [cSTime] => 1742057282
            [cETime] => 1742057286
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07037098626
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057286
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057268
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3338
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.0400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29828.719999998048
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3338
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.0400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95511.84000000804
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057288
{"compaign_id":"36075","contact_id":"8046","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8046","uid":"u595","unique_id":"36075_8046_138-u595","ivrId":"3158","channelOTime":1742057271,"channelDTime":1742057287,"channelDuration":16,"cSTime":1742057277,"cETime":1742057287,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07090297845","server_ip":"118.185.137.196","insertTime":1742057287,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057272,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8046
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8046
            [uid] => u595
            [unique_id] => 36075_8046_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057271
            [channelDTime] => 1742057287
            [channelDuration] => 16
            [cSTime] => 1742057277
            [cETime] => 1742057287
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07090297845
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057287
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057272
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3339
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.1200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29828.639999998046
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3339
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.1200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95511.76000000804
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057289
{"compaign_id":"36075","contact_id":"8013","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8013","uid":"u595","unique_id":"36075_8013_138-u595","ivrId":"3158","channelOTime":1742057265,"channelDTime":1742057287,"channelDuration":22,"cSTime":1742057276,"cETime":1742057287,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08777081653","server_ip":"118.185.137.196","insertTime":1742057287,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057266,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8013
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8013
            [uid] => u595
            [unique_id] => 36075_8013_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057265
            [channelDTime] => 1742057287
            [channelDuration] => 22
            [cSTime] => 1742057276
            [cETime] => 1742057287
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08777081653
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057287
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057266
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3340
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.2000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29828.559999998044
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3340
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.2000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95511.68000000804
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057289
{"compaign_id":"36075","contact_id":"8072","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8072","uid":"u595","unique_id":"36075_8072_138-u595","ivrId":"3158","channelOTime":1742057278,"channelDTime":1742057288,"channelDuration":10,"cSTime":1742057286,"cETime":1742057288,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07853894561","server_ip":"118.185.137.196","insertTime":1742057288,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8072
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8072
            [uid] => u595
            [unique_id] => 36075_8072_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057278
            [channelDTime] => 1742057288
            [channelDuration] => 10
            [cSTime] => 1742057286
            [cETime] => 1742057288
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07853894561
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057288
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3341
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.28000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29828.479999998042
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3341
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.28000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95511.60000000804
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057289
{"compaign_id":"36075","contact_id":"7998","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7998","uid":"u595","unique_id":"36075_7998_138-u595","ivrId":"3158","channelOTime":1742057260,"channelDTime":1742057289,"channelDuration":29,"cSTime":1742057267,"cETime":1742057289,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09931178969","server_ip":"118.185.137.196","insertTime":1742057289,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057261,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057267,"endTime":1742057291,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7998
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7998
            [uid] => u595
            [unique_id] => 36075_7998_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057260
            [channelDTime] => 1742057289
            [channelDuration] => 29
            [cSTime] => 1742057267
            [cETime] => 1742057289
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09931178969
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057289
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057261
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057267
                                    [endTime] => 1742057291
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3342
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.36000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29828.39999999804
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3342
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.36000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95511.52000000804
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057291
{"compaign_id":"36075","contact_id":"7919","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7919","uid":"u595","unique_id":"36075_7919_138-u595","ivrId":"3158","channelOTime":1742057242,"channelDTime":1742057290,"channelDuration":48,"cSTime":1742057266,"cETime":1742057290,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08101342354","server_ip":"118.185.137.196","insertTime":1742057290,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057246,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057266,"endTime":1742057290,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7919
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7919
            [uid] => u595
            [unique_id] => 36075_7919_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057242
            [channelDTime] => 1742057290
            [channelDuration] => 48
            [cSTime] => 1742057266
            [cETime] => 1742057290
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08101342354
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057290
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057246
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057266
                                    [endTime] => 1742057290
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3344
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.52000000000567
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29828.23999999804
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3344
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.52000000000567
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95511.36000000803
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057291
{"compaign_id":"36075","contact_id":"8001","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8001","uid":"u595","unique_id":"36075_8001_138-u595","ivrId":"3158","channelOTime":1742057262,"channelDTime":1742057290,"channelDuration":28,"cSTime":1742057282,"cETime":1742057290,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09491456610","server_ip":"118.185.137.196","insertTime":1742057290,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057265,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8001
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8001
            [uid] => u595
            [unique_id] => 36075_8001_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057262
            [channelDTime] => 1742057290
            [channelDuration] => 28
            [cSTime] => 1742057282
            [cETime] => 1742057290
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09491456610
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057290
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057265
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3346
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.6800000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29828.07999999804
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3346
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.6800000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95511.20000000803
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057291
{"compaign_id":"36075","contact_id":"8071","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8071","uid":"u595","unique_id":"36075_8071_138-u595","ivrId":"3158","channelOTime":1742057278,"channelDTime":1742057290,"channelDuration":12,"cSTime":1742057287,"cETime":1742057290,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06283111722","server_ip":"118.185.137.196","insertTime":1742057290,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8071
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8071
            [uid] => u595
            [unique_id] => 36075_8071_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057278
            [channelDTime] => 1742057290
            [channelDuration] => 12
            [cSTime] => 1742057287
            [cETime] => 1742057290
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06283111722
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057290
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3347
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.7600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29827.99999999804
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3347
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.7600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95511.12000000803
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057292
{"compaign_id":"36075","contact_id":"8058","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8058","uid":"u595","unique_id":"36075_8058_138-u595","ivrId":"3158","channelOTime":1742057276,"channelDTime":1742057290,"channelDuration":14,"cSTime":1742057283,"cETime":1742057290,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08586847976","server_ip":"118.185.137.196","insertTime":1742057290,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057277,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8058
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8058
            [uid] => u595
            [unique_id] => 36075_8058_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057276
            [channelDTime] => 1742057290
            [channelDuration] => 14
            [cSTime] => 1742057283
            [cETime] => 1742057290
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08586847976
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057290
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057277
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3348
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.84000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29827.919999998037
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3348
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.84000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95511.04000000803
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057292
{"compaign_id":"36075","contact_id":"8014","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8014","uid":"u595","unique_id":"36075_8014_138-u595","ivrId":"3158","channelOTime":1742057265,"channelDTime":1742057291,"channelDuration":26,"cSTime":1742057270,"cETime":1742057291,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08292510740","server_ip":"118.185.137.196","insertTime":1742057291,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057267,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057270,"endTime":1742057286,"duration":16}],"#3":[{"startTime":1742057286,"endTime":1742057291,"duration":5}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8014
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8014
            [uid] => u595
            [unique_id] => 36075_8014_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057265
            [channelDTime] => 1742057291
            [channelDuration] => 26
            [cSTime] => 1742057270
            [cETime] => 1742057291
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08292510740
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057291
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057267
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057270
                                    [endTime] => 1742057286
                                    [duration] => 16
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057286
                                    [endTime] => 1742057291
                                    [duration] => 5
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3349
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.92000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29827.839999998036
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3349
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 267.92000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95510.96000000802
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057293
{"compaign_id":"36075","contact_id":"8032","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8032","uid":"u595","unique_id":"36075_8032_138-u595","ivrId":"3158","channelOTime":1742057269,"channelDTime":1742057291,"channelDuration":22,"cSTime":1742057275,"cETime":1742057291,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07093617645","server_ip":"118.185.137.196","insertTime":1742057291,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057271,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8032
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8032
            [uid] => u595
            [unique_id] => 36075_8032_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057269
            [channelDTime] => 1742057291
            [channelDuration] => 22
            [cSTime] => 1742057275
            [cETime] => 1742057291
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07093617645
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057291
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057271
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3351
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.08000000000567
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29827.679999998036
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3351
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.08000000000567
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95510.80000000802
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057293
{"compaign_id":"36075","contact_id":"7969","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7969","uid":"u595","unique_id":"36075_7969_138-u595","ivrId":"3158","channelOTime":1742057254,"channelDTime":1742057292,"channelDuration":38,"cSTime":1742057268,"cETime":1742057292,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08294399716","server_ip":"118.185.137.196","insertTime":1742057292,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057255,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057268,"endTime":1742057292,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7969
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7969
            [uid] => u595
            [unique_id] => 36075_7969_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057254
            [channelDTime] => 1742057292
            [channelDuration] => 38
            [cSTime] => 1742057268
            [cETime] => 1742057292
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08294399716
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057292
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057255
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057268
                                    [endTime] => 1742057292
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3353
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.2400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29827.519999998036
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3353
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.2400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95510.64000000802
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057293
{"compaign_id":"36075","contact_id":"7989","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7989","uid":"u595","unique_id":"36075_7989_138-u595","ivrId":"3158","channelOTime":1742057258,"channelDTime":1742057293,"channelDuration":35,"cSTime":1742057269,"cETime":1742057293,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07289830239","server_ip":"118.185.137.196","insertTime":1742057293,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057260,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057269,"endTime":1742057293,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7989
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7989
            [uid] => u595
            [unique_id] => 36075_7989_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057258
            [channelDTime] => 1742057293
            [channelDuration] => 35
            [cSTime] => 1742057269
            [cETime] => 1742057293
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07289830239
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057293
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057260
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057269
                                    [endTime] => 1742057293
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3355
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.4000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29827.359999998036
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3355
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.4000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95510.48000000801
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057295
{"compaign_id":"36075","contact_id":"7972","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7972","uid":"u595","unique_id":"36075_7972_138-u595","ivrId":"3158","channelOTime":1742057254,"channelDTime":1742057293,"channelDuration":39,"cSTime":1742057276,"cETime":1742057293,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08074066586","server_ip":"118.185.137.196","insertTime":1742057293,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057257,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7972
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7972
            [uid] => u595
            [unique_id] => 36075_7972_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057254
            [channelDTime] => 1742057293
            [channelDuration] => 39
            [cSTime] => 1742057276
            [cETime] => 1742057293
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08074066586
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057293
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057257
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3357
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.56000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29827.199999998036
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3357
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.56000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95510.32000000801
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057295
{"compaign_id":"36075","contact_id":"8065","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8065","uid":"u595","unique_id":"36075_8065_138-u595","ivrId":"3158","channelOTime":1742057277,"channelDTime":1742057296,"channelDuration":19,"cSTime":1742057290,"cETime":1742057296,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09953022677","server_ip":"118.185.137.196","insertTime":1742057296,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8065
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8065
            [uid] => u595
            [unique_id] => 36075_8065_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057277
            [channelDTime] => 1742057296
            [channelDuration] => 19
            [cSTime] => 1742057290
            [cETime] => 1742057296
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09953022677
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057296
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3359
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.72000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29827.039999998036
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3359
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.72000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95510.160000008
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057298
{"compaign_id":"36075","contact_id":"8011","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8011","uid":"u595","unique_id":"36075_8011_138-u595","ivrId":"3158","channelOTime":1742057264,"channelDTime":1742057297,"channelDuration":33,"cSTime":1742057293,"cETime":1742057297,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08294927562","server_ip":"118.185.137.196","insertTime":1742057297,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057268,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8011
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8011
            [uid] => u595
            [unique_id] => 36075_8011_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057264
            [channelDTime] => 1742057297
            [channelDuration] => 33
            [cSTime] => 1742057293
            [cETime] => 1742057297
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08294927562
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057297
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057268
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3360
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.80000000000575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29826.959999998035
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3360
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.80000000000575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95510.080000008
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057299
{"compaign_id":"36075","contact_id":"8062","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8062","uid":"u595","unique_id":"36075_8062_138-u595","ivrId":"3158","channelOTime":1742057276,"channelDTime":1742057298,"channelDuration":22,"cSTime":1742057293,"cETime":1742057298,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09715037305","server_ip":"118.185.137.196","insertTime":1742057298,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8062
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8062
            [uid] => u595
            [unique_id] => 36075_8062_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057276
            [channelDTime] => 1742057298
            [channelDuration] => 22
            [cSTime] => 1742057293
            [cETime] => 1742057298
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09715037305
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057298
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3361
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.88000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29826.879999998033
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3361
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.88000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95510.000000008
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057299
{"compaign_id":"36075","contact_id":"8050","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8050","uid":"u595","unique_id":"36075_8050_138-u595","ivrId":"3158","channelOTime":1742057274,"channelDTime":1742057299,"channelDuration":25,"cSTime":1742057297,"cETime":1742057299,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08142216663","server_ip":"118.185.137.196","insertTime":1742057299,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057275,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8050
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8050
            [uid] => u595
            [unique_id] => 36075_8050_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057274
            [channelDTime] => 1742057299
            [channelDuration] => 25
            [cSTime] => 1742057297
            [cETime] => 1742057299
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08142216663
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057299
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057275
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3362
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.9600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29826.79999999803
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3362
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 268.9600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95509.920000008
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057300
{"compaign_id":"36075","contact_id":"8043","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8043","uid":"u595","unique_id":"36075_8043_138-u595","ivrId":"3158","channelOTime":1742057271,"channelDTime":1742057300,"channelDuration":29,"cSTime":1742057283,"cETime":1742057300,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07700082671","server_ip":"118.185.137.196","insertTime":1742057300,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057273,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8043
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8043
            [uid] => u595
            [unique_id] => 36075_8043_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057271
            [channelDTime] => 1742057300
            [channelDuration] => 29
            [cSTime] => 1742057283
            [cETime] => 1742057300
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07700082671
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057300
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057273
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3363
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.0400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29826.71999999803
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3363
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.0400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95509.840000008
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057301
{"compaign_id":"36075","contact_id":"8084","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8084","uid":"u595","unique_id":"36075_8084_138-u595","ivrId":"3158","channelOTime":1742057281,"channelDTime":1742057300,"channelDuration":19,"cSTime":1742057294,"cETime":1742057300,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09518534489","server_ip":"118.185.137.196","insertTime":1742057300,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057283,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8084
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8084
            [uid] => u595
            [unique_id] => 36075_8084_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057281
            [channelDTime] => 1742057300
            [channelDuration] => 19
            [cSTime] => 1742057294
            [cETime] => 1742057300
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09518534489
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057300
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057283
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3365
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.20000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29826.55999999803
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3365
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.20000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95509.680000008
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057302
{"compaign_id":"36075","contact_id":"8044","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8044","uid":"u595","unique_id":"36075_8044_138-u595","ivrId":"3158","channelOTime":1742057271,"channelDTime":1742057300,"channelDuration":29,"cSTime":1742057277,"cETime":1742057300,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09601382076","server_ip":"118.185.137.196","insertTime":1742057300,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057272,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057277,"endTime":1742057300,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8044
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8044
            [uid] => u595
            [unique_id] => 36075_8044_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057271
            [channelDTime] => 1742057300
            [channelDuration] => 29
            [cSTime] => 1742057277
            [cETime] => 1742057300
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09601382076
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057300
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057272
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057277
                                    [endTime] => 1742057300
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3366
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.2800000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29826.479999998028
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3366
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.2800000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95509.600000008
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057302
{"compaign_id":"36075","contact_id":"7968","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7968","uid":"u595","unique_id":"36075_7968_138-u595","ivrId":"3158","channelOTime":1742057254,"channelDTime":1742057300,"channelDuration":46,"cSTime":1742057277,"cETime":1742057300,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08948192930","server_ip":"118.185.137.196","insertTime":1742057300,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057256,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057277,"endTime":1742057300,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7968
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7968
            [uid] => u595
            [unique_id] => 36075_7968_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057254
            [channelDTime] => 1742057300
            [channelDuration] => 46
            [cSTime] => 1742057277
            [cETime] => 1742057300
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08948192930
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057300
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057256
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057277
                                    [endTime] => 1742057300
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3368
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.44000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29826.319999998028
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3368
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.44000000000574
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95509.44000000799
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057302
{"compaign_id":"36075","contact_id":"8063","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8063","uid":"u595","unique_id":"36075_8063_138-u595","ivrId":"3158","channelOTime":1742057277,"channelDTime":1742057302,"channelDuration":25,"cSTime":1742057294,"cETime":1742057302,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07905280124","server_ip":"118.185.137.196","insertTime":1742057302,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8063
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8063
            [uid] => u595
            [unique_id] => 36075_8063_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057277
            [channelDTime] => 1742057302
            [channelDuration] => 25
            [cSTime] => 1742057294
            [cETime] => 1742057302
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07905280124
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057302
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3370
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.60000000000576
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29826.159999998028
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3370
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.60000000000576
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95509.28000000799
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057304
{"compaign_id":"36075","contact_id":"8003","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8003","uid":"u595","unique_id":"36075_8003_138-u595","ivrId":"3158","channelOTime":1742057263,"channelDTime":1742057302,"channelDuration":39,"cSTime":1742057279,"cETime":1742057302,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07676896504","server_ip":"118.185.137.196","insertTime":1742057302,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057264,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057279,"endTime":1742057302,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8003
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8003
            [uid] => u595
            [unique_id] => 36075_8003_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057263
            [channelDTime] => 1742057302
            [channelDuration] => 39
            [cSTime] => 1742057279
            [cETime] => 1742057302
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07676896504
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057302
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057264
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057279
                                    [endTime] => 1742057302
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3371
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.68000000000575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29826.079999998026
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3371
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.68000000000575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95509.20000000799
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057304
{"compaign_id":"36075","contact_id":"8068","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8068","uid":"u595","unique_id":"36075_8068_138-u595","ivrId":"3158","channelOTime":1742057278,"channelDTime":1742057304,"channelDuration":26,"cSTime":1742057287,"cETime":1742057304,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07359501157","server_ip":"118.185.137.196","insertTime":1742057304,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8068
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8068
            [uid] => u595
            [unique_id] => 36075_8068_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057278
            [channelDTime] => 1742057304
            [channelDuration] => 26
            [cSTime] => 1742057287
            [cETime] => 1742057304
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07359501157
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057304
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3373
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.8400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29825.919999998026
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3373
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 269.8400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95509.04000000798
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057306
{"compaign_id":"36075","contact_id":"7982","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_7982","uid":"u595","unique_id":"36075_7982_138-u595","ivrId":"3158","channelOTime":1742057257,"channelDTime":1742057305,"channelDuration":48,"cSTime":1742057282,"cETime":1742057305,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09613494315","server_ip":"118.185.137.196","insertTime":1742057305,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057260,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057282,"endTime":1742057305,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 7982
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_7982
            [uid] => u595
            [unique_id] => 36075_7982_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057257
            [channelDTime] => 1742057305
            [channelDuration] => 48
            [cSTime] => 1742057282
            [cETime] => 1742057305
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09613494315
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057305
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057260
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057282
                                    [endTime] => 1742057305
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3375
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.0000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29825.759999998027
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3375
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.0000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95508.88000000798
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057307
{"compaign_id":"36075","contact_id":"8088","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8088","uid":"u595","unique_id":"36075_8088_138-u595","ivrId":"3158","channelOTime":1742057282,"channelDTime":1742057306,"channelDuration":24,"cSTime":1742057297,"cETime":1742057306,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06289847301","server_ip":"118.185.137.196","insertTime":1742057306,"ivrData":{"#2":["0"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057284,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057297,"endTime":1742057306,"duration":9}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8088
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8088
            [uid] => u595
            [unique_id] => 36075_8088_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057282
            [channelDTime] => 1742057306
            [channelDuration] => 24
            [cSTime] => 1742057297
            [cETime] => 1742057306
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06289847301
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057306
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 0
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057284
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057297
                                    [endTime] => 1742057306
                                    [duration] => 9
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3377
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.1600000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29825.599999998027
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3377
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.1600000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95508.72000000798
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057307
{"compaign_id":"36075","contact_id":"8028","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8028","uid":"u595","unique_id":"36075_8028_138-u595","ivrId":"3158","channelOTime":1742057268,"channelDTime":1742057306,"channelDuration":38,"cSTime":1742057282,"cETime":1742057306,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08294516539","server_ip":"118.185.137.196","insertTime":1742057306,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057271,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057282,"endTime":1742057306,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8028
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8028
            [uid] => u595
            [unique_id] => 36075_8028_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057268
            [channelDTime] => 1742057306
            [channelDuration] => 38
            [cSTime] => 1742057282
            [cETime] => 1742057306
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08294516539
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057306
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057271
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057282
                                    [endTime] => 1742057306
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3378
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.2400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29825.519999998025
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3378
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.2400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95508.64000000797
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057308
{"compaign_id":"36075","contact_id":"8018","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8018","uid":"u595","unique_id":"36075_8018_138-u595","ivrId":"3158","channelOTime":1742057266,"channelDTime":1742057309,"channelDuration":43,"cSTime":1742057291,"cETime":1742057309,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08207683658","server_ip":"118.185.137.196","insertTime":1742057309,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057280,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8018
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8018
            [uid] => u595
            [unique_id] => 36075_8018_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057266
            [channelDTime] => 1742057309
            [channelDuration] => 43
            [cSTime] => 1742057291
            [cETime] => 1742057309
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08207683658
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057309
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057280
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3380
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.40000000000583
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29825.359999998025
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3380
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.40000000000583
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95508.48000000797
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057311
{"compaign_id":"36075","contact_id":"8069","total_duration":"12","answer_duration":12,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8069","uid":"u595","unique_id":"36075_8069_138-u595","ivrId":"3158","channelOTime":1742057278,"channelDTime":1742057310,"channelDuration":32,"cSTime":1742057298,"cETime":1742057310,"cDuration":12,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09368652010","server_ip":"118.185.137.196","insertTime":1742057310,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057279,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8069
    [total_duration] => 12
    [answer_duration] => 12
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8069
            [uid] => u595
            [unique_id] => 36075_8069_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057278
            [channelDTime] => 1742057310
            [channelDuration] => 32
            [cSTime] => 1742057298
            [cETime] => 1742057310
            [cDuration] => 12
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09368652010
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057310
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057279
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3382
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.56000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29825.199999998025
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3382
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.56000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95508.32000000797
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057312
{"compaign_id":"36075","contact_id":"8033","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8033","uid":"u595","unique_id":"36075_8033_138-u595","ivrId":"3158","channelOTime":1742057269,"channelDTime":1742057313,"channelDuration":44,"cSTime":1742057289,"cETime":1742057313,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07050344543","server_ip":"118.185.137.196","insertTime":1742057313,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057271,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057289,"endTime":1742057313,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8033
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8033
            [uid] => u595
            [unique_id] => 36075_8033_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057269
            [channelDTime] => 1742057313
            [channelDuration] => 44
            [cSTime] => 1742057289
            [cETime] => 1742057313
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07050344543
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057313
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057271
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057289
                                    [endTime] => 1742057313
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3383
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.64000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29825.119999998024
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3383
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.64000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95508.24000000797
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057314
{"compaign_id":"36075","contact_id":"8089","total_duration":"20","answer_duration":20,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8089","uid":"u595","unique_id":"36075_8089_138-u595","ivrId":"3158","channelOTime":1742057282,"channelDTime":1742057313,"channelDuration":31,"cSTime":1742057293,"cETime":1742057313,"cDuration":20,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06376817871","server_ip":"118.185.137.196","insertTime":1742057313,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057285,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8089
    [total_duration] => 20
    [answer_duration] => 20
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8089
            [uid] => u595
            [unique_id] => 36075_8089_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057282
            [channelDTime] => 1742057313
            [channelDuration] => 31
            [cSTime] => 1742057293
            [cETime] => 1742057313
            [cDuration] => 20
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06376817871
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057313
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057285
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3385
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.80000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29824.959999998024
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3385
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.80000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95508.08000000796
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057315
{"compaign_id":"36075","contact_id":"8103","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8103","uid":"u595","unique_id":"36075_8103_138-u595","ivrId":"3158","channelOTime":1742057303,"channelDTime":1742057317,"channelDuration":14,"cSTime":1742057314,"cETime":1742057317,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06300802562","server_ip":"118.185.137.196","insertTime":1742057317,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057306,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8103
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8103
            [uid] => u595
            [unique_id] => 36075_8103_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057303
            [channelDTime] => 1742057317
            [channelDuration] => 14
            [cSTime] => 1742057314
            [cETime] => 1742057317
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06300802562
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057317
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057306
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3387
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.9600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29824.799999998024
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3387
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 270.9600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95507.92000000796
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057319
{"compaign_id":"36075","contact_id":"8111","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8111","uid":"u595","unique_id":"36075_8111_138-u595","ivrId":"3158","channelOTime":1742057304,"channelDTime":1742057318,"channelDuration":14,"cSTime":1742057314,"cETime":1742057318,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06290071447","server_ip":"118.185.137.196","insertTime":1742057318,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057306,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8111
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8111
            [uid] => u595
            [unique_id] => 36075_8111_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057304
            [channelDTime] => 1742057318
            [channelDuration] => 14
            [cSTime] => 1742057314
            [cETime] => 1742057318
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06290071447
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057318
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057306
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3388
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.0400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29824.719999998022
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3388
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.0400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95507.84000000796
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057320
{"compaign_id":"36075","contact_id":"8091","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8091","uid":"u595","unique_id":"36075_8091_138-u595","ivrId":"3158","channelOTime":1742057282,"channelDTime":1742057319,"channelDuration":37,"cSTime":1742057296,"cETime":1742057319,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09898605779","server_ip":"118.185.137.196","insertTime":1742057319,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057284,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057296,"endTime":1742057319,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8091
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8091
            [uid] => u595
            [unique_id] => 36075_8091_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057282
            [channelDTime] => 1742057319
            [channelDuration] => 37
            [cSTime] => 1742057296
            [cETime] => 1742057319
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09898605779
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057319
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057284
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057296
                                    [endTime] => 1742057319
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3389
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.12000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29824.63999999802
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3389
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.12000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95507.76000000795
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057321
{"compaign_id":"36075","contact_id":"8145","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8145","uid":"u595","unique_id":"36075_8145_138-u595","ivrId":"3158","channelOTime":1742057311,"channelDTime":1742057320,"channelDuration":9,"cSTime":1742057317,"cETime":1742057320,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09356238804","server_ip":"118.185.137.196","insertTime":1742057320,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057313,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8145
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8145
            [uid] => u595
            [unique_id] => 36075_8145_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057311
            [channelDTime] => 1742057320
            [channelDuration] => 9
            [cSTime] => 1742057317
            [cETime] => 1742057320
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09356238804
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057320
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057313
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3391
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.2800000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29824.47999999802
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3391
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.2800000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95507.60000000795
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057322
{"compaign_id":"36075","contact_id":"8129","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8129","uid":"u595","unique_id":"36075_8129_138-u595","ivrId":"3158","channelOTime":1742057308,"channelDTime":1742057321,"channelDuration":13,"cSTime":1742057313,"cETime":1742057321,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08780960563","server_ip":"118.185.137.196","insertTime":1742057321,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057310,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8129
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8129
            [uid] => u595
            [unique_id] => 36075_8129_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057308
            [channelDTime] => 1742057321
            [channelDuration] => 13
            [cSTime] => 1742057313
            [cETime] => 1742057321
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08780960563
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057321
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057310
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3392
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.36000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29824.39999999802
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3392
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.36000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95507.52000000795
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057323
{"compaign_id":"36075","contact_id":"8086","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8086","uid":"u595","unique_id":"36075_8086_138-u595","ivrId":"3158","channelOTime":1742057281,"channelDTime":1742057322,"channelDuration":41,"cSTime":1742057299,"cETime":1742057322,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09011656526","server_ip":"118.185.137.196","insertTime":1742057322,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057284,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057299,"endTime":1742057322,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8086
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8086
            [uid] => u595
            [unique_id] => 36075_8086_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057281
            [channelDTime] => 1742057322
            [channelDuration] => 41
            [cSTime] => 1742057299
            [cETime] => 1742057322
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09011656526
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057322
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057284
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057299
                                    [endTime] => 1742057322
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3393
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.44000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29824.319999998017
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3393
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.44000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95507.44000000795
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057324
{"compaign_id":"36075","contact_id":"8095","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8095","uid":"u595","unique_id":"36075_8095_138-u595","ivrId":"3158","channelOTime":1742057283,"channelDTime":1742057322,"channelDuration":39,"cSTime":1742057299,"cETime":1742057322,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09876979603","server_ip":"118.185.137.196","insertTime":1742057322,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057284,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057299,"endTime":1742057322,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8095
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8095
            [uid] => u595
            [unique_id] => 36075_8095_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057283
            [channelDTime] => 1742057322
            [channelDuration] => 39
            [cSTime] => 1742057299
            [cETime] => 1742057322
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09876979603
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057322
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057284
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057299
                                    [endTime] => 1742057322
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3395
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.6000000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29824.159999998017
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3395
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.6000000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95507.28000000794
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057324
{"compaign_id":"36075","contact_id":"8122","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8122","uid":"u595","unique_id":"36075_8122_138-u595","ivrId":"3158","channelOTime":1742057306,"channelDTime":1742057322,"channelDuration":16,"cSTime":1742057318,"cETime":1742057322,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08709043886","server_ip":"118.185.137.196","insertTime":1742057322,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057308,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8122
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8122
            [uid] => u595
            [unique_id] => 36075_8122_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057306
            [channelDTime] => 1742057322
            [channelDuration] => 16
            [cSTime] => 1742057318
            [cETime] => 1742057322
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08709043886
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057322
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057308
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3397
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.7600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29823.999999998017
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3397
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.7600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95507.12000000794
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057324
{"compaign_id":"36075","contact_id":"8137","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8137","uid":"u595","unique_id":"36075_8137_138-u595","ivrId":"3158","channelOTime":1742057309,"channelDTime":1742057325,"channelDuration":16,"cSTime":1742057320,"cETime":1742057325,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07839275512","server_ip":"118.185.137.196","insertTime":1742057325,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057314,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8137
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8137
            [uid] => u595
            [unique_id] => 36075_8137_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057309
            [channelDTime] => 1742057325
            [channelDuration] => 16
            [cSTime] => 1742057320
            [cETime] => 1742057325
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07839275512
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057325
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057314
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3398
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.8400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29823.919999998016
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3398
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.8400000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95507.04000000794
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057327
{"compaign_id":"36075","contact_id":"8127","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8127","uid":"u595","unique_id":"36075_8127_138-u595","ivrId":"3158","channelOTime":1742057307,"channelDTime":1742057326,"channelDuration":19,"cSTime":1742057318,"cETime":1742057326,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09935035011","server_ip":"118.185.137.196","insertTime":1742057326,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057310,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8127
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8127
            [uid] => u595
            [unique_id] => 36075_8127_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057307
            [channelDTime] => 1742057326
            [channelDuration] => 19
            [cSTime] => 1742057318
            [cETime] => 1742057326
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09935035011
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057326
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057310
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3399
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.92000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29823.839999998014
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3399
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 271.92000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95506.96000000794
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057327
{"compaign_id":"36075","contact_id":"8080","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8080","uid":"u595","unique_id":"36075_8080_138-u595","ivrId":"3158","channelOTime":1742057280,"channelDTime":1742057328,"channelDuration":48,"cSTime":1742057304,"cETime":1742057328,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07651989392","server_ip":"118.185.137.196","insertTime":1742057328,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057283,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057304,"endTime":1742057328,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8080
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8080
            [uid] => u595
            [unique_id] => 36075_8080_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057280
            [channelDTime] => 1742057328
            [channelDuration] => 48
            [cSTime] => 1742057304
            [cETime] => 1742057328
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07651989392
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057328
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057283
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057304
                                    [endTime] => 1742057328
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3400
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.00000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29823.759999998012
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3400
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.00000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95506.88000000794
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057329
{"compaign_id":"36075","contact_id":"8177","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8177","uid":"u595","unique_id":"36075_8177_138-u595","ivrId":"3158","channelOTime":1742057319,"channelDTime":1742057329,"channelDuration":10,"cSTime":1742057325,"cETime":1742057329,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08780483476","server_ip":"118.185.137.196","insertTime":1742057329,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057325,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8177
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8177
            [uid] => u595
            [unique_id] => 36075_8177_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057319
            [channelDTime] => 1742057329
            [channelDuration] => 10
            [cSTime] => 1742057325
            [cETime] => 1742057329
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08780483476
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057329
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057325
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3402
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.1600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29823.599999998012
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3402
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.1600000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95506.72000000793
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057330
{"compaign_id":"36075","contact_id":"8157","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8157","uid":"u595","unique_id":"36075_8157_138-u595","ivrId":"3158","channelOTime":1742057315,"channelDTime":1742057330,"channelDuration":15,"cSTime":1742057322,"cETime":1742057330,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08235163345","server_ip":"118.185.137.196","insertTime":1742057330,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057318,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8157
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8157
            [uid] => u595
            [unique_id] => 36075_8157_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057315
            [channelDTime] => 1742057330
            [channelDuration] => 15
            [cSTime] => 1742057322
            [cETime] => 1742057330
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08235163345
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057330
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057318
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3403
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.24000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29823.51999999801
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3403
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.24000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95506.64000000793
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057332
{"compaign_id":"36075","contact_id":"8117","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8117","uid":"u595","unique_id":"36075_8117_138-u595","ivrId":"3158","channelOTime":1742057305,"channelDTime":1742057332,"channelDuration":27,"cSTime":1742057315,"cETime":1742057332,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09082815325","server_ip":"118.185.137.196","insertTime":1742057332,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057307,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8117
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8117
            [uid] => u595
            [unique_id] => 36075_8117_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057305
            [channelDTime] => 1742057332
            [channelDuration] => 27
            [cSTime] => 1742057315
            [cETime] => 1742057332
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09082815325
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057332
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057307
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3404
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.32000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29823.43999999801
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3404
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.32000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95506.56000000793
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057334
{"compaign_id":"36075","contact_id":"8138","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8138","uid":"u595","unique_id":"36075_8138_138-u595","ivrId":"3158","channelOTime":1742057310,"channelDTime":1742057333,"channelDuration":23,"cSTime":1742057322,"cETime":1742057333,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06281510274","server_ip":"118.185.137.196","insertTime":1742057333,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057312,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8138
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8138
            [uid] => u595
            [unique_id] => 36075_8138_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057310
            [channelDTime] => 1742057333
            [channelDuration] => 23
            [cSTime] => 1742057322
            [cETime] => 1742057333
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06281510274
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057333
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057312
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3406
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.4800000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29823.27999999801
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3406
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.4800000000059
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95506.40000000792
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057335
{"compaign_id":"36075","contact_id":"8166","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8166","uid":"u595","unique_id":"36075_8166_138-u595","ivrId":"3158","channelOTime":1742057317,"channelDTime":1742057333,"channelDuration":16,"cSTime":1742057327,"cETime":1742057333,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08826832752","server_ip":"118.185.137.196","insertTime":1742057333,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057320,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8166
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8166
            [uid] => u595
            [unique_id] => 36075_8166_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057317
            [channelDTime] => 1742057333
            [channelDuration] => 16
            [cSTime] => 1742057327
            [cETime] => 1742057333
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08826832752
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057333
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057320
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3407
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.56000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29823.199999998007
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3407
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.56000000000586
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95506.32000000792
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057335
{"compaign_id":"36075","contact_id":"8126","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8126","uid":"u595","unique_id":"36075_8126_138-u595","ivrId":"3158","channelOTime":1742057307,"channelDTime":1742057333,"channelDuration":26,"cSTime":1742057310,"cETime":1742057333,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09829879925","server_ip":"118.185.137.196","insertTime":1742057333,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057309,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057310,"endTime":1742057333,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8126
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8126
            [uid] => u595
            [unique_id] => 36075_8126_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057307
            [channelDTime] => 1742057333
            [channelDuration] => 26
            [cSTime] => 1742057310
            [cETime] => 1742057333
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09829879925
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057333
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057309
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057310
                                    [endTime] => 1742057333
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3408
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.64000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29823.119999998005
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3408
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.64000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95506.24000000792
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057335
{"compaign_id":"36075","contact_id":"8179","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8179","uid":"u595","unique_id":"36075_8179_138-u595","ivrId":"3158","channelOTime":1742057320,"channelDTime":1742057334,"channelDuration":14,"cSTime":1742057326,"cETime":1742057334,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09768850503","server_ip":"118.185.137.196","insertTime":1742057334,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057321,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8179
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8179
            [uid] => u595
            [unique_id] => 36075_8179_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057320
            [channelDTime] => 1742057334
            [channelDuration] => 14
            [cSTime] => 1742057326
            [cETime] => 1742057334
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09768850503
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057334
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057321
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3410
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.80000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29822.959999998006
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3410
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.80000000000587
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95506.08000000792
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057336
{"compaign_id":"36075","contact_id":"8160","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8160","uid":"u595","unique_id":"36075_8160_138-u595","ivrId":"3158","channelOTime":1742057316,"channelDTime":1742057335,"channelDuration":19,"cSTime":1742057330,"cETime":1742057335,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09941968975","server_ip":"118.185.137.196","insertTime":1742057335,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057318,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8160
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8160
            [uid] => u595
            [unique_id] => 36075_8160_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057316
            [channelDTime] => 1742057335
            [channelDuration] => 19
            [cSTime] => 1742057330
            [cETime] => 1742057335
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09941968975
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057335
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057318
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3411
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.88000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29822.879999998004
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3411
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.88000000000585
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95506.00000000792
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057337
{"compaign_id":"36075","contact_id":"8219","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8219","uid":"u595","unique_id":"36075_8219_138-u595","ivrId":"3158","channelOTime":1742057329,"channelDTime":1742057336,"channelDuration":7,"cSTime":1742057334,"cETime":1742057336,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08108503747","server_ip":"118.185.137.196","insertTime":1742057336,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057330,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8219
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8219
            [uid] => u595
            [unique_id] => 36075_8219_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057329
            [channelDTime] => 1742057336
            [channelDuration] => 7
            [cSTime] => 1742057334
            [cETime] => 1742057336
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08108503747
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057336
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057330
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3412
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.96000000000583
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29822.799999998002
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3412
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 272.96000000000583
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95505.92000000791
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057337
{"compaign_id":"36075","contact_id":"8163","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8163","uid":"u595","unique_id":"36075_8163_138-u595","ivrId":"3158","channelOTime":1742057316,"channelDTime":1742057336,"channelDuration":20,"cSTime":1742057332,"cETime":1742057336,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06378250744","server_ip":"118.185.137.196","insertTime":1742057336,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057318,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8163
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8163
            [uid] => u595
            [unique_id] => 36075_8163_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057316
            [channelDTime] => 1742057336
            [channelDuration] => 20
            [cSTime] => 1742057332
            [cETime] => 1742057336
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06378250744
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057336
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057318
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3413
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.0400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29822.719999998
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3413
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.0400000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95505.84000000791
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057338
{"compaign_id":"36075","contact_id":"8165","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8165","uid":"u595","unique_id":"36075_8165_138-u595","ivrId":"3158","channelOTime":1742057317,"channelDTime":1742057337,"channelDuration":20,"cSTime":1742057328,"cETime":1742057337,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07998559517","server_ip":"118.185.137.196","insertTime":1742057337,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057318,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8165
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8165
            [uid] => u595
            [unique_id] => 36075_8165_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057317
            [channelDTime] => 1742057337
            [channelDuration] => 20
            [cSTime] => 1742057328
            [cETime] => 1742057337
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07998559517
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057337
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057318
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3414
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.1200000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29822.639999998
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3414
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.1200000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95505.76000000791
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057339
{"compaign_id":"36075","contact_id":"8120","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8120","uid":"u595","unique_id":"36075_8120_138-u595","ivrId":"3158","channelOTime":1742057306,"channelDTime":1742057339,"channelDuration":33,"cSTime":1742057315,"cETime":1742057339,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08249234783","server_ip":"118.185.137.196","insertTime":1742057339,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057307,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057315,"endTime":1742057339,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8120
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8120
            [uid] => u595
            [unique_id] => 36075_8120_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057306
            [channelDTime] => 1742057339
            [channelDuration] => 33
            [cSTime] => 1742057315
            [cETime] => 1742057339
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08249234783
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057339
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057307
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057315
                                    [endTime] => 1742057339
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3415
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.2000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29822.559999997997
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3415
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.2000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95505.68000000791
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057340
{"compaign_id":"36075","contact_id":"8133","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8133","uid":"u595","unique_id":"36075_8133_138-u595","ivrId":"3158","channelOTime":1742057309,"channelDTime":1742057339,"channelDuration":30,"cSTime":1742057316,"cETime":1742057339,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08709256452","server_ip":"118.185.137.196","insertTime":1742057339,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057310,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057316,"endTime":1742057339,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8133
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8133
            [uid] => u595
            [unique_id] => 36075_8133_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057309
            [channelDTime] => 1742057339
            [channelDuration] => 30
            [cSTime] => 1742057316
            [cETime] => 1742057339
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08709256452
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057339
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057310
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057316
                                    [endTime] => 1742057339
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3417
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.3600000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29822.399999997997
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3417
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.3600000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95505.5200000079
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057341
{"compaign_id":"36075","contact_id":"8215","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8215","uid":"u595","unique_id":"36075_8215_138-u595","ivrId":"3158","channelOTime":1742057328,"channelDTime":1742057340,"channelDuration":12,"cSTime":1742057335,"cETime":1742057340,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09810297413","server_ip":"118.185.137.196","insertTime":1742057340,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057330,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8215
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8215
            [uid] => u595
            [unique_id] => 36075_8215_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057328
            [channelDTime] => 1742057340
            [channelDuration] => 12
            [cSTime] => 1742057335
            [cETime] => 1742057340
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09810297413
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057340
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057330
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3419
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.52000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29822.239999997997
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3419
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.52000000000584
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95505.3600000079
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057341
{"compaign_id":"36075","contact_id":"8156","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8156","uid":"u595","unique_id":"36075_8156_138-u595","ivrId":"3158","channelOTime":1742057315,"channelDTime":1742057340,"channelDuration":25,"cSTime":1742057331,"cETime":1742057340,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06206503284","server_ip":"118.185.137.196","insertTime":1742057340,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057317,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8156
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8156
            [uid] => u595
            [unique_id] => 36075_8156_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057315
            [channelDTime] => 1742057340
            [channelDuration] => 25
            [cSTime] => 1742057331
            [cETime] => 1742057340
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06206503284
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057340
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057317
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3420
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.6000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29822.159999997995
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3420
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.6000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95505.2800000079
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057342
{"compaign_id":"36075","contact_id":"8119","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8119","uid":"u595","unique_id":"36075_8119_138-u595","ivrId":"3158","channelOTime":1742057306,"channelDTime":1742057341,"channelDuration":35,"cSTime":1742057325,"cETime":1742057341,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09760143055","server_ip":"118.185.137.196","insertTime":1742057341,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057309,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8119
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8119
            [uid] => u595
            [unique_id] => 36075_8119_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057306
            [channelDTime] => 1742057341
            [channelDuration] => 35
            [cSTime] => 1742057325
            [cETime] => 1742057341
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09760143055
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057341
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057309
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found 2025-03-15 22:19:02[LOG]Starting Cron
2025-03-15 22:19:02[LOG]Process is already running
\N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3421
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.6800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29822.079999997994
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3421
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.6800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95505.2000000079
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057342
{"compaign_id":"36075","contact_id":"8148","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8148","uid":"u595","unique_id":"36075_8148_138-u595","ivrId":"3158","channelOTime":1742057312,"channelDTime":1742057341,"channelDuration":29,"cSTime":1742057327,"cETime":1742057341,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09373940590","server_ip":"118.185.137.196","insertTime":1742057341,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057314,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8148
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8148
            [uid] => u595
            [unique_id] => 36075_8148_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057312
            [channelDTime] => 1742057341
            [channelDuration] => 29
            [cSTime] => 1742057327
            [cETime] => 1742057341
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09373940590
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057341
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057314
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3423
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.84000000000583
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29821.919999997994
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3423
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.84000000000583
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95505.0400000079
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057343
{"compaign_id":"36075","contact_id":"8178","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8178","uid":"u595","unique_id":"36075_8178_138-u595","ivrId":"3158","channelOTime":1742057320,"channelDTime":1742057341,"channelDuration":21,"cSTime":1742057339,"cETime":1742057341,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09579829478","server_ip":"118.185.137.196","insertTime":1742057341,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057322,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8178
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8178
            [uid] => u595
            [unique_id] => 36075_8178_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057320
            [channelDTime] => 1742057341
            [channelDuration] => 21
            [cSTime] => 1742057339
            [cETime] => 1742057341
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09579829478
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057341
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057322
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3424
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.9200000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29821.839999997992
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3424
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 273.9200000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.9600000079
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057343
{"compaign_id":"36075","contact_id":"8198","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8198","uid":"u595","unique_id":"36075_8198_138-u595","ivrId":"3158","channelOTime":1742057324,"channelDTime":1742057342,"channelDuration":18,"cSTime":1742057337,"cETime":1742057342,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09088888112","server_ip":"118.185.137.196","insertTime":1742057342,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057326,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8198
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8198
            [uid] => u595
            [unique_id] => 36075_8198_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057324
            [channelDTime] => 1742057342
            [channelDuration] => 18
            [cSTime] => 1742057337
            [cETime] => 1742057342
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09088888112
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057342
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057326
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3425
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.0000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29821.75999999799
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3425
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.0000000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.88000000789
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057344
{"compaign_id":"36075","contact_id":"8197","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8197","uid":"u595","unique_id":"36075_8197_138-u595","ivrId":"3158","channelOTime":1742057323,"channelDTime":1742057342,"channelDuration":19,"cSTime":1742057332,"cETime":1742057342,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09822564911","server_ip":"118.185.137.196","insertTime":1742057342,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057327,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8197
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8197
            [uid] => u595
            [unique_id] => 36075_8197_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057323
            [channelDTime] => 1742057342
            [channelDuration] => 19
            [cSTime] => 1742057332
            [cETime] => 1742057342
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09822564911
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057342
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057327
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3426
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.0800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29821.67999999799
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3426
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.0800000000058
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.80000000789
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057344
{"compaign_id":"36075","contact_id":"8196","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8196","uid":"u595","unique_id":"36075_8196_138-u595","ivrId":"3158","channelOTime":1742057323,"channelDTime":1742057342,"channelDuration":19,"cSTime":1742057340,"cETime":1742057342,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09914726117","server_ip":"118.185.137.196","insertTime":1742057342,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057326,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8196
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8196
            [uid] => u595
            [unique_id] => 36075_8196_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057323
            [channelDTime] => 1742057342
            [channelDuration] => 19
            [cSTime] => 1742057340
            [cETime] => 1742057342
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09914726117
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057342
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057326
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3427
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.16000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29821.599999997987
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3427
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.16000000000577
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.72000000789
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057344
{"compaign_id":"36075","contact_id":"8210","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8210","uid":"u595","unique_id":"36075_8210_138-u595","ivrId":"3158","channelOTime":1742057327,"channelDTime":1742057344,"channelDuration":17,"cSTime":1742057339,"cETime":1742057344,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08717879620","server_ip":"118.185.137.196","insertTime":1742057344,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057331,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8210
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8210
            [uid] => u595
            [unique_id] => 36075_8210_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057327
            [channelDTime] => 1742057344
            [channelDuration] => 17
            [cSTime] => 1742057339
            [cETime] => 1742057344
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08717879620
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057344
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057331
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3428
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.24000000000575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29821.519999997985
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3428
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.24000000000575
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.64000000789
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057346
{"compaign_id":"36075","contact_id":"8207","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8207","uid":"u595","unique_id":"36075_8207_138-u595","ivrId":"3158","channelOTime":1742057327,"channelDTime":1742057344,"channelDuration":17,"cSTime":1742057340,"cETime":1742057344,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09873857172","server_ip":"118.185.137.196","insertTime":1742057344,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057329,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8207
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8207
            [uid] => u595
            [unique_id] => 36075_8207_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057327
            [channelDTime] => 1742057344
            [channelDuration] => 17
            [cSTime] => 1742057340
            [cETime] => 1742057344
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09873857172
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057344
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057329
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3429
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.32000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29821.439999997983
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3429
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.32000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.56000000788
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057346
{"compaign_id":"36075","contact_id":"8162","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8162","uid":"u595","unique_id":"36075_8162_138-u595","ivrId":"3158","channelOTime":1742057316,"channelDTime":1742057345,"channelDuration":29,"cSTime":1742057339,"cETime":1742057345,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06390675528","server_ip":"118.185.137.196","insertTime":1742057345,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057318,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8162
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8162
            [uid] => u595
            [unique_id] => 36075_8162_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057316
            [channelDTime] => 1742057345
            [channelDuration] => 29
            [cSTime] => 1742057339
            [cETime] => 1742057345
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06390675528
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057345
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057318
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3430
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.4000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29821.35999999798
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3430
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.4000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.48000000788
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057346
{"compaign_id":"36075","contact_id":"8180","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8180","uid":"u595","unique_id":"36075_8180_138-u595","ivrId":"3158","channelOTime":1742057320,"channelDTime":1742057346,"channelDuration":26,"cSTime":1742057339,"cETime":1742057346,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09912673260","server_ip":"118.185.137.196","insertTime":1742057346,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057324,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8180
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8180
            [uid] => u595
            [unique_id] => 36075_8180_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057320
            [channelDTime] => 1742057346
            [channelDuration] => 26
            [cSTime] => 1742057339
            [cETime] => 1742057346
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09912673260
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057346
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057324
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3431
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.4800000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29821.27999999798
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3431
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.4800000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.40000000788
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057348
{"compaign_id":"36075","contact_id":"8169","total_duration":"18","answer_duration":18,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8169","uid":"u595","unique_id":"36075_8169_138-u595","ivrId":"3158","channelOTime":1742057318,"channelDTime":1742057347,"channelDuration":29,"cSTime":1742057329,"cETime":1742057347,"cDuration":18,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09279716050","server_ip":"118.185.137.196","insertTime":1742057347,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057320,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8169
    [total_duration] => 18
    [answer_duration] => 18
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8169
            [uid] => u595
            [unique_id] => 36075_8169_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057318
            [channelDTime] => 1742057347
            [channelDuration] => 29
            [cSTime] => 1742057329
            [cETime] => 1742057347
            [cDuration] => 18
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09279716050
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057347
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057320
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3432
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.5600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29821.199999997978
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3432
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.5600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.32000000788
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057349
{"compaign_id":"36075","contact_id":"8201","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8201","uid":"u595","unique_id":"36075_8201_138-u595","ivrId":"3158","channelOTime":1742057326,"channelDTime":1742057348,"channelDuration":22,"cSTime":1742057341,"cETime":1742057348,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09726103212","server_ip":"118.185.137.196","insertTime":1742057348,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057328,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8201
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8201
            [uid] => u595
            [unique_id] => 36075_8201_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057326
            [channelDTime] => 1742057348
            [channelDuration] => 22
            [cSTime] => 1742057341
            [cETime] => 1742057348
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09726103212
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057348
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057328
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3434
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.7200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29821.039999997978
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3434
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.7200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.16000000788
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057349
{"compaign_id":"36075","contact_id":"8245","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8245","uid":"u595","unique_id":"36075_8245_138-u595","ivrId":"3158","channelOTime":1742057334,"channelDTime":1742057348,"channelDuration":14,"cSTime":1742057341,"cETime":1742057348,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08466850848","server_ip":"118.185.137.196","insertTime":1742057348,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057338,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8245
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8245
            [uid] => u595
            [unique_id] => 36075_8245_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057334
            [channelDTime] => 1742057348
            [channelDuration] => 14
            [cSTime] => 1742057341
            [cETime] => 1742057348
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08466850848
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057348
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057338
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3435
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.8000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29820.959999997976
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3435
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.8000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.08000000787
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057349
{"compaign_id":"36075","contact_id":"8195","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8195","uid":"u595","unique_id":"36075_8195_138-u595","ivrId":"3158","channelOTime":1742057323,"channelDTime":1742057348,"channelDuration":25,"cSTime":1742057335,"cETime":1742057348,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08090699219","server_ip":"118.185.137.196","insertTime":1742057348,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057325,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8195
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8195
            [uid] => u595
            [unique_id] => 36075_8195_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057323
            [channelDTime] => 1742057348
            [channelDuration] => 25
            [cSTime] => 1742057335
            [cETime] => 1742057348
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08090699219
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057348
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057325
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3436
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.8800000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29820.879999997975
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3436
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.8800000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95504.00000000787
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057350
{"compaign_id":"36075","contact_id":"8107","total_duration":"19","answer_duration":19,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8107","uid":"u595","unique_id":"36075_8107_138-u595","ivrId":"3158","channelOTime":1742057303,"channelDTime":1742057348,"channelDuration":45,"cSTime":1742057329,"cETime":1742057348,"cDuration":19,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08080059654","server_ip":"118.185.137.196","insertTime":1742057348,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057305,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8107
    [total_duration] => 19
    [answer_duration] => 19
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8107
            [uid] => u595
            [unique_id] => 36075_8107_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057303
            [channelDTime] => 1742057348
            [channelDuration] => 45
            [cSTime] => 1742057329
            [cETime] => 1742057348
            [cDuration] => 19
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08080059654
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057348
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057305
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3437
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.96000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29820.799999997973
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3437
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 274.96000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95503.92000000787
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057350
{"compaign_id":"36075","contact_id":"8189","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8189","uid":"u595","unique_id":"36075_8189_138-u595","ivrId":"3158","channelOTime":1742057322,"channelDTime":1742057349,"channelDuration":27,"cSTime":1742057334,"cETime":1742057349,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06355208323","server_ip":"118.185.137.196","insertTime":1742057349,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057324,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8189
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8189
            [uid] => u595
            [unique_id] => 36075_8189_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057322
            [channelDTime] => 1742057349
            [channelDuration] => 27
            [cSTime] => 1742057334
            [cETime] => 1742057349
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06355208323
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057349
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057324
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3439
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.1200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29820.639999997973
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3439
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.1200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95503.76000000787
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057350
{"compaign_id":"36075","contact_id":"8183","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8183","uid":"u595","unique_id":"36075_8183_138-u595","ivrId":"3158","channelOTime":1742057321,"channelDTime":1742057349,"channelDuration":28,"cSTime":1742057326,"cETime":1742057349,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08318213465","server_ip":"118.185.137.196","insertTime":1742057349,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057322,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057326,"endTime":1742057349,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8183
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8183
            [uid] => u595
            [unique_id] => 36075_8183_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057321
            [channelDTime] => 1742057349
            [channelDuration] => 28
            [cSTime] => 1742057326
            [cETime] => 1742057349
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08318213465
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057349
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057322
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057326
                                    [endTime] => 1742057349
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3440
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.2000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29820.55999999797
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3440
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.2000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95503.68000000787
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057351
{"compaign_id":"36075","contact_id":"8240","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8240","uid":"u595","unique_id":"36075_8240_138-u595","ivrId":"3158","channelOTime":1742057333,"channelDTime":1742057350,"channelDuration":17,"cSTime":1742057346,"cETime":1742057350,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06289778472","server_ip":"118.185.137.196","insertTime":1742057350,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057335,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8240
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8240
            [uid] => u595
            [unique_id] => 36075_8240_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057333
            [channelDTime] => 1742057350
            [channelDuration] => 17
            [cSTime] => 1742057346
            [cETime] => 1742057350
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06289778472
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057350
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057335
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3442
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.3600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29820.39999999797
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3442
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.3600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95503.52000000786
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057352
{"compaign_id":"36075","contact_id":"8174","total_duration":"21","answer_duration":21,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8174","uid":"u595","unique_id":"36075_8174_138-u595","ivrId":"3158","channelOTime":1742057319,"channelDTime":1742057350,"channelDuration":31,"cSTime":1742057329,"cETime":1742057350,"cDuration":21,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07889620866","server_ip":"118.185.137.196","insertTime":1742057350,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057322,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8174
    [total_duration] => 21
    [answer_duration] => 21
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8174
            [uid] => u595
            [unique_id] => 36075_8174_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057319
            [channelDTime] => 1742057350
            [channelDuration] => 31
            [cSTime] => 1742057329
            [cETime] => 1742057350
            [cDuration] => 21
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07889620866
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057350
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057322
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3443
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.4400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29820.31999999797
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3443
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.4400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95503.44000000786
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057352
{"compaign_id":"36075","contact_id":"8154","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8154","uid":"u595","unique_id":"36075_8154_138-u595","ivrId":"3158","channelOTime":1742057315,"channelDTime":1742057350,"channelDuration":35,"cSTime":1742057327,"cETime":1742057350,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09623079224","server_ip":"118.185.137.196","insertTime":1742057350,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057317,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057327,"endTime":1742057350,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8154
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8154
            [uid] => u595
            [unique_id] => 36075_8154_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057315
            [channelDTime] => 1742057350
            [channelDuration] => 35
            [cSTime] => 1742057327
            [cETime] => 1742057350
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09623079224
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057350
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057317
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057327
                                    [endTime] => 1742057350
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3445
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.6000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29820.15999999797
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3445
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.6000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95503.28000000786
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057352
{"compaign_id":"36075","contact_id":"8224","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8224","uid":"u595","unique_id":"36075_8224_138-u595","ivrId":"3158","channelOTime":1742057330,"channelDTime":1742057351,"channelDuration":21,"cSTime":1742057346,"cETime":1742057351,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08178973209","server_ip":"118.185.137.196","insertTime":1742057351,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057333,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8224
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8224
            [uid] => u595
            [unique_id] => 36075_8224_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057330
            [channelDTime] => 1742057351
            [channelDuration] => 21
            [cSTime] => 1742057346
            [cETime] => 1742057351
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08178973209
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057351
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057333
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3447
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.76000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.99999999797
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3447
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.76000000000573
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95503.12000000785
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057352
{"compaign_id":"36075","contact_id":"8226","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8226","uid":"u595","unique_id":"36075_8226_138-u595","ivrId":"3158","channelOTime":1742057331,"channelDTime":1742057351,"channelDuration":20,"cSTime":1742057342,"cETime":1742057351,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06376683533","server_ip":"118.185.137.196","insertTime":1742057351,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057333,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8226
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8226
            [uid] => u595
            [unique_id] => 36075_8226_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057331
            [channelDTime] => 1742057351
            [channelDuration] => 20
            [cSTime] => 1742057342
            [cETime] => 1742057351
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06376683533
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057351
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057333
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3448
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.8400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.91999999797
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3448
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.8400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95503.04000000785
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057353
{"compaign_id":"36075","contact_id":"8257","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8257","uid":"u595","unique_id":"36075_8257_138-u595","ivrId":"3158","channelOTime":1742057338,"channelDTime":1742057351,"channelDuration":13,"cSTime":1742057348,"cETime":1742057351,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07903938657","server_ip":"118.185.137.196","insertTime":1742057351,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057341,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8257
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8257
            [uid] => u595
            [unique_id] => 36075_8257_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057338
            [channelDTime] => 1742057351
            [channelDuration] => 13
            [cSTime] => 1742057348
            [cETime] => 1742057351
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07903938657
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057351
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057341
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3449
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.9200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.839999997967
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3449
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 275.9200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95502.96000000785
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057353
{"compaign_id":"36075","contact_id":"8131","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8131","uid":"u595","unique_id":"36075_8131_138-u595","ivrId":"3158","channelOTime":1742057308,"channelDTime":1742057351,"channelDuration":43,"cSTime":1742057328,"cETime":1742057351,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08473037072","server_ip":"118.185.137.196","insertTime":1742057351,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057311,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057328,"endTime":1742057351,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8131
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8131
            [uid] => u595
            [unique_id] => 36075_8131_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057308
            [channelDTime] => 1742057351
            [channelDuration] => 43
            [cSTime] => 1742057328
            [cETime] => 1742057351
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08473037072
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057351
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057311
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057328
                                    [endTime] => 1742057351
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3450
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.0000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.759999997965
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3450
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.0000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95502.88000000785
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057353
{"compaign_id":"36075","contact_id":"8270","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8270","uid":"u595","unique_id":"36075_8270_138-u595","ivrId":"3158","channelOTime":1742057341,"channelDTime":1742057351,"channelDuration":10,"cSTime":1742057347,"cETime":1742057351,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09845105483","server_ip":"118.185.137.196","insertTime":1742057351,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057344,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8270
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8270
            [uid] => u595
            [unique_id] => 36075_8270_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057341
            [channelDTime] => 1742057351
            [channelDuration] => 10
            [cSTime] => 1742057347
            [cETime] => 1742057351
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09845105483
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057351
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057344
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3452
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.1600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.599999997965
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3452
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.1600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95502.72000000784
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057353
{"compaign_id":"36075","contact_id":"8233","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8233","uid":"u595","unique_id":"36075_8233_138-u595","ivrId":"3158","channelOTime":1742057332,"channelDTime":1742057352,"channelDuration":20,"cSTime":1742057345,"cETime":1742057352,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08510052971","server_ip":"118.185.137.196","insertTime":1742057352,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057339,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8233
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8233
            [uid] => u595
            [unique_id] => 36075_8233_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057332
            [channelDTime] => 1742057352
            [channelDuration] => 20
            [cSTime] => 1742057345
            [cETime] => 1742057352
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08510052971
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057352
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057339
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3453
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.2400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.519999997963
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3453
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.2400000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95502.64000000784
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057354
{"compaign_id":"36075","contact_id":"8223","total_duration":"10","answer_duration":10,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8223","uid":"u595","unique_id":"36075_8223_138-u595","ivrId":"3158","channelOTime":1742057330,"channelDTime":1742057352,"channelDuration":22,"cSTime":1742057342,"cETime":1742057352,"cDuration":10,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07003190763","server_ip":"118.185.137.196","insertTime":1742057352,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057333,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8223
    [total_duration] => 10
    [answer_duration] => 10
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8223
            [uid] => u595
            [unique_id] => 36075_8223_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057330
            [channelDTime] => 1742057352
            [channelDuration] => 22
            [cSTime] => 1742057342
            [cETime] => 1742057352
            [cDuration] => 10
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07003190763
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057352
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057333
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3454
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.3200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.43999999796
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3454
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.3200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95502.56000000784
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057354
{"compaign_id":"36075","contact_id":"8264","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8264","uid":"u595","unique_id":"36075_8264_138-u595","ivrId":"3158","channelOTime":1742057340,"channelDTime":1742057353,"channelDuration":13,"cSTime":1742057346,"cETime":1742057353,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08767345345","server_ip":"118.185.137.196","insertTime":1742057353,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057342,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8264
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8264
            [uid] => u595
            [unique_id] => 36075_8264_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057340
            [channelDTime] => 1742057353
            [channelDuration] => 13
            [cSTime] => 1742057346
            [cETime] => 1742057353
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08767345345
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057353
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057342
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3455
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.40000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.35999999796
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3455
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.40000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95502.48000000784
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057354
{"compaign_id":"36075","contact_id":"8276","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8276","uid":"u595","unique_id":"36075_8276_138-u595","ivrId":"3158","channelOTime":1742057342,"channelDTime":1742057356,"channelDuration":14,"cSTime":1742057353,"cETime":1742057356,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06000713877","server_ip":"118.185.137.196","insertTime":1742057356,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057344,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8276
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8276
            [uid] => u595
            [unique_id] => 36075_8276_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057342
            [channelDTime] => 1742057356
            [channelDuration] => 14
            [cSTime] => 1742057353
            [cETime] => 1742057356
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06000713877
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057356
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057344
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3456
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.48000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.279999997958
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3456
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.48000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95502.40000000784
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057357
{"compaign_id":"36075","contact_id":"8208","total_duration":"14","answer_duration":14,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8208","uid":"u595","unique_id":"36075_8208_138-u595","ivrId":"3158","channelOTime":1742057327,"channelDTime":1742057356,"channelDuration":29,"cSTime":1742057342,"cETime":1742057356,"cDuration":14,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08888409337","server_ip":"118.185.137.196","insertTime":1742057356,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057332,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8208
    [total_duration] => 14
    [answer_duration] => 14
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8208
            [uid] => u595
            [unique_id] => 36075_8208_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057327
            [channelDTime] => 1742057356
            [channelDuration] => 29
            [cSTime] => 1742057342
            [cETime] => 1742057356
            [cDuration] => 14
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08888409337
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057356
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057332
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3457
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.56000000000563
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.199999997956
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3457
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.56000000000563
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95502.32000000784
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057357
{"compaign_id":"36075","contact_id":"8294","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8294","uid":"u595","unique_id":"36075_8294_138-u595","ivrId":"3158","channelOTime":1742057346,"channelDTime":1742057356,"channelDuration":10,"cSTime":1742057353,"cETime":1742057356,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09945929689","server_ip":"118.185.137.196","insertTime":1742057356,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057349,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8294
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8294
            [uid] => u595
            [unique_id] => 36075_8294_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057346
            [channelDTime] => 1742057356
            [channelDuration] => 10
            [cSTime] => 1742057353
            [cETime] => 1742057356
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09945929689
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057356
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057349
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3458
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.6400000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.119999997954
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3458
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.6400000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95502.24000000783
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057358
{"compaign_id":"36075","contact_id":"8150","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8150","uid":"u595","unique_id":"36075_8150_138-u595","ivrId":"3158","channelOTime":1742057314,"channelDTime":1742057356,"channelDuration":42,"cSTime":1742057333,"cETime":1742057356,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09560828480","server_ip":"118.185.137.196","insertTime":1742057356,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057319,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057333,"endTime":1742057356,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8150
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8150
            [uid] => u595
            [unique_id] => 36075_8150_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057314
            [channelDTime] => 1742057356
            [channelDuration] => 42
            [cSTime] => 1742057333
            [cETime] => 1742057356
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09560828480
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057356
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057319
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057333
                                    [endTime] => 1742057356
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3459
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.7200000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29819.039999997953
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3459
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.7200000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95502.16000000783
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057358
{"compaign_id":"36075","contact_id":"8290","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8290","uid":"u595","unique_id":"36075_8290_138-u595","ivrId":"3158","channelOTime":1742057345,"channelDTime":1742057357,"channelDuration":12,"cSTime":1742057353,"cETime":1742057357,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07488780039","server_ip":"118.185.137.196","insertTime":1742057357,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057347,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8290
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8290
            [uid] => u595
            [unique_id] => 36075_8290_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057345
            [channelDTime] => 1742057357
            [channelDuration] => 12
            [cSTime] => 1742057353
            [cETime] => 1742057357
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07488780039
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057357
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057347
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3461
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.8800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29818.879999997953
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3461
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.8800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95502.00000000783
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057359
{"compaign_id":"36075","contact_id":"8176","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8176","uid":"u595","unique_id":"36075_8176_138-u595","ivrId":"3158","channelOTime":1742057319,"channelDTime":1742057357,"channelDuration":38,"cSTime":1742057334,"cETime":1742057357,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09062426410","server_ip":"118.185.137.196","insertTime":1742057357,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057321,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057334,"endTime":1742057357,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8176
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8176
            [uid] => u595
            [unique_id] => 36075_8176_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057319
            [channelDTime] => 1742057357
            [channelDuration] => 38
            [cSTime] => 1742057334
            [cETime] => 1742057357
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09062426410
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057357
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057321
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057334
                                    [endTime] => 1742057357
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3462
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.9600000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29818.79999999795
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3462
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 276.9600000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95501.92000000783
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057359
{"compaign_id":"36075","contact_id":"8190","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8190","uid":"u595","unique_id":"36075_8190_138-u595","ivrId":"3158","channelOTime":1742057322,"channelDTime":1742057358,"channelDuration":36,"cSTime":1742057334,"cETime":1742057358,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06205201146","server_ip":"118.185.137.196","insertTime":1742057358,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057324,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057334,"endTime":1742057358,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8190
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8190
            [uid] => u595
            [unique_id] => 36075_8190_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057322
            [channelDTime] => 1742057358
            [channelDuration] => 36
            [cSTime] => 1742057334
            [cETime] => 1742057358
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06205201146
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057358
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057324
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057334
                                    [endTime] => 1742057358
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3464
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.12000000000563
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29818.63999999795
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3464
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.12000000000563
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95501.76000000782
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057359
{"compaign_id":"36075","contact_id":"8268","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8268","uid":"u595","unique_id":"36075_8268_138-u595","ivrId":"3158","channelOTime":1742057341,"channelDTime":1742057358,"channelDuration":17,"cSTime":1742057353,"cETime":1742057358,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09741507205","server_ip":"118.185.137.196","insertTime":1742057358,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057343,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8268
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8268
            [uid] => u595
            [unique_id] => 36075_8268_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057341
            [channelDTime] => 1742057358
            [channelDuration] => 17
            [cSTime] => 1742057353
            [cETime] => 1742057358
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09741507205
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057358
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057343
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3466
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.28000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29818.47999999795
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3466
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.28000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95501.60000000782
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057360
{"compaign_id":"36075","contact_id":"8263","total_duration":"15","answer_duration":15,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8263","uid":"u595","unique_id":"36075_8263_138-u595","ivrId":"3158","channelOTime":1742057340,"channelDTime":1742057359,"channelDuration":19,"cSTime":1742057344,"cETime":1742057359,"cDuration":15,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07838875869","server_ip":"118.185.137.196","insertTime":1742057359,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057341,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8263
    [total_duration] => 15
    [answer_duration] => 15
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8263
            [uid] => u595
            [unique_id] => 36075_8263_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057340
            [channelDTime] => 1742057359
            [channelDuration] => 19
            [cSTime] => 1742057344
            [cETime] => 1742057359
            [cDuration] => 15
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07838875869
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057359
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057341
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3467
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.36000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29818.39999999795
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3467
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.36000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95501.52000000782
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057361
{"compaign_id":"36075","contact_id":"8222","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8222","uid":"u595","unique_id":"36075_8222_138-u595","ivrId":"3158","channelOTime":1742057330,"channelDTime":1742057359,"channelDuration":29,"cSTime":1742057342,"cETime":1742057359,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09651624048","server_ip":"118.185.137.196","insertTime":1742057359,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057331,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8222
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8222
            [uid] => u595
            [unique_id] => 36075_8222_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057330
            [channelDTime] => 1742057359
            [channelDuration] => 29
            [cSTime] => 1742057342
            [cETime] => 1742057359
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09651624048
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057359
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057331
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3468
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.4400000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29818.319999997948
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3468
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.4400000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95501.44000000782
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057361
{"compaign_id":"36075","contact_id":"8265","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8265","uid":"u595","unique_id":"36075_8265_138-u595","ivrId":"3158","channelOTime":1742057340,"channelDTime":1742057360,"channelDuration":20,"cSTime":1742057355,"cETime":1742057360,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09321775371","server_ip":"118.185.137.196","insertTime":1742057360,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057343,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8265
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8265
            [uid] => u595
            [unique_id] => 36075_8265_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057340
            [channelDTime] => 1742057360
            [channelDuration] => 20
            [cSTime] => 1742057355
            [cETime] => 1742057360
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09321775371
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057360
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057343
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3470
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.60000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29818.159999997948
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3470
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.60000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95501.28000000781
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057362
{"compaign_id":"36075","contact_id":"8292","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8292","uid":"u595","unique_id":"36075_8292_138-u595","ivrId":"3158","channelOTime":1742057345,"channelDTime":1742057360,"channelDuration":15,"cSTime":1742057357,"cETime":1742057360,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09834407585","server_ip":"118.185.137.196","insertTime":1742057360,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057347,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8292
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8292
            [uid] => u595
            [unique_id] => 36075_8292_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057345
            [channelDTime] => 1742057360
            [channelDuration] => 15
            [cSTime] => 1742057357
            [cETime] => 1742057360
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09834407585
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057360
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057347
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3471
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.68000000000563
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29818.079999997946
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3471
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.68000000000563
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95501.20000000781
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057362
{"compaign_id":"36075","contact_id":"8184","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8184","uid":"u595","unique_id":"36075_8184_138-u595","ivrId":"3158","channelOTime":1742057321,"channelDTime":1742057360,"channelDuration":39,"cSTime":1742057349,"cETime":1742057360,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07080338175","server_ip":"118.185.137.196","insertTime":1742057360,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057324,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8184
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8184
            [uid] => u595
            [unique_id] => 36075_8184_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057321
            [channelDTime] => 1742057360
            [channelDuration] => 39
            [cSTime] => 1742057349
            [cETime] => 1742057360
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07080338175
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057360
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057324
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3472
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.7600000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29817.999999997945
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3472
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.7600000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95501.12000000781
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057362
{"compaign_id":"36075","contact_id":"8221","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8221","uid":"u595","unique_id":"36075_8221_138-u595","ivrId":"3158","channelOTime":1742057330,"channelDTime":1742057360,"channelDuration":30,"cSTime":1742057337,"cETime":1742057360,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08100673274","server_ip":"118.185.137.196","insertTime":1742057360,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057331,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057337,"endTime":1742057354,"duration":17}],"#3":[{"startTime":1742057354,"endTime":1742057360,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8221
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8221
            [uid] => u595
            [unique_id] => 36075_8221_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057330
            [channelDTime] => 1742057360
            [channelDuration] => 30
            [cSTime] => 1742057337
            [cETime] => 1742057360
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08100673274
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057360
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057331
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057337
                                    [endTime] => 1742057354
                                    [duration] => 17
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057354
                                    [endTime] => 1742057360
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3473
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.8400000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29817.919999997943
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3473
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 277.8400000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95501.04000000781
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057362
{"compaign_id":"36075","contact_id":"8260","total_duration":"11","answer_duration":11,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8260","uid":"u595","unique_id":"36075_8260_138-u595","ivrId":"3158","channelOTime":1742057339,"channelDTime":1742057361,"channelDuration":22,"cSTime":1742057350,"cETime":1742057361,"cDuration":11,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08209115545","server_ip":"118.185.137.196","insertTime":1742057361,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057344,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8260
    [total_duration] => 11
    [answer_duration] => 11
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8260
            [uid] => u595
            [unique_id] => 36075_8260_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057339
            [channelDTime] => 1742057361
            [channelDuration] => 22
            [cSTime] => 1742057350
            [cETime] => 1742057361
            [cDuration] => 11
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08209115545
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057361
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057344
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3475
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.0000000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29817.759999997943
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3475
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.0000000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95500.8800000078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057363
{"compaign_id":"36075","contact_id":"8278","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8278","uid":"u595","unique_id":"36075_8278_138-u595","ivrId":"3158","channelOTime":1742057343,"channelDTime":1742057362,"channelDuration":19,"cSTime":1742057355,"cETime":1742057362,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09110814709","server_ip":"118.185.137.196","insertTime":1742057362,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057345,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8278
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8278
            [uid] => u595
            [unique_id] => 36075_8278_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057343
            [channelDTime] => 1742057362
            [channelDuration] => 19
            [cSTime] => 1742057355
            [cETime] => 1742057362
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09110814709
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057362
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057345
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3476
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.0800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29817.67999999794
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3476
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.0800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95500.8000000078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057363
{"compaign_id":"36075","contact_id":"8209","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8209","uid":"u595","unique_id":"36075_8209_138-u595","ivrId":"3158","channelOTime":1742057327,"channelDTime":1742057362,"channelDuration":35,"cSTime":1742057337,"cETime":1742057362,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"08799434593","server_ip":"118.185.137.196","insertTime":1742057362,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057329,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057337,"endTime":1742057356,"duration":19}],"#3":[{"startTime":1742057356,"endTime":1742057362,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8209
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8209
            [uid] => u595
            [unique_id] => 36075_8209_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057327
            [channelDTime] => 1742057362
            [channelDuration] => 35
            [cSTime] => 1742057337
            [cETime] => 1742057362
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 08799434593
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057362
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057329
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057337
                                    [endTime] => 1742057356
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057356
                                    [endTime] => 1742057362
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3477
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.1600000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29817.59999999794
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3477
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.1600000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95500.7200000078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057364
{"compaign_id":"36075","contact_id":"8313","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8313","uid":"u595","unique_id":"36075_8313_138-u595","ivrId":"3158","channelOTime":1742057351,"channelDTime":1742057363,"channelDuration":12,"cSTime":1742057359,"cETime":1742057363,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07654050766","server_ip":"118.185.137.196","insertTime":1742057363,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057354,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8313
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8313
            [uid] => u595
            [unique_id] => 36075_8313_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057351
            [channelDTime] => 1742057363
            [channelDuration] => 12
            [cSTime] => 1742057359
            [cETime] => 1742057363
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07654050766
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057363
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057354
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3479
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.3200000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29817.43999999794
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3479
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.3200000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95500.5600000078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057364
{"compaign_id":"36075","contact_id":"8330","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8330","uid":"u595","unique_id":"36075_8330_138-u595","ivrId":"3158","channelOTime":1742057355,"channelDTime":1742057364,"channelDuration":9,"cSTime":1742057360,"cETime":1742057364,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09833806646","server_ip":"118.185.137.196","insertTime":1742057364,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057357,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8330
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8330
            [uid] => u595
            [unique_id] => 36075_8330_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057355
            [channelDTime] => 1742057364
            [channelDuration] => 9
            [cSTime] => 1742057360
            [cETime] => 1742057364
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09833806646
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057364
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057357
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3480
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.4000000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29817.359999997938
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3480
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.4000000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95500.4800000078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057365
{"compaign_id":"36075","contact_id":"8311","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8311","uid":"u595","unique_id":"36075_8311_138-u595","ivrId":"3158","channelOTime":1742057351,"channelDTime":1742057364,"channelDuration":13,"cSTime":1742057361,"cETime":1742057364,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06309144991","server_ip":"118.185.137.196","insertTime":1742057364,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057353,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8311
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8311
            [uid] => u595
            [unique_id] => 36075_8311_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057351
            [channelDTime] => 1742057364
            [channelDuration] => 13
            [cSTime] => 1742057361
            [cETime] => 1742057364
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06309144991
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057364
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057353
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3481
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.4800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29817.279999997936
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3481
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.4800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95500.4000000078
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057366
{"compaign_id":"36075","contact_id":"8254","total_duration":"13","answer_duration":13,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8254","uid":"u595","unique_id":"36075_8254_138-u595","ivrId":"3158","channelOTime":1742057338,"channelDTime":1742057365,"channelDuration":27,"cSTime":1742057352,"cETime":1742057365,"cDuration":13,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09693219164","server_ip":"118.185.137.196","insertTime":1742057365,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057340,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8254
    [total_duration] => 13
    [answer_duration] => 13
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8254
            [uid] => u595
            [unique_id] => 36075_8254_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057338
            [channelDTime] => 1742057365
            [channelDuration] => 27
            [cSTime] => 1742057352
            [cETime] => 1742057365
            [cDuration] => 13
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09693219164
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057365
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057340
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3482
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.5600000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29817.199999997934
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3482
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.5600000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95500.32000000779
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057367
{"compaign_id":"36075","contact_id":"8326","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8326","uid":"u595","unique_id":"36075_8326_138-u595","ivrId":"3158","channelOTime":1742057354,"channelDTime":1742057366,"channelDuration":12,"cSTime":1742057363,"cETime":1742057366,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06376337564","server_ip":"118.185.137.196","insertTime":1742057366,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057356,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8326
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8326
            [uid] => u595
            [unique_id] => 36075_8326_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057354
            [channelDTime] => 1742057366
            [channelDuration] => 12
            [cSTime] => 1742057363
            [cETime] => 1742057366
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06376337564
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057366
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057356
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3483
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.64000000000556
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29817.119999997933
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3483
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.64000000000556
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95500.24000000779
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057368
{"compaign_id":"36075","contact_id":"8312","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8312","uid":"u595","unique_id":"36075_8312_138-u595","ivrId":"3158","channelOTime":1742057351,"channelDTime":1742057367,"channelDuration":16,"cSTime":1742057358,"cETime":1742057367,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06352744910","server_ip":"118.185.137.196","insertTime":1742057367,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057353,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8312
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8312
            [uid] => u595
            [unique_id] => 36075_8312_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057351
            [channelDTime] => 1742057367
            [channelDuration] => 16
            [cSTime] => 1742057358
            [cETime] => 1742057367
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06352744910
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057367
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057353
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3484
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.72000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29817.03999999793
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3484
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.72000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95500.16000000779
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057369
{"compaign_id":"36075","contact_id":"8211","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8211","uid":"u595","unique_id":"36075_8211_138-u595","ivrId":"3158","channelOTime":1742057328,"channelDTime":1742057367,"channelDuration":39,"cSTime":1742057344,"cETime":1742057367,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08121270530","server_ip":"118.185.137.196","insertTime":1742057367,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057332,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057344,"endTime":1742057367,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8211
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8211
            [uid] => u595
            [unique_id] => 36075_8211_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057328
            [channelDTime] => 1742057367
            [channelDuration] => 39
            [cSTime] => 1742057344
            [cETime] => 1742057367
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08121270530
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057367
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057332
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057344
                                    [endTime] => 1742057367
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3485
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.8000000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29816.95999999793
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3485
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.8000000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95500.08000000779
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057369
{"compaign_id":"36075","contact_id":"8301","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8301","uid":"u595","unique_id":"36075_8301_138-u595","ivrId":"3158","channelOTime":1742057349,"channelDTime":1742057368,"channelDuration":19,"cSTime":1742057360,"cETime":1742057368,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08927516720","server_ip":"118.185.137.196","insertTime":1742057368,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057352,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8301
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8301
            [uid] => u595
            [unique_id] => 36075_8301_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057349
            [channelDTime] => 1742057368
            [channelDuration] => 19
            [cSTime] => 1742057360
            [cETime] => 1742057368
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08927516720
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057368
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057352
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3487
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.96000000000555
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29816.79999999793
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3487
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 278.96000000000555
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95499.92000000778
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057370
{"compaign_id":"36075","contact_id":"8298","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8298","uid":"u595","unique_id":"36075_8298_138-u595","ivrId":"3158","channelOTime":1742057347,"channelDTime":1742057368,"channelDuration":21,"cSTime":1742057352,"cETime":1742057368,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08435899641","server_ip":"118.185.137.196","insertTime":1742057368,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057349,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8298
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8298
            [uid] => u595
            [unique_id] => 36075_8298_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057347
            [channelDTime] => 1742057368
            [channelDuration] => 21
            [cSTime] => 1742057352
            [cETime] => 1742057368
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08435899641
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057368
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057349
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3488
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.04000000000553
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29816.719999997928
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3488
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.04000000000553
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95499.84000000778
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057370
{"compaign_id":"36075","contact_id":"8328","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8328","uid":"u595","unique_id":"36075_8328_138-u595","ivrId":"3158","channelOTime":1742057354,"channelDTime":1742057369,"channelDuration":15,"cSTime":1742057361,"cETime":1742057369,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09101231534","server_ip":"118.185.137.196","insertTime":1742057369,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057357,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8328
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8328
            [uid] => u595
            [unique_id] => 36075_8328_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057354
            [channelDTime] => 1742057369
            [channelDuration] => 15
            [cSTime] => 1742057361
            [cETime] => 1742057369
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09101231534
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057369
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057357
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3490
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.20000000000556
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29816.559999997928
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3490
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.20000000000556
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95499.68000000778
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057370
{"compaign_id":"36075","contact_id":"8238","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8238","uid":"u595","unique_id":"36075_8238_138-u595","ivrId":"3158","channelOTime":1742057333,"channelDTime":1742057370,"channelDuration":37,"cSTime":1742057346,"cETime":1742057370,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08108685991","server_ip":"118.185.137.196","insertTime":1742057370,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057335,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057346,"endTime":1742057370,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8238
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8238
            [uid] => u595
            [unique_id] => 36075_8238_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057333
            [channelDTime] => 1742057370
            [channelDuration] => 37
            [cSTime] => 1742057346
            [cETime] => 1742057370
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08108685991
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057370
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057335
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057346
                                    [endTime] => 1742057370
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3491
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.28000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29816.479999997926
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3491
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.28000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95499.60000000778
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057371
{"compaign_id":"36075","contact_id":"8322","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8322","uid":"u595","unique_id":"36075_8322_138-u595","ivrId":"3158","channelOTime":1742057353,"channelDTime":1742057370,"channelDuration":17,"cSTime":1742057363,"cETime":1742057370,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08341874611","server_ip":"118.185.137.196","insertTime":1742057370,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057355,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8322
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8322
            [uid] => u595
            [unique_id] => 36075_8322_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057353
            [channelDTime] => 1742057370
            [channelDuration] => 17
            [cSTime] => 1742057363
            [cETime] => 1742057370
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08341874611
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057370
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057355
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3493
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.44000000000557
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29816.319999997926
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3493
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.44000000000557
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95499.44000000777
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057372
{"compaign_id":"36075","contact_id":"8339","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8339","uid":"u595","unique_id":"36075_8339_138-u595","ivrId":"3158","channelOTime":1742057357,"channelDTime":1742057371,"channelDuration":14,"cSTime":1742057369,"cETime":1742057371,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08637004097","server_ip":"118.185.137.196","insertTime":1742057371,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057359,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8339
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8339
            [uid] => u595
            [unique_id] => 36075_8339_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057357
            [channelDTime] => 1742057371
            [channelDuration] => 14
            [cSTime] => 1742057369
            [cETime] => 1742057371
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08637004097
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057371
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057359
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3494
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.52000000000555
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29816.239999997924
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3494
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.52000000000555
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95499.36000000777
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057373
{"compaign_id":"36075","contact_id":"8320","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8320","uid":"u595","unique_id":"36075_8320_138-u595","ivrId":"3158","channelOTime":1742057353,"channelDTime":1742057371,"channelDuration":18,"cSTime":1742057368,"cETime":1742057371,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09961185321","server_ip":"118.185.137.196","insertTime":1742057371,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057357,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8320
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8320
            [uid] => u595
            [unique_id] => 36075_8320_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057353
            [channelDTime] => 1742057371
            [channelDuration] => 18
            [cSTime] => 1742057368
            [cETime] => 1742057371
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09961185321
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057371
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057357
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3495
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.60000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29816.159999997923
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3495
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.60000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95499.28000000777
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057373
{"compaign_id":"36075","contact_id":"8317","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8317","uid":"u595","unique_id":"36075_8317_138-u595","ivrId":"3158","channelOTime":1742057352,"channelDTime":1742057374,"channelDuration":22,"cSTime":1742057357,"cETime":1742057374,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07986444801","server_ip":"118.185.137.196","insertTime":1742057374,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057354,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8317
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8317
            [uid] => u595
            [unique_id] => 36075_8317_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057352
            [channelDTime] => 1742057374
            [channelDuration] => 22
            [cSTime] => 1742057357
            [cETime] => 1742057374
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07986444801
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057374
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057354
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3496
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.6800000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29816.07999999792
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3496
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.6800000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95499.20000000777
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057375
{"compaign_id":"36075","contact_id":"8342","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8342","uid":"u595","unique_id":"36075_8342_138-u595","ivrId":"3158","channelOTime":1742057357,"channelDTime":1742057374,"channelDuration":17,"cSTime":1742057368,"cETime":1742057374,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06380423718","server_ip":"118.185.137.196","insertTime":1742057374,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057359,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8342
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8342
            [uid] => u595
            [unique_id] => 36075_8342_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057357
            [channelDTime] => 1742057374
            [channelDuration] => 17
            [cSTime] => 1742057368
            [cETime] => 1742057374
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06380423718
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057374
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057359
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3498
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.84000000000555
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29815.91999999792
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3498
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.84000000000555
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95499.04000000776
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057376
{"compaign_id":"36075","contact_id":"8302","total_duration":"16","answer_duration":16,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8302","uid":"u595","unique_id":"36075_8302_138-u595","ivrId":"3158","channelOTime":1742057349,"channelDTime":1742057374,"channelDuration":25,"cSTime":1742057358,"cETime":1742057374,"cDuration":16,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09929430403","server_ip":"118.185.137.196","insertTime":1742057374,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057350,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8302
    [total_duration] => 16
    [answer_duration] => 16
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8302
            [uid] => u595
            [unique_id] => 36075_8302_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057349
            [channelDTime] => 1742057374
            [channelDuration] => 25
            [cSTime] => 1742057358
            [cETime] => 1742057374
            [cDuration] => 16
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09929430403
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057374
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057350
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3499
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.92000000000553
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29815.83999999792
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3499
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 279.92000000000553
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95498.96000000776
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057376
{"compaign_id":"36075","contact_id":"8324","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8324","uid":"u595","unique_id":"36075_8324_138-u595","ivrId":"3158","channelOTime":1742057354,"channelDTime":1742057375,"channelDuration":21,"cSTime":1742057366,"cETime":1742057375,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09834172018","server_ip":"118.185.137.196","insertTime":1742057375,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057355,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8324
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8324
            [uid] => u595
            [unique_id] => 36075_8324_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057354
            [channelDTime] => 1742057375
            [channelDuration] => 21
            [cSTime] => 1742057366
            [cETime] => 1742057375
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09834172018
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057375
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057355
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3501
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.08000000000555
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29815.67999999792
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3501
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.08000000000555
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95498.80000000776
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057377
{"compaign_id":"36075","contact_id":"8280","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8280","uid":"u595","unique_id":"36075_8280_138-u595","ivrId":"3158","channelOTime":1742057343,"channelDTime":1742057375,"channelDuration":32,"cSTime":1742057369,"cETime":1742057375,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09347290037","server_ip":"118.185.137.196","insertTime":1742057375,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057345,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8280
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8280
            [uid] => u595
            [unique_id] => 36075_8280_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057343
            [channelDTime] => 1742057375
            [channelDuration] => 32
            [cSTime] => 1742057369
            [cETime] => 1742057375
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09347290037
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057375
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057345
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3502
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.16000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29815.599999997918
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3502
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.16000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95498.72000000776
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057377
{"compaign_id":"36075","contact_id":"8316","total_duration":"2","answer_duration":2,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8316","uid":"u595","unique_id":"36075_8316_138-u595","ivrId":"3158","channelOTime":1742057352,"channelDTime":1742057376,"channelDuration":24,"cSTime":1742057374,"cETime":1742057376,"cDuration":2,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07302489846","server_ip":"118.185.137.196","insertTime":1742057376,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057354,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8316
    [total_duration] => 2
    [answer_duration] => 2
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8316
            [uid] => u595
            [unique_id] => 36075_8316_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057352
            [channelDTime] => 1742057376
            [channelDuration] => 24
            [cSTime] => 1742057374
            [cETime] => 1742057376
            [cDuration] => 2
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07302489846
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057376
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057354
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3503
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.2400000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29815.519999997916
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3503
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.2400000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95498.64000000776
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057378
{"compaign_id":"36075","contact_id":"8251","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8251","uid":"u595","unique_id":"36075_8251_138-u595","ivrId":"3158","channelOTime":1742057337,"channelDTime":1742057378,"channelDuration":41,"cSTime":1742057354,"cETime":1742057378,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08378920677","server_ip":"118.185.137.196","insertTime":1742057378,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057339,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057354,"endTime":1742057378,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8251
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8251
            [uid] => u595
            [unique_id] => 36075_8251_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057337
            [channelDTime] => 1742057378
            [channelDuration] => 41
            [cSTime] => 1742057354
            [cETime] => 1742057378
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08378920677
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057378
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057339
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057354
                                    [endTime] => 1742057378
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3504
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.3200000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29815.439999997914
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3504
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.3200000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95498.56000000775
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057379
{"compaign_id":"36075","contact_id":"8335","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8335","uid":"u595","unique_id":"36075_8335_138-u595","ivrId":"3158","channelOTime":1742057356,"channelDTime":1742057378,"channelDuration":22,"cSTime":1742057374,"cETime":1742057378,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08895366910","server_ip":"118.185.137.196","insertTime":1742057378,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057360,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8335
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8335
            [uid] => u595
            [unique_id] => 36075_8335_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057356
            [channelDTime] => 1742057378
            [channelDuration] => 22
            [cSTime] => 1742057374
            [cETime] => 1742057378
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08895366910
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057378
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057360
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3506
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.48000000000553
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29815.279999997914
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3506
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.48000000000553
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95498.40000000775
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057380
{"compaign_id":"36075","contact_id":"8287","total_duration":"25","answer_duration":25,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8287","uid":"u595","unique_id":"36075_8287_138-u595","ivrId":"3158","channelOTime":1742057344,"channelDTime":1742057380,"channelDuration":36,"cSTime":1742057355,"cETime":1742057380,"cDuration":25,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"07999404721","server_ip":"118.185.137.196","insertTime":1742057380,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057347,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057355,"endTime":1742057374,"duration":19}],"#3":[{"startTime":1742057374,"endTime":1742057380,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8287
    [total_duration] => 25
    [answer_duration] => 25
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8287
            [uid] => u595
            [unique_id] => 36075_8287_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057344
            [channelDTime] => 1742057380
            [channelDuration] => 36
            [cSTime] => 1742057355
            [cETime] => 1742057380
            [cDuration] => 25
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 07999404721
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057380
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057347
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057355
                                    [endTime] => 1742057374
                                    [duration] => 19
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057374
                                    [endTime] => 1742057380
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3507
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.5600000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29815.199999997913
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3507
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.5600000000055
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95498.32000000775
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057381
{"compaign_id":"36075","contact_id":"8256","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8256","uid":"u595","unique_id":"36075_8256_138-u595","ivrId":"3158","channelOTime":1742057338,"channelDTime":1742057383,"channelDuration":45,"cSTime":1742057360,"cETime":1742057383,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08660472927","server_ip":"118.185.137.196","insertTime":1742057383,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057340,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057360,"endTime":1742057383,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8256
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8256
            [uid] => u595
            [unique_id] => 36075_8256_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057338
            [channelDTime] => 1742057383
            [channelDuration] => 45
            [cSTime] => 1742057360
            [cETime] => 1742057383
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08660472927
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057383
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057340
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057360
                                    [endTime] => 1742057383
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3509
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.72000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29815.039999997913
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3509
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.72000000000554
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95498.16000000775
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057385
{"compaign_id":"36075","contact_id":"8340","total_duration":"17","answer_duration":17,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8340","uid":"u595","unique_id":"36075_8340_138-u595","ivrId":"3158","channelOTime":1742057357,"channelDTime":1742057386,"channelDuration":29,"cSTime":1742057369,"cETime":1742057386,"cDuration":17,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08123028448","server_ip":"118.185.137.196","insertTime":1742057386,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057359,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8340
    [total_duration] => 17
    [answer_duration] => 17
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8340
            [uid] => u595
            [unique_id] => 36075_8340_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057357
            [channelDTime] => 1742057386
            [channelDuration] => 29
            [cSTime] => 1742057369
            [cETime] => 1742057386
            [cDuration] => 17
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08123028448
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057386
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057359
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3511
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.88000000000557
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29814.879999997913
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3511
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 280.88000000000557
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95498.00000000774
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057387
{"compaign_id":"36075","contact_id":"8309","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8309","uid":"u595","unique_id":"36075_8309_138-u595","ivrId":"3158","channelOTime":1742057351,"channelDTime":1742057387,"channelDuration":36,"cSTime":1742057364,"cETime":1742057387,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07007901849","server_ip":"118.185.137.196","insertTime":1742057387,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057352,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057364,"endTime":1742057387,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8309
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8309
            [uid] => u595
            [unique_id] => 36075_8309_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057351
            [channelDTime] => 1742057387
            [channelDuration] => 36
            [cSTime] => 1742057364
            [cETime] => 1742057387
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07007901849
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057387
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057352
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057364
                                    [endTime] => 1742057387
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3513
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.0400000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29814.719999997913
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3513
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.0400000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95497.84000000774
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057389
{"compaign_id":"36075","contact_id":"8347","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8347","uid":"u595","unique_id":"36075_8347_138-u595","ivrId":"3158","channelOTime":1742057358,"channelDTime":1742057387,"channelDuration":29,"cSTime":1742057378,"cETime":1742057387,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09801065645","server_ip":"118.185.137.196","insertTime":1742057387,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057361,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8347
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8347
            [uid] => u595
            [unique_id] => 36075_8347_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057358
            [channelDTime] => 1742057387
            [channelDuration] => 29
            [cSTime] => 1742057378
            [cETime] => 1742057387
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09801065645
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057387
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057361
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3515
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.2000000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29814.559999997913
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3515
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.2000000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95497.68000000773
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057389
{"compaign_id":"36075","contact_id":"8321","total_duration":"22","answer_duration":22,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8321","uid":"u595","unique_id":"36075_8321_138-u595","ivrId":"3158","channelOTime":1742057353,"channelDTime":1742057391,"channelDuration":38,"cSTime":1742057369,"cETime":1742057391,"cDuration":22,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06264719017","server_ip":"118.185.137.196","insertTime":1742057391,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057356,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057369,"endTime":1742057393,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8321
    [total_duration] => 22
    [answer_duration] => 22
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8321
            [uid] => u595
            [unique_id] => 36075_8321_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057353
            [channelDTime] => 1742057391
            [channelDuration] => 38
            [cSTime] => 1742057369
            [cETime] => 1742057391
            [cDuration] => 22
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06264719017
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057391
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057356
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057369
                                    [endTime] => 1742057393
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3516
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.2800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29814.47999999791
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3516
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.2800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95497.60000000773
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057393
{"compaign_id":"36075","contact_id":"8333","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8333","uid":"u595","unique_id":"36075_8333_138-u595","ivrId":"3158","channelOTime":1742057355,"channelDTime":1742057392,"channelDuration":37,"cSTime":1742057368,"cETime":1742057392,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09872838675","server_ip":"118.185.137.196","insertTime":1742057392,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057358,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057368,"endTime":1742057392,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8333
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8333
            [uid] => u595
            [unique_id] => 36075_8333_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057355
            [channelDTime] => 1742057392
            [channelDuration] => 37
            [cSTime] => 1742057368
            [cETime] => 1742057392
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09872838675
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057392
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057358
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057368
                                    [endTime] => 1742057392
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3518
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.4400000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29814.31999999791
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3518
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.4400000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95497.44000000773
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057393
{"compaign_id":"36075","contact_id":"8336","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8336","uid":"u595","unique_id":"36075_8336_138-u595","ivrId":"3158","channelOTime":1742057356,"channelDTime":1742057399,"channelDuration":43,"cSTime":1742057375,"cETime":1742057399,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09666333123","server_ip":"118.185.137.196","insertTime":1742057399,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057357,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057375,"endTime":1742057399,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8336
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8336
            [uid] => u595
            [unique_id] => 36075_8336_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057356
            [channelDTime] => 1742057399
            [channelDuration] => 43
            [cSTime] => 1742057375
            [cETime] => 1742057399
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09666333123
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057399
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057357
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057375
                                    [endTime] => 1742057399
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3520
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.60000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29814.15999999791
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3520
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.60000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95497.28000000773
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057400
{"compaign_id":"36075","contact_id":"8354","total_duration":"4","answer_duration":4,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8354","uid":"u595","unique_id":"36075_8354_138-u595","ivrId":"3158","channelOTime":1742057388,"channelDTime":1742057400,"channelDuration":12,"cSTime":1742057396,"cETime":1742057400,"cDuration":4,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08484048777","server_ip":"118.185.137.196","insertTime":1742057400,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057391,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8354
    [total_duration] => 4
    [answer_duration] => 4
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8354
            [uid] => u595
            [unique_id] => 36075_8354_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057388
            [channelDTime] => 1742057400
            [channelDuration] => 12
            [cSTime] => 1742057396
            [cETime] => 1742057400
            [cDuration] => 4
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08484048777
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057400
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057391
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3522
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.7600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29813.99999999791
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3522
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.7600000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95497.12000000772
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057401
2025-03-15 22:20:02[LOG]Starting Cron
2025-03-15 22:20:02[LOG]Process is already running
{"compaign_id":"36075","contact_id":"8345","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8345","uid":"u595","unique_id":"36075_8345_138-u595","ivrId":"3158","channelOTime":1742057358,"channelDTime":1742057402,"channelDuration":44,"cSTime":1742057379,"cETime":1742057402,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06207713206","server_ip":"118.185.137.196","insertTime":1742057402,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057360,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057379,"endTime":1742057402,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8345
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8345
            [uid] => u595
            [unique_id] => 36075_8345_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057358
            [channelDTime] => 1742057402
            [channelDuration] => 44
            [cSTime] => 1742057379
            [cETime] => 1742057402
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06207713206
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057402
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057360
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057379
                                    [endTime] => 1742057402
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3523
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.84000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29813.91999999791
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3523
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 281.84000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95497.04000000772
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057404
{"compaign_id":"36075","contact_id":"8374","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8374","uid":"u595","unique_id":"36075_8374_138-u595","ivrId":"3158","channelOTime":1742057392,"channelDTime":1742057408,"channelDuration":16,"cSTime":1742057399,"cETime":1742057408,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08971352107","server_ip":"118.185.137.196","insertTime":1742057408,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057394,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8374
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8374
            [uid] => u595
            [unique_id] => 36075_8374_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057392
            [channelDTime] => 1742057408
            [channelDuration] => 16
            [cSTime] => 1742057399
            [cETime] => 1742057408
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08971352107
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057408
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057394
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3525
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.0000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29813.75999999791
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3525
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.0000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95496.88000000772
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057409
{"compaign_id":"36075","contact_id":"8367","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8367","uid":"u595","unique_id":"36075_8367_138-u595","ivrId":"3158","channelOTime":1742057391,"channelDTime":1742057408,"channelDuration":17,"cSTime":1742057402,"cETime":1742057408,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07602304797","server_ip":"118.185.137.196","insertTime":1742057408,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057393,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8367
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8367
            [uid] => u595
            [unique_id] => 36075_8367_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057391
            [channelDTime] => 1742057408
            [channelDuration] => 17
            [cSTime] => 1742057402
            [cETime] => 1742057408
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07602304797
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057408
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057393
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3526
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.08000000000567
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29813.67999999791
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3526
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.08000000000567
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95496.80000000772
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057410
{"compaign_id":"36075","contact_id":"8337","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8337","uid":"u595","unique_id":"36075_8337_138-u595","ivrId":"3158","channelOTime":1742057356,"channelDTime":1742057408,"channelDuration":52,"cSTime":1742057385,"cETime":1742057408,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"07306903541","server_ip":"118.185.137.196","insertTime":1742057408,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057360,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057385,"endTime":1742057408,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8337
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8337
            [uid] => u595
            [unique_id] => 36075_8337_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057356
            [channelDTime] => 1742057408
            [channelDuration] => 52
            [cSTime] => 1742057385
            [cETime] => 1742057408
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 07306903541
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057408
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057360
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057385
                                    [endTime] => 1742057408
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3527
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.16000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29813.599999997907
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3527
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.16000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95496.72000000771
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057410
{"compaign_id":"36075","contact_id":"8394","total_duration":"3","answer_duration":3,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8394","uid":"u595","unique_id":"36075_8394_138-u595","ivrId":"3158","channelOTime":1742057396,"channelDTime":1742057410,"channelDuration":14,"cSTime":1742057407,"cETime":1742057410,"cDuration":3,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09151478117","server_ip":"118.185.137.196","insertTime":1742057410,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057400,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8394
    [total_duration] => 3
    [answer_duration] => 3
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8394
            [uid] => u595
            [unique_id] => 36075_8394_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057396
            [channelDTime] => 1742057410
            [channelDuration] => 14
            [cSTime] => 1742057407
            [cETime] => 1742057410
            [cDuration] => 3
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09151478117
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057410
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057400
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3529
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.3200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29813.439999997907
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3529
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.3200000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95496.56000000771
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057412
{"compaign_id":"36075","contact_id":"8372","total_duration":"9","answer_duration":9,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8372","uid":"u595","unique_id":"36075_8372_138-u595","ivrId":"3158","channelOTime":1742057392,"channelDTime":1742057411,"channelDuration":19,"cSTime":1742057402,"cETime":1742057411,"cDuration":9,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08809169988","server_ip":"118.185.137.196","insertTime":1742057411,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057394,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8372
    [total_duration] => 9
    [answer_duration] => 9
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8372
            [uid] => u595
            [unique_id] => 36075_8372_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057392
            [channelDTime] => 1742057411
            [channelDuration] => 19
            [cSTime] => 1742057402
            [cETime] => 1742057411
            [cDuration] => 9
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08809169988
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057411
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057394
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3530
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.40000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29813.359999997905
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3530
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.40000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95496.48000000771
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057412
{"compaign_id":"36075","contact_id":"8361","total_duration":"7","answer_duration":7,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8361","uid":"u595","unique_id":"36075_8361_138-u595","ivrId":"3158","channelOTime":1742057390,"channelDTime":1742057415,"channelDuration":25,"cSTime":1742057408,"cETime":1742057415,"cDuration":7,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08290050093","server_ip":"118.185.137.196","insertTime":1742057415,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057393,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8361
    [total_duration] => 7
    [answer_duration] => 7
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8361
            [uid] => u595
            [unique_id] => 36075_8361_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057390
            [channelDTime] => 1742057415
            [channelDuration] => 25
            [cSTime] => 1742057408
            [cETime] => 1742057415
            [cDuration] => 7
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08290050093
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057415
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057393
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3531
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.48000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29813.279999997903
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3531
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.48000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95496.4000000077
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057417
{"compaign_id":"36075","contact_id":"8357","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8357","uid":"u595","unique_id":"36075_8357_138-u595","ivrId":"3158","channelOTime":1742057389,"channelDTime":1742057416,"channelDuration":27,"cSTime":1742057392,"cETime":1742057416,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09901757474","server_ip":"118.185.137.196","insertTime":1742057416,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057392,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057392,"endTime":1742057416,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8357
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8357
            [uid] => u595
            [unique_id] => 36075_8357_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057389
            [channelDTime] => 1742057416
            [channelDuration] => 27
            [cSTime] => 1742057392
            [cETime] => 1742057416
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09901757474
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057416
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057392
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057392
                                    [endTime] => 1742057416
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3532
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.56000000000563
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29813.1999999979
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3532
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.56000000000563
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95496.3200000077
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057417
{"compaign_id":"36075","contact_id":"8382","total_duration":"5","answer_duration":5,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8382","uid":"u595","unique_id":"36075_8382_138-u595","ivrId":"3158","channelOTime":1742057394,"channelDTime":1742057420,"channelDuration":26,"cSTime":1742057415,"cETime":1742057420,"cDuration":5,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08340482551","server_ip":"118.185.137.196","insertTime":1742057420,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057396,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8382
    [total_duration] => 5
    [answer_duration] => 5
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8382
            [uid] => u595
            [unique_id] => 36075_8382_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057394
            [channelDTime] => 1742057420
            [channelDuration] => 26
            [cSTime] => 1742057415
            [cETime] => 1742057420
            [cDuration] => 5
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08340482551
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057420
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057396
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3534
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.72000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29813.0399999979
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3534
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.72000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95496.1600000077
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057421
{"compaign_id":"36075","contact_id":"8391","total_duration":"6","answer_duration":6,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8391","uid":"u595","unique_id":"36075_8391_138-u595","ivrId":"3158","channelOTime":1742057396,"channelDTime":1742057420,"channelDuration":24,"cSTime":1742057414,"cETime":1742057420,"cDuration":6,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"08088228840","server_ip":"118.185.137.196","insertTime":1742057420,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057397,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8391
    [total_duration] => 6
    [answer_duration] => 6
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8391
            [uid] => u595
            [unique_id] => 36075_8391_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057396
            [channelDTime] => 1742057420
            [channelDuration] => 24
            [cSTime] => 1742057414
            [cETime] => 1742057420
            [cDuration] => 6
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 08088228840
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057420
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057397
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3535
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.80000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29812.9599999979
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3535
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.80000000000564
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95496.0800000077
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057422
{"compaign_id":"36075","contact_id":"8377","total_duration":"24","answer_duration":24,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8377","uid":"u595","unique_id":"36075_8377_138-u595","ivrId":"3158","channelOTime":1742057393,"channelDTime":1742057424,"channelDuration":31,"cSTime":1742057400,"cETime":1742057424,"cDuration":24,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"06388537483","server_ip":"118.185.137.196","insertTime":1742057424,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057395,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057400,"endTime":1742057424,"duration":24}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8377
    [total_duration] => 24
    [answer_duration] => 24
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8377
            [uid] => u595
            [unique_id] => 36075_8377_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057393
            [channelDTime] => 1742057424
            [channelDuration] => 31
            [cSTime] => 1742057400
            [cETime] => 1742057424
            [cDuration] => 24
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 06388537483
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057424
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057395
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057400
                                    [endTime] => 1742057424
                                    [duration] => 24
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3536
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.8800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29812.8799999979
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3536
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 282.8800000000056
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95496.0000000077
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057425
{"compaign_id":"36075","contact_id":"8352","total_duration":"26","answer_duration":26,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8352","uid":"u595","unique_id":"36075_8352_138-u595","ivrId":"3158","channelOTime":1742057388,"channelDTime":1742057428,"channelDuration":40,"cSTime":1742057402,"cETime":1742057428,"cDuration":26,"status":"answered","ivrExecuteFlow":"#2,#3","recordingName":0,"receiver":"06309768318","server_ip":"118.185.137.196","insertTime":1742057428,"ivrData":{"#2":["1"],"#3":["1741679769_81"]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057390,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057402,"endTime":1742057422,"duration":20}],"#3":[{"startTime":1742057422,"endTime":1742057428,"duration":6}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8352
    [total_duration] => 26
    [answer_duration] => 26
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8352
            [uid] => u595
            [unique_id] => 36075_8352_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057388
            [channelDTime] => 1742057428
            [channelDuration] => 40
            [cSTime] => 1742057402
            [cETime] => 1742057428
            [cDuration] => 26
            [status] => answered
            [ivrExecuteFlow] => #2,#3
            [recordingName] => 0
            [receiver] => 06309768318
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057428
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                            [0] => 1
                        )

                    [#3] => Array
                        (
                            [0] => 1741679769_81
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057390
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057402
                                    [endTime] => 1742057422
                                    [duration] => 20
                                )

                        )

                    [#3] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057422
                                    [endTime] => 1742057428
                                    [duration] => 6
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3538
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 283.04000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29812.7199999979
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3538
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 283.04000000000565
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95495.8400000077
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057429
{"compaign_id":"36075","contact_id":"8396","total_duration":"8","answer_duration":8,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8396","uid":"u595","unique_id":"36075_8396_138-u595","ivrId":"3158","channelOTime":1742057397,"channelDTime":1742057428,"channelDuration":31,"cSTime":1742057420,"cETime":1742057428,"cDuration":8,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09064997820","server_ip":"118.185.137.196","insertTime":1742057428,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057400,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8396
    [total_duration] => 8
    [answer_duration] => 8
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8396
            [uid] => u595
            [unique_id] => 36075_8396_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057397
            [channelDTime] => 1742057428
            [channelDuration] => 31
            [cSTime] => 1742057420
            [cETime] => 1742057428
            [cDuration] => 8
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09064997820
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057428
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057400
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3540
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 283.2000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29812.5599999979
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3540
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 283.2000000000057
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95495.68000000769
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.08, no_of_pulse=no_of_pulse+1, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.08 WHERE user_id='sr10' LIMIT 1  

 1742057430
{"compaign_id":"36075","contact_id":"8385","total_duration":"23","answer_duration":23,"DATA":{"pb_record_id":0,"sarv_api_uniqueid":"36075_8385","uid":"u595","unique_id":"36075_8385_138-u595","ivrId":"3158","channelOTime":1742057395,"channelDTime":1742057431,"channelDuration":36,"cSTime":1742057408,"cETime":1742057431,"cDuration":23,"status":"answered","ivrExecuteFlow":"#2","recordingName":0,"receiver":"09546327037","server_ip":"118.185.137.196","insertTime":1742057431,"ivrData":{"#2":[]},"ivrAgentCallDuration":[],"ivrAgentRecording":[],"ringStartTime":1742057397,"tts_broadcasting":1,"currentRetryCount":0,"retryCount":{"unanswered":0,"busy":0,"congestion":0,"other":0},"retryStatusHistory":[],"callerId":"07447141623","ivrCallDuration":{"#2":[{"startTime":1742057408,"endTime":1742057431,"duration":23}]},"callType":"obd","process":0,"duration":0,"mix_broadcasting_ivr":1}}
Array
(
    [compaign_id] => 36075
    [contact_id] => 8385
    [total_duration] => 23
    [answer_duration] => 23
    [DATA] => Array
        (
            [pb_record_id] => 0
            [sarv_api_uniqueid] => 36075_8385
            [uid] => u595
            [unique_id] => 36075_8385_138-u595
            [ivrId] => 3158
            [channelOTime] => 1742057395
            [channelDTime] => 1742057431
            [channelDuration] => 36
            [cSTime] => 1742057408
            [cETime] => 1742057431
            [cDuration] => 23
            [status] => answered
            [ivrExecuteFlow] => #2
            [recordingName] => 0
            [receiver] => 09546327037
            [server_ip] => 118.185.137.196
            [insertTime] => 1742057431
            [ivrData] => Array
                (
                    [#2] => Array
                        (
                        )

                )

            [ivrAgentCallDuration] => Array
                (
                )

            [ivrAgentRecording] => Array
                (
                )

            [ringStartTime] => 1742057397
            [tts_broadcasting] => 1
            [currentRetryCount] => 0
            [retryCount] => Array
                (
                    [unanswered] => 0
                    [busy] => 0
                    [congestion] => 0
                    [other] => 0
                )

            [retryStatusHistory] => Array
                (
                )

            [callerId] => 07447141623
            [ivrCallDuration] => Array
                (
                    [#2] => Array
                        (
                            [0] => Array
                                (
                                    [startTime] => 1742057408
                                    [endTime] => 1742057431
                                    [duration] => 23
                                )

                        )

                )

            [callType] => obd
            [process] => 0
            [duration] => 0
            [mix_broadcasting_ivr] => 1
        )

)
 

 --------------------------------------------- 

  

 IVR ID FOUND 

 user mapped data : {"user_id":"u595","ivr_id":"3158","recording_name":"API","dtmf_node":"#2","call_transfer_node":""}

 
 user mapped data arr : Array
(
    [user_id] => u595
    [ivr_id] => 3158
    [recording_name] => API
    [dtmf_node] => #2
    [call_transfer_node] => 
)


 final call transfer node duration with node : Array
(
)
 

 SELECT * FROM voice_compaign_summary WHERE compaign_id='36075' LIMIT 1 

 summary found \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168458
    [user_id] => u595
    [user_type] => user
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3541
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 283.28000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => u595
    [user_type] => user
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 29812.479999997897
    [total_voice_amount] => 30100
    [voice_amount_validity] => 1765812275
    [create_date] => 1741611266
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 1047
    [user_id] => u595
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 0
    [create_date] => 1741613442
    [create_by] => sr10
    [update_date] => 0
    [update_by] => 
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168458 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='u595' LIMIT 1  

 \N\R INVOICE FOUND &&&&&&&&&&&& 
Array
(
    [id] => 168459
    [user_id] => sr10
    [user_type] => superreseller
    [compaign_id] => 36075
    [plan_type] => answered
    [no_of_pulse] => 3541
    [pulse] => 15
    [pulse_rate] => 0.08
    [amount] => 283.28000000000566
    [type] => D
    [create_date] => 1742041923
    [hit_count] => 1
    [compaign_delete] => 0
)
\N\R VOICE CREDIT  FOUND &&&&&&&&&&&& 
Array
(
    [user_id] => sr10
    [user_type] => superreseller
    [pulse] => 30
    [normal_rate] => -1
    [hits_rate] => 
    [answered_rate] => -1
    [seconds_rate] => -1
    [max_allowed_hits] => 0
    [voice_amount] => 95495.60000000769
    [total_voice_amount] => 1914534
    [voice_amount_validity] => 1773314679
    [create_date] => 1699090344
)
\N\R USER VOICE PLAN  FOUND &&&&&&&&&&&& 
Array
(
    [id] => 43
    [user_id] => sr10
    [voice_plan_id] => 7
    [pulse] => 15
    [pulse_rate] => 0.08
    [real_pulsing] => 1
    [create_date] => 1699258128
    [create_by] => admin
    [update_date] => 1737617014
    [update_by] => admin
    [status] => 1
)


 update query 

UPDATE voice_compaign_credit_invoices SET amount=amount+0.16, no_of_pulse=no_of_pulse+2, pulse=15, pulse_rate=0.08 WHERE id=168459 LIMIT 1  

 UPDATE `voice_sms_credit_info` SET `voice_amount`=`voice_amount`-0.16 WHERE user_id='sr10' LIMIT 1  

 1742057433
2025-03-15 22:21:01[LOG]Starting Cron
2025-03-15 22:21:01[LOG]Process is already running
2025-03-15 22:22:02[LOG]Starting Cron

Kill Existing Process : 807920
1742057522
2025-03-15 22:23:02[LOG]Starting Cron

Kill Existing Process : 813489
1742057582
2025-03-15 22:24:02[LOG]Starting Cron

Kill Existing Process : 813977
1742057642
2025-03-15 22:25:01[LOG]Starting Cron

Kill Existing Process : 814514
1742057701
2025-03-15 22:26:02[LOG]Starting Cron

Kill Existing Process : 815028
1742057762
2025-03-15 22:27:03[LOG]Starting Cron

Kill Existing Process : 815529
1742057823
2025-03-15 22:28:02[LOG]Starting Cron

Kill Existing Process : 816052
1742057882
2025-03-15 22:29:01[LOG]Starting Cron

Kill Existing Process : 816551
1742057941
2025-03-15 22:30:02[LOG]Starting Cron

Kill Existing Process : 817049
1742058002
2025-03-15 22:31:02[LOG]Starting Cron

Kill Existing Process : 817491
1742058062
2025-03-15 22:32:02[LOG]Starting Cron

Kill Existing Process : 817911
1742058122
2025-03-15 22:33:01[LOG]Starting Cron

Kill Existing Process : 818334
1742058181
2025-03-15 22:34:02[LOG]Starting Cron

Kill Existing Process : 818733
1742058242
2025-03-15 22:35:02[LOG]Starting Cron

Kill Existing Process : 819161
1742058302
2025-03-15 22:36:01[LOG]Starting Cron

Kill Existing Process : 819583
1742058361
2025-03-15 22:37:02[LOG]Starting Cron

Kill Existing Process : 820006
1742058422
2025-03-15 22:38:02[LOG]Starting Cron

Kill Existing Process : 820424
1742058482
2025-03-15 22:39:01[LOG]Starting Cron

Kill Existing Process : 820840
1742058541
2025-03-15 22:40:02[LOG]Starting Cron

Kill Existing Process : 821294
1742058602
2025-03-15 22:41:01[LOG]Starting Cron

Kill Existing Process : 821720
1742058661
2025-03-15 22:42:02[LOG]Starting Cron

Kill Existing Process : 822120
1742058722
2025-03-15 22:43:03[LOG]Starting Cron

Kill Existing Process : 822515
1742058783
2025-03-15 22:44:02[LOG]Starting Cron

Kill Existing Process : 822951
1742058842
2025-03-15 22:45:02[LOG]Starting Cron

Kill Existing Process : 823358
1742058902
2025-03-15 22:46:02[LOG]Starting Cron

Kill Existing Process : 823800
1742058962
2025-03-15 22:47:02[LOG]Starting Cron

Kill Existing Process : 824213
1742059022
2025-03-15 22:48:01[LOG]Starting Cron

Kill Existing Process : 824640
1742059081
2025-03-15 22:49:02[LOG]Starting Cron

Kill Existing Process : 825060
1742059142
2025-03-15 22:50:01[LOG]Starting Cron

Kill Existing Process : 825454
1742059201
2025-03-15 22:51:02[LOG]Starting Cron

Kill Existing Process : 825903
1742059262
2025-03-15 22:52:01[LOG]Starting Cron

Kill Existing Process : 826314
1742059321
2025-03-15 22:53:02[LOG]Starting Cron

Kill Existing Process : 826729
1742059382
2025-03-15 22:54:01[LOG]Starting Cron

Kill Existing Process : 827157
1742059441
2025-03-15 22:55:02[LOG]Starting Cron

Kill Existing Process : 827583
1742059502
2025-03-15 22:56:02[LOG]Starting Cron

Kill Existing Process : 828003
1742059562
2025-03-15 22:57:02[LOG]Starting Cron

Kill Existing Process : 828376
1742059622
2025-03-15 22:58:01[LOG]Starting Cron

Kill Existing Process : 828845
1742059681
2025-03-15 22:59:02[LOG]Starting Cron

Kill Existing Process : 829236
1742059742
2025-03-15 23:00:02[LOG]Starting Cron

Kill Existing Process : 829665
1742059802
2025-03-15 23:01:02[LOG]Starting Cron

Kill Existing Process : 830110
1742059862
2025-03-15 23:02:02[LOG]Starting Cron

Kill Existing Process : 830541
1742059922
2025-03-15 23:03:02[LOG]Starting Cron

Kill Existing Process : 830968
1742059982
2025-03-15 23:04:02[LOG]Starting Cron

Kill Existing Process : 831387
1742060042
2025-03-15 23:05:01[LOG]Starting Cron

Kill Existing Process : 831798
1742060101
2025-03-15 23:06:02[LOG]Starting Cron

Kill Existing Process : 832240
1742060162
2025-03-15 23:07:02[LOG]Starting Cron

Kill Existing Process : 832658
1742060222
2025-03-15 23:08:02[LOG]Starting Cron

Kill Existing Process : 833063
1742060282
2025-03-15 23:09:02[LOG]Starting Cron

Kill Existing Process : 833487
1742060342
2025-03-15 23:10:02[LOG]Starting Cron

Kill Existing Process : 833967
1742060402
2025-03-15 23:11:01[LOG]Starting Cron

Kill Existing Process : 834340
1742060462
2025-03-15 23:12:03[LOG]Starting Cron

Kill Existing Process : 834804
1742060523
2025-03-15 23:13:01[LOG]Starting Cron

Kill Existing Process : 835202
1742060581
2025-03-15 23:14:02[LOG]Starting Cron

Kill Existing Process : 835645
1742060642
2025-03-15 23:15:01[LOG]Starting Cron

Kill Existing Process : 836050
1742060701
2025-03-15 23:16:02[LOG]Starting Cron

Kill Existing Process : 836491
1742060762
2025-03-15 23:17:03[LOG]Starting Cron

Kill Existing Process : 836911
1742060823
2025-03-15 23:18:02[LOG]Starting Cron

Kill Existing Process : 837308
1742060882
2025-03-15 23:19:01[LOG]Starting Cron

Kill Existing Process : 837753
1742060941
2025-03-15 23:20:02[LOG]Starting Cron

Kill Existing Process : 838186
1742061002
2025-03-15 23:21:01[LOG]Starting Cron

Kill Existing Process : 838596
1742061061
2025-03-15 23:22:02[LOG]Starting Cron

Kill Existing Process : 839022
1742061122
2025-03-15 23:23:01[LOG]Starting Cron

Kill Existing Process : 839445
1742061181
2025-03-15 23:24:02[LOG]Starting Cron

Kill Existing Process : 839853
1742061242
2025-03-15 23:25:01[LOG]Starting Cron

Kill Existing Process : 840286
1742061301
2025-03-15 23:26:02[LOG]Starting Cron

Kill Existing Process : 840724
1742061362
2025-03-15 23:27:01[LOG]Starting Cron

Kill Existing Process : 841144
1742061421
2025-03-15 23:28:02[LOG]Starting Cron

Kill Existing Process : 841566
1742061482
2025-03-15 23:29:01[LOG]Starting Cron

Kill Existing Process : 841974
1742061541
2025-03-15 23:30:02[LOG]Starting Cron

Kill Existing Process : 842395
1742061602
2025-03-15 23:31:02[LOG]Starting Cron

Kill Existing Process : 842793
1742061662
2025-03-15 23:32:03[LOG]Starting Cron

Kill Existing Process : 843263
1742061723
2025-03-15 23:33:02[LOG]Starting Cron

Kill Existing Process : 843691
1742061782
2025-03-15 23:34:02[LOG]Starting Cron

Kill Existing Process : 844102
1742061842
2025-03-15 23:35:02[LOG]Starting Cron

Kill Existing Process : 844526
1742061902
2025-03-15 23:36:02[LOG]Starting Cron

Kill Existing Process : 844951
1742061962
2025-03-15 23:37:01[LOG]Starting Cron

Kill Existing Process : 845350
1742062021
2025-03-15 23:38:02[LOG]Starting Cron

Kill Existing Process : 845794
1742062082
2025-03-15 23:39:02[LOG]Starting Cron

Kill Existing Process : 846211
1742062142
2025-03-15 23:40:02[LOG]Starting Cron

Kill Existing Process : 846665
1742062202
2025-03-15 23:41:03[LOG]Starting Cron

Kill Existing Process : 847092
1742062263
2025-03-15 23:42:02[LOG]Starting Cron

Kill Existing Process : 847504
1742062322
2025-03-15 23:43:01[LOG]Starting Cron

Kill Existing Process : 847923
1742062381
2025-03-15 23:44:02[LOG]Starting Cron

Kill Existing Process : 848351
1742062442
2025-03-15 23:45:02[LOG]Starting Cron

Kill Existing Process : 848763
1742062502
2025-03-15 23:46:02[LOG]Starting Cron

Kill Existing Process : 849182
1742062562
2025-03-15 23:47:02[LOG]Starting Cron

Kill Existing Process : 849603
1742062622
2025-03-15 23:48:02[LOG]Starting Cron

Kill Existing Process : 850033
1742062682
2025-03-15 23:49:01[LOG]Starting Cron

Kill Existing Process : 850413
1742062741
2025-03-15 23:50:03[LOG]Starting Cron

Kill Existing Process : 850824
1742062803
2025-03-15 23:51:01[LOG]Starting Cron

Kill Existing Process : 851296
1742062861
2025-03-15 23:52:02[LOG]Starting Cron

Kill Existing Process : 851661
1742062922
2025-03-15 23:53:01[LOG]Starting Cron

Kill Existing Process : 852116
1742062981
2025-03-15 23:54:02[LOG]Starting Cron

Kill Existing Process : 852551
1742063042
2025-03-15 23:55:01[LOG]Starting Cron

Kill Existing Process : 852974
1742063101
2025-03-15 23:56:02[LOG]Starting Cron

Kill Existing Process : 853390
1742063162
2025-03-15 23:57:02[LOG]Starting Cron

Kill Existing Process : 853808
1742063222
2025-03-15 23:58:02[LOG]Starting Cron

Kill Existing Process : 854237
1742063282
2025-03-15 23:59:02[LOG]Starting Cron

Kill Existing Process : 854650
1742063342